LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Indicator updates with mouse scroll? But does not function normally anymore

Hi - I am getting really confused here...

I am working on an old program (written by someone else) and modifying it to interface to new hardware. I am running the VI in Labview (rather than running the executable file without Labview). The original program was working in an older version of Labview, I have had it working fine in Labview 2009 but now it is not working properly.

 

Data is gathered from half a dozen devices and plotted on Waveform graphs. There is a "Display Position" Indicator / local variable which keeps track of which graph should be updated next. This was incremented as the program ran through each of the devices. It also uses the "Wait for Front Panel Activity" VI, which I don't fully understand.

 

This WAS working normally... but now, on both the version I was working on, and the unedited "existing" version, I am having the same problem. The part of the program which increments the "Display Position" is not executing or functioning, however the "Display Position" can now be updated when on the Front Panel, when you scroll the mouse!!

 

I assume there is something different in the environment now which is causing this? But have run out of ideas...???

 

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

Can you post the code? 

 

I can't offer any suggestions based on your description. 

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

A bit of an update on this:

It has to do with the "Wait for Front Panel Activity" VI, which is being triggered by the mouse scroll. It is supposed to be triggered by another subroutine VI with a "Generate Front Panel Activity" VI, I am not sure why this is no longer functioning properly.

 

For now I am going to look at having the loop triggered by another type of timer, and not try and get the existing "Wait for Front Panel Activity" VI to work - I've deleted it.

 

0 Kudos
Message 3 of 4
(2,656 Views)
You can always post you code to try to understand which direction you're going..
0 Kudos
Message 4 of 4
(2,635 Views)