LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

debugging applications on host and target simultaneously

I have an application running on LabVIEW-RT and another, which communicates whith the first one, running on LabVIEW.
Is there a way, on the same PC, to run an application on the host system and to debug an another application running on the target system ? The must will be to debug the two applications simultaneously.

Thanks for any input.
Hubert Robitaille
0 Kudos
Message 1 of 3
(3,056 Views)
Hi Hubert,

You probably will not want to hear this but,
You cannot have a window open to the RT system while running a different LV app on the host.

When I have needed to do this, I have cabled up another PC with LV-RT to monitor the RT system. Een doing this can be a little awkward because RT wants to re-link and reload when you switch to the taget RT system.

I got around this by mapping the drive where the RT app is stored on the the windows system to the "extra" PC. Even after doing this, make sure you do clean connects and disconnects (to from the RT system), otherwise it seems that the main RT app will close but leave al of the sub-VI's running!

I have used other techniques as well, but they may be to specific to comment on now.

What kind of thing
are you trying to debug that requires you have both systems going at the same time?

Ben
Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 2 of 3
(3,056 Views)
Thanks for the information.

In fact I have a real-time application which send data throught Ethernet to an application running on a PC (the structure is similar to the TCP-IP DAQ client/server examples with only one client).
In the operational mode, the RT application will start automaticaly at boot time and will not use front panel.

Regards
Hubert
0 Kudos
Message 3 of 3
(3,056 Views)