Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

Using Lookup Table in simulation/control loop results in broken VI

 

When I use a Lookup Table in my simulation/control loop, the VI gets broken sometimes (broken run arrow). I can not solve this other than to restart the VI from zero.

 

I am using LabView 2009 SP1, this error occurs on other PCs with this version of LabView as well.

 

brokenVI.png

0 Kudos
Message 1 of 11
(4,763 Views)

Addition: The error seems similar to the one decribed here -> Knowledge Base

 

The hints did not help. But when I resize the "Lookup Table" VI-Box via mouse, the run arrow gets white and ready again, but only until I click the run arrow. Clicking it will result in a broken arrow and a "failed to compile" error message once again.

 

The problem described here only occurs when using "Lookup Table" VIs.

 

0 Kudos
Message 2 of 11
(4,755 Views)

 

Addition:

 

I noticed, that the "Lookup Table" VI looks different on my LabView 2009 installtion:

 

brokenVI2.png

 

As you can see, the white input/output frames are missing. But this VI version does not lead to a "failed to compile" message.

 

Why does it look different? Every PC uses 2009 and Sim/Control 9.0.0....

 

0 Kudos
Message 3 of 11
(4,753 Views)

You can change the icon style with right click on Look up Table. As you can see in my screenshot.

 

Cheers,

Philip

 

 

Message 4 of 11
(4,751 Views)

None of the icon styles seem to match the first picture. And bad luck for me: even this different look was't a solution. The VI is once again broken. Even reverting the single change I did can't restore the runnable state.

 

I tried to move the broken VI from remote RT to "My Computer" and back again (without doing any changes). This seems to fix the broken arrow (as long as I do not touch the VI's block diagram). This must be some LabView Sim/Control bug...

 

 

0 Kudos
Message 5 of 11
(4,748 Views)

Can you please post your VI.

0 Kudos
Message 6 of 11
(4,741 Views)

Here it is. Maybe you have to use it in a RT project in order to provoke the error.

 

0 Kudos
Message 7 of 11
(4,739 Views)

Ich nehme an du sprichst Deutsch, weil du die Deutsche LV Version benutzt. Wenn Du den Icon Style in Express geändert hast, musst du das VI anschließend auch nach unten aufziehen!

 

0 Kudos
Message 8 of 11
(4,736 Views)

Ich schreibe aber mal besser englisch, da hier im Forum internationales Publikum ist.

 

Icon style is ok. But the VI gets still broken if I do any changes.

0 Kudos
Message 9 of 11
(4,734 Views)

I don't have the DAQ nodes on my machine, so I put them in a diagram disable structure and the VI compiled with no problems in LV 2009 sp1. If you do the same thing, does it then compile? Maybe it is something about trying to compile this in an RT project.

 

Also, do you really need a Control Design and Simulation loop? Would an "Interpolate 1D array" function in a for loop be sufficient for your task?

0 Kudos
Message 10 of 11
(4,729 Views)