EasyManua.ls Logo

VTI Instruments EX1000A - Vtex10 Xxa_Get_Trigger_Sourceex

VTI Instruments EX1000A
320 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
VTI Instruments Corp.
192 EX10xxA/RX1032/EX1044 Function Calls
vtex10xxA_get_trigger_sourceEx
FUNCTION PROTOTYPE
ViStatus _VI_FUNC vtex10xxA_get_trigger_sourceEx( ViSession vi, ViInt16 vtb_masks[], ViInt16 dio_masks[],
ViInt16 lan_masks[], ViPBoolean timer, ViPBoolean immediate, ViBoolean alarm);
FUNCTION PARAMETERS
vi = contains a session handle to the instrument. This handle is obtained by the function and remains valid until the
session is closed.
vtb_masks = a return array of four 8-bit integer values representing the enabled state of trigger events from the eight
channels of the trigger bus. Within the 8-bit field, the MSB corresponds to VTB channel 7 and the LSB corresponds
to VTB channel 0. Valid input values: 0 through 255.
dio_masks = a return array of four 8-bit integer values representing the enabled state of trigger events from the eight
channels of the digital I/O port. Within the 8-bit field, the MSB corresponds to DIO channel 7 and the LSB
corresponds to DIO channel 0. Valid input values: 0 through 255.
lan_masks = an array of four 8-bit integer values representing the enabling of LAN events from any of the eight
LAN events. Within the 8-bit field, the MSB corresponds to LAN 7 and the LSB corresponds to LAN 0. Valid input
values: 0 (0x00h) through 255 (0xFFh).
timer_enable = a Boolean value indicating whether the timer is enabled as a trigger event. If a “1” is returned for
this parameter, the timer is enabled as a trigger. If a “0” is returned for this parameter, timer triggering is disabled.
immediate = a Boolean value indicating whether immediate is enabled as a trigger event. If a “1” is returned for this
parameter, immediate triggering is enabled. If a “0” is returned for this parameter, immediate triggering is disabled.
alarm = a Boolean value indicating whether the LXI alarm is used as an ARM event. If a “1” is returned for this
parameter, the LXI alarm can act as an arm event. If a “0” is returned, the LXI alarm is not a valid arm event.
DATA ITEM RESET VALUE
Not applicable to this function.
DESCRIPTION
This function returns the enabled trigger source events. Regardless of the response, software triggers are always
enabled. For the vtb_masks, dio_masks, and lan_masks parameters, the data items in these arrays are ordered as
follows: positive edge, negative edge, positive level, negative level. For the lan_masks parameter, however, the
positive and negative level are not supported with LAN events and these bits are ignored.
NOTE This function supersedes the vtex1048_get_trigger_source () function found in the EX1048A.
EXAMPLE

Table of Contents

Related product manuals