EasyManua.ls Logo

VTI Instruments EX1000A - Vtex10 Xxa_Get_Vtb_Output_Enable

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...
www.vtiinstruments.com
EX10xxA Function Calls 199
vtex10xxA_get_vtb_output_enable
FUNCTION PROTOTYPE
ViStatus vtex10xxA_get_vtb_output_enable(ViSession vi, ViPInt32 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 = an integer output value in decimal that represents the 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 return values: 0 through 255.
DATA ITEM RESET VALUE
Not applicable to this function.
DESCRIPTION
This function returns the output enable state of the trigger bus.
EXAMPLE
// query status of VTB bit 4
ViInt32 vtb_out;
ViInt32 vtb_outen;
vtex10xxA_get_vtb_output(vi, &vtb_out);
vtex10xxA_get_vtb_output_enable(vi, &vtb_outen);
if (vtb_out & 0x10)
printf(“Bit 4 is set high”);
else printf(“Bit 4 is set low”);
if (vtb_outen & 0x10)
printf(“Bit 4 is enabled”);
else printf(“Bit 4 is not enabled”);

Table of Contents

Related product manuals