EasyManua.ls Logo

Aim MIL-STD-1553 - Apicmdwritediscretes

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
135
Chapter 3 System Functions
3.1.33 ApiCmdWriteDiscretes
Prototype:
AiInt16 ApiCmdWriteDiscretes( AiUInt32 ul_ModuleHandle, AiUInt32 ul_Mask,
AiUInt32 ul_Value);
Driver Command:
API_WRITE_DISCRETES (0x28)
Purpose:
This command is used to write to the discrete outputs.
Note: Since the discretes are programmable, be sure to have setup the discrete
outputs with the function ApiCmdInitDiscretes()!
Note: this function is not supported for all boards. Please see Table B-III Function
Support By Boards With ASP for details
I
I
n
n
p
p
u
u
t
t
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
u
u
l
l
_
_
M
M
a
a
s
s
k
k
Bit 31
Bit 30
Bit 29
Bit 28
Bit 27
Bit 26
Bit 25
Bit 24
Reserved (0)
Bit 23
Bit 22
Bit 21
Bit 20
Bit 19
Bit 18
Bit 17
Bit 16
Reserved (0)
Bit 15
Bit 14
Bit 13
Bit 12
Bit 11
Bit 10
Bit 9
Bit 8
Reserved (0)
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
MASK
The mask is used to define the discrete outputs that are actually written. A “1” marks
the discrete output to be written.

Table of Contents

Other manuals for Aim MIL-STD-1553