VTI Instruments Corp.
238
EX10xxA/RX1032/EX1044 Function Calls
vtex10xxA_set_dio_output_enable
F
UNCTION
P
ROTOTYPE
ViStatus vtex10xxA_set_dio_output_enable(ViSession
vi
, ViInt32
out_enable
);
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.
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 DIO channel 7 and the LSB corresponds to DIO channel 0. Valid input values: 0 through 255
(decimal), 0x00 through 0xFF (hexadecimal).
D
ATA
I
TEM
R
ESET
V
ALUE
dio_enable
= 0
D
ESCRIPTION
This function enables or disables the output functionality of each channel of the digital I/O port. Input functionality
on each channel is constant regardless of its output functionality.
E
XAMPLE
// set DIO bit 7 (high) and DIO bit 6 (low)
vtex10xxA_set_dio_output(vi, 0x80);
// enable them as outputs
vtex10xxA_set_dio_output_enable(vi, 0xC0);
Содержание 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: ......