3156B User Manual
Programming Reference 5-22
Racal Instrument © 2005
ri3156b_set(query)_enable_source
Description
This panel is used for enabling or disabling output waveforms. Set Output ON is required to have the signal
connected to the output connector. Channel Dependency: Common
C Syntax
ViStatus ri3156b_set_enable_source (ViSession instrHandle, ViInt16 enableSource)
ViStatus ri3156b_query_enable_source (ViSession instrHandle, ViInt16
*
enableSource)
Parameters
Name
Variable
Type
Description
instrHandle
ViSession
The Instrument Handle is used to identify the unique
session or communication channel between the driver
and the instrument. If more than one instrument of the
model type is used, this will be used to differentiate
between them. Note that the initialize function may be
used to associate multiple instrument handles with a
single instrument.
enableSource
ViInt16
Enables This switch defines the source for the operation
enable signal. Note that possible setting conflicts could
occur if you set up illegal combination of operating mode,
run mode and operate enable source. Possible setting
conflicts are listed in chapter 3
Valid Range: 0-2
0 Output enable command is expected as a software
command - Set Enable ON
1 Output enable command is expected from one of the
following: front panel TRIG IN, TTLTRG(n), or
ECLTRG0. The active trigger input is set using the
Set Trigger Source command
2 First output cycle is initiated using the Set Output ON
command, subsequent output cycles are initiated
using one of the following: front panel TRIG IN,
TTLTRG(n), or ECLTRG0. The active trigger input is
set using the Set Trigger Source command
Default Value: 0
Return Values
Displays the return status of the function call. If the function was successful, it will return a status of
VI_SUCCESS, otherwise it will return an error code. Passing the error code into the function
"ri3156B_error_message()" will return a string describing the error.