LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Network Variables Flickering

Hello

 

I am having an odd problem.  I have network variables on my front panel inside of a tab control.  When they update their values they wait, then update several times in quick succession, making them appear to be flickering/stuttering.  The variables are just in a simple while loop with a 100 ms wait time function also.  The variables are updated on a RT device, but looking with NI Distributed System Manager there is no slickering on that, so the variables are being updated without flickering, but are being read with flickering.  Attached I have a picture of my code and a short video of the problem.

 

Any ideas on what might be causing this?

 

Thank you for your time

 

Mitchell

0 Kudos
Message 1 of 10
(3,961 Views)

I'm guessing you are using the Data Binding to the shared variables?


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 2 of 10
(3,955 Views)

crossrulz that is correct.

0 Kudos
Message 3 of 10
(3,951 Views)

It appears that the video I ment to attach was not attached.  I am looking how to attach the video currently.  I have gotten it into youtube, but the video qualilty is bad.  You can still make out the problem if you play attention to a specific indicator.

 

URL: https://youtu.be/VCIZN8Jf0Bk 

0 Kudos
Message 4 of 10
(3,895 Views)

Is the display on a "Windows OS?"

 

Have you dissabled "Aero" themes?


"Should be" isn't "Is" -Jay
0 Kudos
Message 5 of 10
(3,887 Views)

Jeff

 

I am running this on a windows 7 machine.  This problem has occured on other windows OS also.  Disabling aero themes does not effect the problem.  Not all of my variables have this problem so I don't believe it has something to do with the OS. 

 

Thank you for your time

 

Mitchell

0 Kudos
Message 6 of 10
(3,875 Views)

We are going to need some sample code that demonstrates the unwanted behavior.  Or, steps to reproduce it.  I cannot troubleshoot a picture.  Aero Theme on the OS was a good guess- It just seems to not be related to your problem.

 

 

Jing- shockwaves work well as attachments


"Should be" isn't "Is" -Jay
Message 7 of 10
(3,866 Views)

Try creating a variable on the pc, bind that to the shared variable on the RT target variable, and then put that in your program feeding to an indicator. See if that gives you a difference in performance/sputtering. Maybe there is a larger cost to bind it directly to the indicator on the front panel?

I've used binding to indicators, and it worked well for me, but it was on server grade hardware with another PC on the end. I didn't have flickering, but with those systems lightly loaded as they are there shouldn't be any problems.

Glad to answer questions. Thanks for any KUDOS or marked solutions 😉
Message 8 of 10
(3,851 Views)

This question was more a feeler to see if anyone had similar problem and solved it.  The problem is that these are Network Variables connected to multiple different cRIOs.  So giving the code would not be useful since this problem only occurs with certain variables, even though all of the network variables are set up the same.  Also you would need the network set-up and hardware we have here.  

 

It seems that it might be a problem with one or two specific cRIOs.  It will be awhile until we can get to replacing one of those cRIOs (we need to replace it for other reasons also), which might solve the problem.

 

Putting the network variable on the block diagram solves this issue, although it does not show why the issue comes up.  It would be more helpful to have the network variables on the front panel (consistancy and such), but that will work for now.  If I find the cause mroe specifically or a different solution I will update this post.

 

Thank you all for your time, sorry that my question was kinda vague.

 

Mitchell

0 Kudos
Message 9 of 10
(3,843 Views)

I've found that a work around is good enough when they are paying me to put out lots of code. I'm glad that one helped.

Glad to answer questions. Thanks for any KUDOS or marked solutions 😉
0 Kudos
Message 10 of 10
(3,837 Views)