MIL-STD-1553 Reference Manual
Chapter 3 – System Functions
3.1.13 ApiCmdReadSWVersion
Prototype:
AiInt16 ApiCmdReadSWVersion( AiUInt32 ul_ModuleHandle, AiUInt8 biu,
AiUInt16 *fw_id, AiUInt16 *sw_id, AiUInt16 *lca_id,
AiUInt32 *lca_chks );
Driver Command:
API_READ_SW_VERS (0x34)
Purpose:
This function is used to read the Software version numbers of the AIM board target
software parts.
Input
Output
A
A
i
i
U
U
I
I
n
n
t
t
1
1
6
6
*
*
f
f
w
w
_
_
i
i
d
d
Firmware ID (4 digit BCD format)
A
A
i
i
U
U
I
I
n
n
t
t
1
1
6
6
*
*
s
s
w
w
_
_
i
i
d
d
Driver Software version number (4 digit BCD format)
A
A
i
i
U
U
I
I
n
n
t
t
1
1
6
6
*
*
l
l
c
c
a
a
_
_
i
i
d
d
LCA Software ID (1 digit BCD format)
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
*
*
l
l
c
c
a
a
_
_
c
c
h
h
k
k
s
s
LCA Software Checksum value (32-bit)
Return Value
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.