beautypg.com

Cilxs_configuresynchronizationsource – AMETEK Ls Series Driver Manual User Manual

Page 78

background image

IVI Driver Manual

Lx / Ls Series

74

ciLxs_ConfigureSynchronizationSource


ViStatus ciLxs_ConfigureSynchronizationSource
(ViSession instrumentHandle, ViInt32 source);

Purpose

This function selects the synchronizing trigger source in generating a
step, pulse, or list.

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 synchronizing trigger source in generating a step, pulse, or
list output. The driver sets the
CILXS_ATTR_TRIGGER_SYNCHRONIZATION_SOURCE attribute to this value.

Defined Values:

CILXS_VAL_SYNCHRONIZATION_SOURCE_IMMEDIATE - Starts the transient
output immediately, unless a delay time other than 0 has been
specified by ciLxs_ConfigureTriggerDelay function. In this case the
transient output starts after the expiration of the delay time.

CILXS_VAL_SYNCHRONIZATION_SOURCE_PHASE - starts the transient output
at the reference phase set by ciLxs_ConfigureSynchronizationPhase
function.

Default Value: CILXS_VAL_SYNCHRONIZATION_SOURCE_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

This manual is related to the following products: