6 - Language Dictionary
100
cfSetShutdownDelay
Syntax
int cfSetShutdownDelay(CF_HANDLE server, float delay);
Description
Sets the delay between the assertion of a true signal at a CF_POWER_FAIL_IN input and the
start of an Agilent MCCD shutdown when the shutdown mode has been set to CF_AUTO. If the
shutdown mode has been set to CF_MANUAL, the delay has no effect.
The power-on setting for cfSetShutdownDelay is 60 seconds.
cfSetShutdownMode
Syntax
int cfSetShutdownMode(CF_HANDLE server, int mode);
Description
Sets the shutdown mode to CF_AUTO or CF_MANUAL. When set to CF_AUTO, a true signal
on the CF_POWER_FAIL_IN input causes the Agilent MCCD to execute a shutdown after the
shutdown delay has elapsed if a valid restart state does not already exist. When set to
CF_MANUAL, the Agilent MCCD does not execute a shutdown in response to a true
CF_POWER_FAIL_IN input; however, it still reports the input state in the
CF_POWER_FAIL_STAT bit of instrument status.
The Agilent MCCD will not automatically save a restart state if a previously saved state still
exists. Restart states are deleted on cfInitiate and cfRestart. The existence of a restart state can be
queried by testing the CF_RESTART bit of the status returned from cfGetInstStatus.
The power-on setting for cfSetShutdownMode is CF_MANUAL.
cfSetTimeout
Syntax
int cfSetTimeout(float timeout);
Description
Sets the maximum time in seconds that the client will wait for a response from an Agilent MCCD
server. The default timeout value if not explicitly set is 30 seconds.
cfSetTrigSource
Syntax
int cfSetTrigSource(CF_HANDLE server, CF_TRIG_SOURCE source);
Description
Sets the sequence trigger source to CF_LAN or CF_EXTERNAL. When set to CF_LAN, a
forming sequence in can be triggered using cfTrigger. When set to CF_EXTERNAL, a forming
sequence is triggered by a true signal on the digital input which is mapped into External Trigger.
The server argument can be either a handle to a group obtained by cfOpenGroup, or a handle to
all cells in the instrument if no groups are defined.
The power-on setting for cfSetTrigSource is CF_LAN.