MULTIPARAM.New()

<< Click to Display Table of Contents >>

Navigation:  Explain™ Control Language  > Library Routines > Data and Text classes > class MULTIPARAM >

MULTIPARAM.New()

Description

Create and initialize a new Multiparam object.

 

Example Input which is used for related Multiparam functions:

 

Tag = “DISCHARGEMODE”

Desc1 = VectorNew(3)

Desc1 [0] = “Constant Current”

Desc1 [1] = “Constant Resistance”

Desc1 [2] = “Constant Power”

Desc2= VectorNew(3)

Desc2 [0] = “A”

Desc2 [1] = “ohm”

Desc2 [2] = “W”

Index = 0

Value = 1.0

Prompt = “Discharge Mode”

 

Type

CLASS FUNCTION

 

Usage

MyVariable = MULTIPARAM.New (Tag, Desc1, Desc2, Index, Value, Prompt)

 

Tag

STRING

Unique identifier.

Desc1

VECTOR

VECTOR of STRING containing the user selections.

Desc2

VECTOR

VECTOR of STRING containing the extra description which is displayed when the user switches the selection.

Index

INDEX

Initial selection of the Multiparam.

Value

REAL

Initial value of the Multiparam.

Prompt

STRING

Used by Setup() to prompt operator input.

MyVariable

MULTIPARAM

The initialized object.