MUX.New()

<< Click to Display Table of Contents >>

Navigation:  Explain™ Control Language  > Library Routines > Instrument classes > class MUX >

MUX.New()

Description

Create a new Mux object.

 

This object is a software construct that must be associated with a physical Multiplexer before it is useful.

 

Similar to class PSTAT objects, a Mux object does not need to be associated with specific Multiplexer hardware when MUX.New() is called. If a system contains more than one Multiplexer, the user can select among the available Multiplexers in the Setup() function's dialog box.

 

The associated Multiplexer is identified by a MuxNo variable.

 

Type

CLASS FUNCTION

 

Usage

MUX.New(Tag, MuxNo, Prompt)

 

Tag

STRING

Used in Save/Restore, File Output to identify and label the Mux object.

MuxNo

INDEX

Indicates which physical Multiplexer is associated with the Mux object. Range is 1 to 4.

NIL

Indicates no Multiplexer associated yet. The Multiplexer is selected in Setup().

Prompt

STRING

Used in Setup() to identify the Multiplexer selection line.