Cilxs_configuretriggersource – AMETEK Ls Series Driver Manual User Manual
Page 113

IVI Driver Manual
Lx / Ls Series
109
ciLxs_ConfigureTriggerSource
ViStatus ciLxs_ConfigureTriggerSource (ViSession instrumentHandle,
ViInt32 source);
Purpose
This function configures the trigger source for the first sequence in
generating a step, pulse, or list 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
source
Variable Type ViInt32
Pass the trigger source to which you want the power supply to
respond. The driver sets the CILXS_ATTR_TRIGGER_SOURCE attribute to
this value.
Defined Values:
CILXS_VAL_TRIG_IMMEDIATE - The power supply does not wait for a
trigger of any kind.
CILXS_VAL_TRIG_EXTERNAL - The power supply waits for a trigger on the
external trigger input.
CILXS_VAL_SOFTWARE_TRIG - The power supply waits until you call the
ciLxs_SendSoftwareTrigger function.
Default Value: CILXS_VAL_TRIG_IMMEDIATE
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.