MIL-STD-1553 Reference Manual
Chapter 5 – Buffer Functions
5.1.2 ApiCmdBufC1760Con
Prototype:
AiInt16 ApiCmdBufC1760Con ( AiUInt32 ul_ModuleHandle, AiUInt8 biu,
TY_API_C1760_CON *pc1760 );
Driver Command:
API_BUF_C1760_CON (0x5E)
Purpose:
This function is used to control the 1760 checksum mode of the API1553-x software.
When enabled with the ApiCmdReset instruction, this function can be used to enable /
disable the 1760 checksum generation (checksum Word and up to 16 Critical Authority
checksums) on a selected message buffer in BC and RT mode. Up to 64 different
message buffers can be defined to generate 1760 checksums. Whenever a message
buffer which has been enabled for 1760 handling is written by the application
(ApiCmdBufDef and ApiCmdBufWrite instruction) or via dynamic data functions of
the software the selected checksums are automatically created.
Note: To avoid an error, the 1760 simulation mode generally has to be enabled with
the function ApiCmdReset before using this function!
Note: It is the responsibility of the application to disable the 1760 mode on a buffer
which is no longer used by the application.
Note: 1760 checksumms are not supported in combination with ApiCmdBcDytagDef.
Please use ApiCmdSystagDef instead.
Input
Output
T
T
Y
Y
_
_
A
A
P
P
I
I
_
_
C
C
1
1
7
7
6
6
0
0
_
_
C
C
O
O
N
N
*
*
p
p
c
c
1
1
7
7
6
6
0
0
1760 Control description
typedef struct ty_api_c1760_con
{
AiUInt8 mode ;
AiUInt16 buf_id ;
AiUInt8 c01;
AiUInt8 c02[16];
} TY_API_C1760_CON;
1760 mode for the selected message buffer