09-28-2007 09:59 AM
09-28-2007 10:07 AM
09-28-2007
10:18 AM
- last edited on
04-18-2025
01:25 PM
by
Content Cleaner
@Graziano wrote:
You can set, in VI properties, Allow debug, and also if a VI is reentrant you can't debug it!
Actually, newer versions of LabVIEW allow debugging of reentrant VIs. See:
09-28-2007 10:46 AM
09-28-2007 10:10 PM
Hi niel_malan,
Re: no probing reentrant VIs under LV 7.1 - I feel your pain! When especially desperate, I pump the value-of-interest into an OK Dialog. Of course it's easier to debug with only 1 instance running, but if multiple instances are necessary it may be possible to put a case around the dialog so only a specific instance will write to the dialog - or have the dialog include some instance-specific identifier. If you use this Dialog method much, it's also helpful to include some info to identify what VI the Dialog is located in (to help remove it later -.)
First, though, look around the diagram for some non-rentrant SubVI that the value is wired-to. It may be possible to see the value-of-interest by simply examining the controls of a Sub-VI. You can even build a special-purpose sub-VI just for this. Don't forget about breakpoints as a tool for trapping values.
Cheers!
09-29-2007
02:23 AM
- last edited on
04-18-2025
01:25 PM
by
Content Cleaner
@altenbach wrote:
@Graziano wrote:
You can set, in VI properties, Allow debug, and also if a VI is reentrant you can't debug it!Actually, newer versions of LabVIEW allow debugging of reentrant VIs. See:
But still a Reentrant SubVI of Subroutine priority cant be debugged.
09-29-2007 02:31 AM
A subVI with subroutine priority cannot be debugged, period. Reentrant or not reentrant. 🙂
@parthabe wrote:
But still a Reentrant SubVI of Subroutine priority cant be debugged.
09-29-2007 03:41 AM
Thats what I implied, Altenbach.
What I meant to say was, even if it is Reentrant VI of version 8.5, it still cant be debugged if its Priority was set to Subroutine.
10-01-2007 01:23 AM
10-01-2007 02:44 AM
Yes, you can open and probe every instance seperately. They will be indicated as "clones" in the title bar of the window.
@Graziano wrote:
I mean, when you probe a Reentrant subVI, you are probing one instance of it... or you can open all instances called in different windows?