VTI Instruments Corp.
152 EX10xxA/RX1032/EX1044 Function Calls
vtex10xxA_get_arm_source
FUNCTION PROTOTYPE
ViStatus vtex10xxA_get_arm_source(vi, ViInt16 vtb_masks[], ViInt16 dio_masks[], ViPBoolean timer_enable,
ViPBoolean immediate);
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 arm events from the 8
channels of the trigger bus. The order of the values is: positive edge, negative edge, positive level, negative level.
Within the 8-bit field, the MSB corresponds to VTB channel 7 and the LSB corresponds to VTB channel 0. Valid
return values: 0 through 255.
dio_masks[] = a return array of four 8-bit integer values representing the enabled state of arm events from the 8
channels of the digital I/O port. The order of the values is: positive edge, negative edge, positive level, negative
level. Within the 8-bit field, the MSB corresponds to DIO channel 7 and the LSB corresponds to DIO channel 0.
Valid return values: 0 through 255.
timer_enable = a Boolean value indicating whether the timer is enabled as an arm event. If a “1” is returned for this
parameter, the timer can act as an arm event. If a “0” is returned, the timer is not a valid arm event.
immediate = a Boolean value indicating whether immediate is enabled as an arm event. If a “1” is returned for this
parameter, an immediate arm is enabled. If a “0” is returned, an immediate arm is disabled.
DATA ITEM RESET VALUE
Not applicable to this function.
DESCRIPTION
This function returns the enabled arm source events.
EXAMPLE