01-19-2015 03:53 PM
My main VI has multiple sweeping waveform chart, base off the Continuous Measurement and Logging template. I want to be able to change x axis range (toggling between 10 seconds of data and 3 seconds of data)
I did it by changing the X scale range min to zero and max to the appropiate sample size, and clear the history. While this works for each chart they always ended up off sync instead.
At first I thought that's because I put it in a ub VI. But moving everything to te main vi does not change the behavior.
Any ideas? Thanks.
Solved! Go to Solution.
01-19-2015 06:55 PM
jbphili,
Can you attach your project so we can have a better idea of what you have tried so far?
01-20-2015 02:33 PM - edited 01-20-2015 02:35 PM
This is what's in the sub vi. Ignore the Measurement UI Controls 2, I was trying seomthing else.
01-20-2015 03:10 PM - edited 01-20-2015 03:14 PM
Well those all have to run sequentially in the UI thread so there is no way to do them "Simultaineuosly" HOWEVER, if you bookend those property nodes with an Involk of the method Defer FP Updates (True then False) you'll see much more what you expect.
Tighter alignment of the "Clear Histoys" would also be done by splitting up your p-nodes so do all of them at first then change all the scales.
01-20-2015 05:59 PM
I don't understand what does
" bookend those property nodes with an Involk of the method Defer FP Updates (True then False) "
mean. Can you give me an example?
I'll split out the chearing history.
Thanks.
01-21-2015 06:34 AM
I don't have LabVIEW on my tablet. The involk node is on the application palette. Select class VI Server.VI.VI and method Front Panel. Defer Updates. The Help file will explain what this method does. Or another poster can back-stop me until I am in my office 😉
01-22-2015 11:51 AM
Using the Defer Updates did it. Took me a while to find the blocks tho.
Thank you.