www.vtiinstruments.com
EX1629 Command Set
231
vtex1629_send_dio_pulse
F
UNCTION
P
ROTOTYPE
ViStatus vtex1629_send_dio_pulse (ViSession
vi
, ViInt32
dioPulse
);
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.
dioPulse
= a bit mask which instructs the instrument to send a pulse on the specified DIO channels. The low 16 bits
map to the 16 DIO channels. The upper 16 bits are ignored.
D
ATA
I
TEM
R
ESET
V
ALUE
Not applicable to this function.
D
ESCRIPTION
This function sends a pulse out on the selected DIO channels.
bank one
channel #
bank zero
dioOut
15
0
14
0
13
0
12
0
11
0
10
0
9
0
8
0
7
0
6
0
5
0
4
0
3
0
2
0
1
0
0
0
The upper 16-bits will always be zero.
For example, to issue pulses on DIO lines 0 and 8 (assuming both backs are configured for output:
dioPulse
= 49164 → 0x00000101 → 00000001 00000001b
Pulse widths are 1 microsecond (µs).
E
XAMPLE
ViSession instrumentHandle;
ViStatus status;
ViInt32 pulse_mask = 0x00000101; // pulse output bits 0 and 8
…
status = vtex1629_send_dio_pulse(instrumentHandle, pulse_mask);
Содержание EX1629
Страница 310: ...VTI Instruments Corp 310 EX1629 Command Set...
Страница 342: ...VTI Instruments Corp 342 EX1629 Onboard Memory...