34 MIL-STD-1553 Reference Manual
Chapter 2 - Library Administration and Initialization Functions
2.1.14 ApiGetTgEmul
Prototype:
AiInt16 ApiGetTgEmul( AiUInt32 ul_ModuleHandle );
Driver Command:
none
Purpose:
This function returns the current emulation status of the Application Interface.
(The Application Interface will automatically go into emulation mode when an I/O error
occurs or when commanded using ApiSetTgEmul function. In this mode, the
Application Interface does not actually send a driver command to the target, instead
the expected acknowledgement (maintained by the Application Interface) is returned to
the calling function.)
Input
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.