www.vtiinstruments.com
EX10xxA Function Calls 161
vtex10xxA_get_dio_limit_event
FUNCTION PROTOTYPE
ViStatus vtex10xxA_get_dio_limit_event(ViSession vi, ViInt16 dio_channel, ViInt16 limit_masks[]);
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.
dio_channel = the channel of the digital I/O port for which the DIO limit event status is desired. Value must be an
integer in the range of 0 to 7.
limit_masks = a return array of 48 4-bit integer values representing, on a per input channel basis, the linking of limit
evaluations to any of the four limit conditions. Within the 4-bit field, the order of the values is: limit set 0 lower,
limit set 0 upper, limit set 1 lower, limit set 1 upper. Channel 0 through channel 47 are represented in array elements
[0] through [47], respectively. Valid return values for the array elements of the limit masks parameter: 0 through 15.
DATA ITEM RESET VALUE
Not applicable to this function.
DESCRIPTION
This function returns the enabled DIO limit events.
EXAMPLE