beautypg.com

Cilxs_storerecallregister – AMETEK Ls Series Driver Manual User Manual

Page 261

background image

IVI Driver Manual

Lx / Ls Series

257

ciLxs_StoreRecallRegister


ViStatus ciLxs_StoreRecallRegister (ViSession instrumentHandle,
ViBoolean command,
ViInt16 registers);

Purpose

This function saves and recalls up to 8 settings of the AC source
(register 0 through 7). The Recall command restores all of the saved
states except the trigger system, which is set to the Idle state by an
implied Abort Trigger command.

WARNING: Recalling a previously stored state may place hazardous voltages
at the AC source output.

Parameter List

instrumentHandle

Variable Type ViSession

The ViSession handle that you obtain from the ciLxs_init or

ciLxs_InitWithOptions function. The handle identifies a particular
instrument session.

Default Value: None


command

Variable Type ViBoolean

Selects Recall or Store command.

0 - for saving register
1 - for recalling register

registers

Variable Type ViInt16

Selects the register number (0 through 7).

Return Value

Returns the status code of this operation. The status code either
indicates success or describes an error or warning condition. You
examine the status code from each call to an instrument driver
function to determine if an error occurred.

To obtain a text description of the status code, call the
ciLxs_error_message function. To obtain additional information about
the error condition, call the ciLxs_GetError function. To clear the
error information from the driver, call the ciLxs_ClearError
function.

This manual is related to the following products: