06-19-2017 12:39 AM
I'm using a XY graph with 2 waveform in it. One of it has Data points shown, and I want to blink those particular Data points. Help me out in blinking those data points. I tried blinking with Property node but the other graph without the data points are blinking,
Thanks for helping.
Solved! Go to Solution.
06-19-2017 12:46 AM
Use a loop with a suitable delay and alternatively update the graph with and without these data points.
06-19-2017 12:51 AM
It's real-time plotting, so values will change at some interval according to the delay. But I need these data points to blink.
06-19-2017 01:27 AM
My method will still work if done right. What is your definition of "real time"?
Can you show us a simplified version of your code using e.g. simulate data?
06-19-2017 01:40 AM - edited 06-19-2017 01:41 AM
Attached.
06-19-2017 03:22 AM
These are just pretty useless images, not code. What part should blink and how fast? What is the loop rate?
06-19-2017 03:34 AM
The code is very lengthy, so I am not able to upload all. In that Front panel, graph is shown. I want to blink those points which is Red in color. Is there any way to do that?
06-19-2017 03:37 AM
@dhanushmh wrote:
I want to blink those points which is Red in color. Is there any way to do that?
Yes, of course there is.
(But we cannot help you unless you answer our questions)
06-19-2017 03:42 AM
Loop rate is 1sec, So the values change for every second. I want to blink the Data points every time when the values change. I mean to say Loop rate=1sec and blinking rate should be 1sec. Thank you
06-19-2017 03:43 AM - edited 06-19-2017 03:48 AM
Do I see a hard wired endless loop??
Remember stopping a vi with the abort button is like stopping your car with tree on the road 😄
You can use the poperties of the graph to change the colors of the plot points ...
see example...
EDIT: on every interation the color is swapped