LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Why I can not probe?

I have a vi. I try to add probe data. But I can not add it. Why?

I can add probe for others VI though.
0 Kudos
Message 1 of 5
(4,204 Views)
Look at the VI properties : right click on the vi icon, then go to "Execution" and check mark "Allow debugging".
Chilly Charly    (aka CC)
0 Kudos
Message 2 of 5
(4,204 Views)
Another thing that it could be is reentrant. If the VI is reentrant, it will not allow you to debug it and the Allow Debugging selection box will be grayed out. Reentrant VIs have unique dataspaces for each instance of the VI and that means that the probe would not know which instance's data to display. So NI has chosen to not allow any probe on reentrant VIs.

If this is the cause and you don't NEED reentrancy you can shut it off for debugging. If you NEED reentrancy, good luck; it's hard to figure out.

I hope that this helps,
Bob Young
0 Kudos
Message 3 of 5
(4,204 Views)
Although you can not probe re-entrant VI's you can monitor the FP of a particular instance of a re-entrant VI.

You must "tell" LV which version you are interested in by double clicking on the icon of the VI in the calling VI's diagram.

Ben
Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 4 of 5
(4,204 Views)
Hi Kathy,

Check the VI properties (press ctrl+I) and look under 'Execution'. If the VI
is set to run in re-entrant execution (box is ticked), then you won't be
able to use a probe.

Regards,
Dave.

"kathy" wrote in message
news:c340509c.0411111229.332e32aa@posting.google.com...
> I have a vi. I try to add probe data. But I can not add it. Why?
>
> I can add probe for others VI though.
0 Kudos
Message 5 of 5
(4,204 Views)