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

Implementing the Instrumented Debugging Communication Layer for Your Embedded Target (Microprocessor SDK)

LabVIEW 8.6 Microprocessor SDK Help
June 2008

NI Part Number:
372197B-01

»View Product Info

To implement instrumented debugging for your embedded target, you must create an instance of the following C functions in the LabVIEW C Code Run-Time Library:

Also, you must assign global function pointers to the functions you create so that the LabVIEW C Code Run-Time Library can use the functions for debugging connections.

Tip  Use new, unique names for your functions to avoid linker errors.

The Microprocessor SDK provides examples of serial and TCP implementations for the target-side communication layer.

The serial implementation is located in the following file:

labview\CCodeGen\libsrc\comms\SerialMessaging.c

The TPC implementation is located in the following file:

labview\CCodeGen\libsrc\comms\TCPMessaging.c

If you are using TCP communication, you should not have to modify TCPMessaging.c unless you want to use a port other than 0.


Resources


 

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