Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Debugging Macros (Embedded Development Module)

LabVIEW Microprocessor SDK 2.5 Help
August 2007

NI Part Number:
372197A-01

»View Product Info

The following list describes the debugging macros.

  • UsesSerialDebugger—Define to enable debugging over a serial line. You usually set this macro in LVDefs_plat.h.
  • DBGBAUD—Specify the baud rate of the serial line for serial debugging. You usually set this macro in LVDefs_plat.h.
  • UsesTCPDebugger—Define to enable debugging over a TCP/IP connection. You usually set this macro in LVDefs_plat.h.
  • UsesCANDebugger—Define to enable debugging over a CAN bus. You usually set this macro in LVDefs_plat.h.
  • OCDI_RDM—Define to enable the Release Debug Mode for on chip debugging. You usually set this macro in LVDefs_plat.h.
  • BDTUseThread—Set to 1 to enable the Background Debug Thread (BDT). The default is 1 for targets that support threading and 0 for targets that do not support threading. You usually set this macro in LVDefs_plat.h.
  • BDTSleepTime—Specify the time in milliseconds that the BTD sleeps after updating a front panel indicator or a probe. The default is 50. Increase the time for targets with very slow communication channels and decrease the time if you want better interactivity with the front panel updating during a debugging session. You usually set this macro in LVDefs_plat.h.
  • BDTReconnectTryTime—Specify the time interval in milliseconds that the target tries to reconnect to the host computer if disconnected. The default value is 5000. You usually set this macro in LVDefs_plat.h.
  • BDTHostConnectTime—Specify the time in milliseconds to wait before the host connects to the target if you build the application with instrumented debugging. If the host does not connect to the target in the time you specify, the embedded application starts running. The default is 5000. You usually set this macro in LVDefs_plat.h.

Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit