LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

probe a reentrant vi

I am trying to debug an application that runs on a RT target.  I am having a problem with debugging a reentrant vi.  I am following the suggestions in this article (https://www.ni.com/docs/en-US/bundle/labview/page/suggestions-for-using-execution-systems-and-priori...), but by vi is not behaving in the mannor described.  In the vi's properties under execution, I have the Allow debugging check box marked and the  Reentrant execution check box marked, also I have the Preallocate clone for each instance radio button selected.  When I open the vi for debugging while the application is running, "Clone" does not appear in the title bar and I cannot probe any of the wires.

 

How do I probe the wires if I need to maintain states for each instance of the reentrant vi?  And if I can't probe, how do I figure out what is going on durring execution?

 

I am using LV 8.5.1 with Win XP, the real time target is a  cRIO-9012

 

Thanks for any help.

0 Kudos
Message 1 of 4
(3,914 Views)

Hi,

 

Are you following the steps in this LabVIEW help file to debug your Real-Time application?

 

Regards,

Stephen S.

Message Edited by Support on 09-10-2009 05:11 PM
National Instruments
Applications Engineering
0 Kudos
Message 2 of 4
(3,886 Views)

Set a break point in the re-entrant VI then when each instiance opens you can place your probes.

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 3 of 4
(3,884 Views)

Hi,

 

The reason you are no being to probe any of the reentrant vis is beacause you can't. Under RT context , you cannot do the debugging of the reentrant vis as normally you would do( putting probes and all) . Move it to localhost context and you can see all the options again. Now coming to the solution of it, you might try using breakpoints inside the vis and use indicators as much as possible. Another way would be to move ur vis into localhost context and do all your debugging , where you can, and then deploy onto the target. 

 

 

-Mallya

" Appreciate and motivate those who help"
Message 4 of 4
(3,838 Views)