EasyManua.ls Logo

Aim MIL-STD-1553 - Apicmddefmilbusprotocol

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
71
Chapter 3 System Functions
3.1.3 ApiCmdDefMilbusProtocol
Prototype:
AiInt16 ApiCmdDefMilbusProtocol ( AiUInt32 ul_ModuleHandle, AiUInt8 biu,
AiUInt8 mil_prot, AiUInt8 mode, AiUInt8 rt );
Driver Command:
API_DEF_MILBUS_PROT (0x3F)
Purpose:
This function is used to define the MILBus Protocol type. The MILBus Protocol type is
set as default to MILbus 1553B using the ApiCmdReset
Input
A
A
i
i
U
U
I
I
n
n
t
t
8
8
m
m
i
i
l
l
_
_
p
p
r
r
o
o
t
t
Value
Constant
Description
0
API_PROTOCOL_1553_A
MILbus 1553A protocol
1
API_PROTOCOL_1553_B
MILbus 1553B protocol
A
A
i
i
U
U
I
I
n
n
t
t
8
8
m
m
o
o
d
d
e
e
Value
Constant
Description
0
API_MODE_ALL_RT
All RTs
1
API_MODE_SINGLE_RT
Single RT
A
A
i
i
U
U
I
I
n
n
t
t
8
8
r
r
t
t
'mode'
Value
Description
0
0
-
1
0..31
RT number
Output
n
n
o
o
n
n
e
e
Return Value
A
A
i
i
I
I
n
n
t
t
1
1
6
6
All API functions return API_OK if no error occurred. If the return value is not equal
to API_OK the function ApiGetErrorDescription can be used to obtain an error
description.

Table of Contents

Other manuals for Aim MIL-STD-1553