Mux.Open()

<< Click to Display Table of Contents >>

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

Mux.Open()

Description

Acquire the use of a Multiplexer.

 

The Multiplexer associated with the Mux object must be connected and operational when this function is called.

 

This function must be called prior to calling any other Mux object functions.

 

Mux.Open() also initializes the Multiplexer hardware to the following settings:

All channels are turned off.

The Offmode for all channels is set to open.

All channel DACs are set to 0.000 volts.

 

Mux.Open(FALSE) initializes the Multiplexer hardware without changing the above settings.

 

Mux.Open() can fail for a variety of reasons. These include:

Invalid MuxNumber setting.

Multiplexer not configured in Gamry.INI file.

Multiplexer not operational (power must be on).

RS-232 communications failed (wrong baud rate, no cable etc.).

 

Type

INSTANCE FUNCTION

 

Usage

Status = Mux.Open()

 

Status

BOOL

Success flag:

TRUE = Multiplexer opened OK.

FALSE = function failed.