MIL-STD-1553 Reference Manual
Chapter 11 – General I/O Functions
11.1.2 ApiCmdGenIoOutChnWrite
Prototype:
AiInt16 ApiCmdGenIoOutChnWrite (AiUInt32 ul_Module, AiUInt8 genio_type, AiUInt8 chn,
AiUInt32 res, AiUInt32 val);
Driver Command:
TG_API_GEN_IO_OUT_CHN_WRITE (0x302)
Purpose:
This function is used to write data to the specified output channel.
I
I
n
n
p
p
u
u
t
t
A
A
i
i
U
U
I
I
n
n
t
t
8
8
g
g
e
e
n
n
i
i
o
o
_
_
t
t
y
y
p
p
e
e
Slotnumber: 0
BoardType:
Init ASP Driver structures and IO
access
Channel selection
write all discrete output channels at once
write to single discrete output channel
Spare Parameter
write all discrete output channels at once
write inverted ‘val’ to all output channels
write ‘val’ to the selected output channel (set/reset bit)
toggle the selected output channel for ‘res’ msec