MIL-STD-1553 Reference Manual
Chapter 5 – Buffer Functions
5.1.8 ApiCmdRamReadDataset
Prototype:
AiInt16 ApiCmdRamReadDataset ( AiUInt32 ul_ModuleHandle, AiUInt16 dsid,
AiUInt16 *data );
Driver Command:
API_RAM_DATASET_RD (0x5B)
Purpose:
This function is used to read the 32-word dataset buffer contents of the specified
Dataset Buffer ID from ASP Local RAM when in Dynamic Dataset mode. For BC and
RT simulations the Dynamic Dataset mode is enabled using library function
ApiCmdSystagDef.
Input
A
A
i
i
U
U
I
I
n
n
t
t
1
1
6
6
d
d
s
s
i
i
d
d
Dataset Buffer Identifier
Output
A
A
i
i
U
U
I
I
n
n
t
t
1
1
6
6
*
*
d
d
a
a
t
t
a
a
32 Dataset Buffer Words to read
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.