MIL-STD-1553 Reference Manual
Chapter 5 – Buffer Functions
5.1.13 ApiCmdRamWriteDataset
Prototype:
AiInt16 ApiCmdRamWriteDataset ( AiUInt32 ul_ModuleHandle, AiUInt16 dsid,
AiUInt16 *data );
Driver Command:
API_RAM_DATASET_WR (0x5A)
Purpose:
This function is used to write a 32-word dataset to 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
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 write
Output
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.