www.vtiinstruments.com
EX10xxA Function Calls
239
vtex10xxA_set_dio_pulse
F
UNCTION
P
ROTOTYPE
ViStatus vtex10xxA_set_dio_pulse(ViSession
vi
, ViInt32
dio_pulse
);
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.
dio_pulse
= the value that represents the channels to be pulsed within 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
Not applicable to this function.
D
ESCRIPTION
This function generates a 1 µs pulse on selected channels of the digital I/O port. The pulse will occur only if the
selected channels are enabled as outputs. When a channel is programmed with a static level of high, the pulse will be
low-going. When a channel is programmed with a static level of low, the pulse will be high-going.
E
XAMPLE
// set DIO bit 7 low and then pulse high
vtex10xxA_set_dio_output(vi, 0x00);
vtex10xxA_set_dio_output_enable(vi, 0x80);
vtex10xxA_set_dio_pulse(vi, 0x80);
Summary of Contents for EX1000A
Page 28: ...VTI Instruments Corp 28 EX10xxA Introduction EX1044 DIAGRAM ...
Page 29: ...www vtiinstruments com EX10xxA Introduction 29 FIGURE 1 5 EX1044 TABLE TOP USAGE ...
Page 34: ......
Page 56: ......
Page 74: ......
Page 130: ......
Page 282: ......