LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Probing inside NI PID vi

I'm working on a PID controlled system and I've been having some issues. I have a few theories about what might be going on, but to test them I need to be able to see the individual errors inside the NI PID vi. Unfortunately, when I open the VI it wont let me probe any lines and it says it's a clone.

 

I'd like to be able to probe the wires inside the NI PID vi while my program is running. Is that possible? Is there any other way to see, say, the integrated error that the PID vi is acting on?

0 Kudos
Message 1 of 4
(2,220 Views)

When trying to get probe lines in a reentrant VI (aka clone), put a breakpoint just before the VI.  When the software pauses select Step Into from the toolbar.  the clone which is running will open allowing you to probe the values.  Clear the breakpoint and unpause each PID and owning VI.

0 Kudos
Message 2 of 4
(2,201 Views)

Thank for your help, but I think there's an issue. The "Step Into" button starts to act like "step over" and the mouse-over text for the button says "step over" as well. Am I not able to step into an NI made vi?

0 Kudos
Message 3 of 4
(2,170 Views)

The issue is that this particular VI is set to subroutine with debugging turned off. You could temporarily change it to normal priority and turn debugging on. (ctl + i to enter VI properties, then go to execution category) 

0 Kudos
Message 4 of 4
(2,155 Views)