50 MIL-STD-1553 Reference Manual
Chapter 2 - Library Administration and Initialization Functions
2.1.21 ApiSetDllDbgLevel
Prototype:
AiInt16 ApiSetDllDbgLevel( AiUInt32 ul_DllDbgLevel );
Driver Command:
none
Purpose:
This function sets the current debug output level of the Application Interface.
Input
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
u
u
l
l
_
_
D
D
l
l
l
l
D
D
b
b
g
g
L
L
e
e
v
v
e
e
l
l
Debug Level
Note: Under Windows the debug output is done with the Windows API call
of OutputDebugString. The output can be achieved e.g. via the utility
“DbgView” (see http://www.sysinternals.com for download).
Force interrupt related debug output
Force initialization related debug output
Force module open related debug output
Force module close related debug output
Force module I/O related debug output
Force recording related debug output
Force replay related debug output
Force mutex related debug output
Force parameter range check
Force a function call trace log into file
“aim_mil.log”
Force informational debug output
Force general error related debug output
(e.g. range check errors)
Force error message box, if I/O to the
board fails with error or range check fails
Force all available debug output
Note: The default debug level after program start is set to 0x30000000
(DBG_ERROR | DBG_INFO | DBG_PARAMCHK)!
Output
Return Value