LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Call by reference node issues...

I have a huge application (done by someone else) that uses IO Server and call by reference node everywhere. I am trying to see the called VI being run in order to set it in highlight execution mode to troubleshoot a problem. I have the PATH of the file, but when I open hte LLB and the VI within LLB being called, I do not see it run (even if Highlight execution is on). How can I do this?
 
Jonathan
0 Kudos
Message 1 of 6
(3,034 Views)

You cannot see a VI that is being called by a Call by Reference node normally. But in highlight mode, it is possible, if the called VI is already kept open; that should not be a problem at all...

What more you can do is, since you know the path of the Vi being called, you can even open it & put breakpoint inside it and then run the MainVI. This should make it to enter into the Vi being called & stop there due to the BP. Now, you can switch on the highlight mode in that VI & start to debug it & fix the problem.

Repost here if you ve further doubts or queries.

- Partha ( CLD until Oct 2027 🙂 )
0 Kudos
Message 2 of 6
(3,021 Views)

I put the break point and was still not able to see the VI running. It is as if the VI being called executes without being run (as strange as that sounds).

Jonathan

0 Kudos
Message 3 of 6
(3,004 Views)
Put a Popup dialog in the code, so you can be sure it is executed.

Add a Front Panel open to the location where the reference is opened. This
will open the panel, as soon as it is run.

See if the VI server call returns an error, perhaps the VI is not executed.

Regards,

Wiebe.


0 Kudos
Message 4 of 6
(2,974 Views)
Check if the VI is set to "reentrant execution". (VI properties...execution).
 
What is your LabVIEW version? Debugging reentrant VIs has been improved in more recent versions.
0 Kudos
Message 5 of 6
(2,967 Views)
None of the VIs are re-entrant. I am using version 8.0.1.
0 Kudos
Message 6 of 6
(2,965 Views)