ECM8.Open()

<< Click to Display Table of Contents >>

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

ECM8.Open()

Description

Acquire the use of an ECM8.

 

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

 

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

 

ECM8.Open() also initializes the ECM8 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.

 

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

 

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

Invalid ECM8Number setting.

ECM8 not configured in Gamry.INI file.

ECM8 not operational (power must be on).

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

 

Type

INSTANCE FUNCTION

 

Usage

Status = ECM8.Open()

 

Status

BOOL

Success flag:

TRUE = ECM8 opened OK.

FALSE = function failed.