VTI Instruments Corp.
198
EX10xxA/RX1032/EX1044 Function Calls
vtex10xxA_get_vtb_output
F
UNCTION
P
ROTOTYPE
vtex1048_get_vtb_output(ViSession
vi
,
ViPInt32 vtb_out
);
F
UNCTION
P
ARAMETERS
vi
= contains a session handle to the instrument. This handle is obtained by the function and remains valid until the
session is closed.
vtb_out
= an integer output value in decimal that represents the programmed output 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.
D
ATA
I
TEM
R
ESET
V
ALUE
Not applicable to this function.
D
ESCRIPTION
This function returns the programmed output state of the trigger bus. This simply returns the programmed setting.
Since the outputs must be enabled, it does not necessarily represent the true output state.
E
XAMPLE
// 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”);
Содержание EX1000A
Страница 25: ...www vtiinstruments com EX10xxA Introduction 25 FIGURE 1 2 RACKMOUNT HARDWARE INSTALLATION DIAGRAM ...
Страница 27: ...www vtiinstruments com EX10xxA Introduction 27 FIGURE 1 4 ISOMETRIC AND INTERNAL CJC PLATE DIAGRAM ...
Страница 28: ...VTI Instruments Corp 28 EX10xxA Introduction EX1044 DIAGRAM ...
Страница 29: ...www vtiinstruments com EX10xxA Introduction 29 FIGURE 1 5 EX1044 TABLE TOP USAGE ...
Страница 34: ......
Страница 56: ......
Страница 74: ......
Страница 130: ......
Страница 282: ......