LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Reentrant (cloned) front panels seem not to work on PXI target

Hi,

I have some problems running a reentrant VI for Monitoring on a PXI target. The VI stors some Data for the xy-Graph output and is programmed in an reentrant subVI for easy reuse purposes.

I tracked the error and stucked by the following strange behavior: I created a simple reentrant VI (file: reentrant.vi) and added this to the main vi (file: untitled-vi). If you try to double click the subVI in the block diagram you get the normal front panal of this opened. Though - it should be a cloned one! Move the untitled.vi to the "My Computer" target you receive a cloned one.

I think if this behavior can be tracked my original problem is solved as well: the front-panel of the subVIs in reentrant mode don't open properly. (Yap the options to display, when called and loaded were tried)

I'm looking forward for your response,
Alex
0 Kudos
Message 1 of 3
(2,665 Views)

Hi Alex,

The reason behind that is because reentrancy works differently on the real-time system.  The VI will be running in reentrant mode but you cannot view it or troubleshoot it.

I have attached a project:  Test1.vi and Test2.vi both call the reentrant.vi. This demonstrates that the reentrant.vi works properly in reentrant mode. You will need to change the real

time target to the one you have.

I hope that helped,

KostasB

Applications Engineer NI UK & IE

 

0 Kudos
Message 2 of 3
(2,648 Views)
Thanks Kostas,

thats all I liked to hear. I knew reentrancy works on real time but nowhere in the help was mentioned, that you will have problems with showing the front panels of these VIs.

Best wishes,
Alex
0 Kudos
Message 3 of 3
(2,645 Views)