EasyManua.ls Logo

Aim MIL-STD-1553 - Apicmdgeniosystaskctrl

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
432
432
Chapter 11 General I/O Functions
11.1.5 ApiCmdGenIoSysTaskCtrl
Prototype:
AiUInt16 ApiCmdGenIoSysSTaskCtrl (AiUInt32 ul_Module, AiUInt8 genio_type,
AiUInt8 con, AiUInt32 rate, AiUInt32 rsync,
AiUInt32 ustep);
Driver Command:
TG_API_GEN_IO_STASK_CTRL (0x304)
Purpose:
This function is used to control the ASP sampling task.
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
o
o
n
n
Sampling Task control
Value
Define
Description
0
API_OFF
disable
1
API_ON
enable, record each sample
2
-
(reserved)
3
(API_ON+2)
enable/disable function defined in rsync
(can only be applied when Sampling
Task has been activated before
con=API_ON )
For ‘BoardType’ = 1
Value
Description
0
Read all discrete input channels at once
1..32
read from single discrete input channel

Table of Contents

Other manuals for Aim MIL-STD-1553