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.