www.vtiinstruments.com
EX10xxA Function Calls 265
vtex10xxA_set_vtb_output_enable
FUNCTION PROTOTYPE
vtex1048_set_vtb_output_enable(ViSession vi, ViInt32 out_enable);
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.
out_enable = the value that represents the desired output enable state of the 8-bit port. Within the 8-bit field, the
MSB corresponds to LXI Trigger Bus (VTB) channel 7 and the LSB corresponds to LXI Trigger Bus (VTB)
channel 0. Valid input values: 0 through 255 (decimal), 0x00 through 0xFF (hexadecimal).
DATA ITEM RESET VALUE
out_enable = 0
DESCRIPTION
This function enables or disables the output functionality of each channel of the trigger bus. Input functionality on
each channel is constant regardless of its output functionality.
EXAMPLE
// set VTB bit 7 (high) and VTB bit 6 (low)
vtex10xxA_set_vtb_output(vi, 0x80);
// enable them as outputs
vtex10xxA_set_vtb_output_enable(vi, 0xC0);