02-06-2014 07:33 PM
Hello,
I am a new member here and I am working with a MyDAQ board and Labview. Basically, I am continuously getting voltage inputs from the myDAQ and plotting it against an x-axis that is created from a function generator. My x-axis basically loops from 3-4V, then restarts at 3V. After the function generator restarts at 3V, I want the X-Y Plot to also reset. At the moment, the y-axis is just constantly updating and retaining the old values. I am trying to make a waveform that repeatedly sweeps through a range of inputs.
Is there a way to get around this issue?
Thanks for all the help!
02-06-2014 07:48 PM
Hi osiris17,
Do you have a VI which you can share? From what I understand, you want the XY Graph to reset when function generator = 3V?
If you want to reset, you can just use "Invoke Node" to "Reinitialize to Default" (right click on the XY graph >> Create >> Invoke Node >> Reinitialize to Default)
Of course, you would need to think of a logic maybe use case structure to run the true case only when function gen = 3, where true case reinitialize the values in XY Graph to default?
Hope that helps
Warmest regards,
Lennard.C
02-06-2014 10:22 PM
Hi Lennard,
Thank you for your reply. I will look into the Invoke node function. I think I came across something similar but I ran into difficulties implementing a logic gate to active it on time.
02-06-2014 10:43 PM
02-06-2014 11:00 PM - edited 02-06-2014 11:07 PM
Hi osiris17,
As mentioned by Dennis, you can also force a value to the XY graph with empty x and y arrays if invoke node does not work. May I ask what is the complication you were facing?
Warmest regards,
Lennard.C