LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

boolean indicator won't refresh

I'm using a VI to acquire data from an Active X call in a while loop.  It appears as though my indicator s for boolean data are updating randomly (sometimes some of the 4 work, sometimes not)  In viewing the probes, the right data is being acquired, but the indicator is simply not updating.  If I Alt-Tab out of the front panel, then back in, everything updates fine,  but I obviously cant have the end user do that constantly.  Anyone know how to fix this?

Things that I have tried:

1.  Synchronus display on inds
2.  Waits in the While loop
3.  There are no race conditions
 
Thanks in advance.  Please do not ask for my source code, as I trust that the probes are working.

Ryan
0 Kudos
Message 1 of 9
(5,068 Views)


@Hamm wrote:
Please do not ask for my source code, as I trust that the probes are working.

I have not seen anything like this. Well, easiest would be if you could reduce the VI to the bare minimum that still shows the issue and attach it (sorry, I'm asking anyway :)).

Also:

  1. What is your LabVIEW version? What OS (Windows, Mac, linux, PDA, RT, etc.)
  2. What kind of activeX call. Do you think it it relevant or can you simulate the effect in a plain VI?
  3. Do you write to any local variables or value property nodes of the booleans from elsewhere?
  4. What is the loop rate?
  5. ...


0 Kudos
Message 2 of 9
(5,057 Views)
UPDATE:
Upon further debugging,  I've discovered that if I replace the square LED boolean indicators with Round LED boolean indicators, they seem to work properly.  So, I followed up by trying "new" square LEDs and the problem returned.  So to recap:  Square LEDs don't work but Round ones do.  I'm speechless...
0 Kudos
Message 3 of 9
(5,051 Views)

Ryan:

There is no reason why your code should act differently based on the type of indicators you use. what version of LabVIEW are you using and what is your OS?. It would greatly if you could post (I know I am asking) the smallest amount of code that demontrates this issue so that I can reproduce it on my end and relay the feedback to the appropriate authority.

Thanks,

Rudi N.

 

0 Kudos
Message 4 of 9
(5,020 Views)
Here is another instance where I believe that the same problem is occurring.  When I load up the front panel of this VI, I get this, where my string indicators are blank.
Then, if I drag the Context Help Window partially over the indicators, part of the values will appear. 
Then if I drag it back over the other half of the indicators, it will reveal the entire value
 
This demonstration should also prove that this problem is independant of my source code. 
Is there some sort of VI property that I am not setting?
 
 
0 Kudos
Message 5 of 9
(4,338 Views)
This sounds like a display driver issue.

___________________
Try to take over the world!
0 Kudos
Message 6 of 9
(4,335 Views)
I've update my chipset driver to the latest revision to no avail.  Is this what you mean by display driver?
0 Kudos
Message 7 of 9
(4,330 Views)
I meant any software driver which has to do with the display. This could be the screen driver, the graphics adapter driver, etc. altough presumably only one will be the culprit and updating it would not necessarily help.
I suggest you narrow down your latest example to a VI which still reproduces this and then upload it (while providing your versions of LV and Windows) so that others can test it.

___________________
Try to take over the world!
0 Kudos
Message 8 of 9
(4,317 Views)
For debugging purposes, you could also try to drop the graphics acceleration by a few notches and see if the problem still occurs.
 
("control panel...display properties...settings...advanced...troubleshoot").
 
See if it makes a difference.
0 Kudos
Message 9 of 9
(4,312 Views)