EasyManua.ls Logo

Aim MIL-STD-1553 - Apicmdgenioinchnread

Aim MIL-STD-1553
502 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
MIL-STD-1553 Reference Manual
430
430
Chapter 11 General I/O Functions
11.1.4 ApiCmdGenIoInChnRead
Prototype:
AiInt16 ApiCmdGenIoInChnRead (AiUInt32 ul_Module, AiUInt8 genio_type, AiUInt8 chn,
AiUInt32 ctl, AiUInt32 val);
Driver Command:
TG_API_GEN_IO_IN_CHN_READ (0x303)
Purpose:
This function is used to read data from the specified IO input 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
7……..4
3…….0
SlotNumber
BoardType
Slotnumber: 0
BoardType:
Value
Define
Description
0
API_GEN_IO_INIT_TYPE
Init ASP Driver structures and IO
access
1
API_GEN_IO_APX_TYPE
APX Discrete I/O type
A
A
i
i
U
U
I
I
n
n
t
t
8
8
c
c
h
h
n
n
Channel selection
For ‘BoardType’ = 1
Value
Description
0
Read all discrete input channels at once
1..32
read from single discrete input channel
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
c
c
t
t
l
l
Reserved

Table of Contents

Other manuals for Aim MIL-STD-1553