MIL-STD-1553 Reference Manual
Chapter 3 – System Functions
3.1.19 ApiCmdSysGetBoardInfo
Prototype:
AiInt16 ApiCmdSysGetBoardInfo( AiUInt32 ulModHandle, AiUInt32 ulDataStart,
AiUInt32 ulDataCount, AiUInt32 * ulOutput );
Purpose:
This function can be used to get information about the board from the target software.
The interpretation of the fields is analog to the function ApiGetBoardInfo description.
Input
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
u
u
l
l
D
D
a
a
t
t
a
a
S
S
t
t
a
a
r
r
t
t
Identifies the first board information element to read.
TY_BOARD_INFO_DEVICE_TYPE
TY_BOARD_INFO_CHANNEL_COUNT
TY_BOARD_INFO_BOARD_CONFIG
TY_BOARD_INFO_SIZE_GLOBAL
TY_BOARD_INFO_SIZE_SHARED
TY_BOARD_INFO_OFFS_GLOBAL
Global RAM offset for second PBI
TY_BOARD_INFO_CHANGE_AMPL
TY_BOARD_INFO_DISCRETE_CNT
Number of discretes available
TY_BOARD_INFO_DISCRETE_CONFIG
Configuration of discretes
Reserved for interrupts on gpio
TY_BOARD_INFO_IS_MULTI_CHANNEL
This value is 1 for multichannel FW
TY_BOARD_INFO_IS_HS_REDUNDANT
This value is 1 if HS channel B is
not available.
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
u
u
l
l
D
D
a
a
t
t
a
a
C
C
o
o
u
u
n
n
t
t
Defines the number of board information elements to read. This value is in the range
from 1 to TY_BOARD_INFO_MAX.
Output
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
*
*
u
u
l
l
O
O
u
u
t
t
p
p
u
u
t
t
This array must be preallocated with the size of ulDataCount. This array contains
the requested values.
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.