08-15-2019 04:48 PM
strip chart using waveform graph in labview. how can I reset the x-axis display to time =0 every time I run the program?
08-15-2019 06:53 PM
I'm confused. Waveform Graphs do not have a "strip recorder" mode.
Are you talking about a Waveform Chart?
What is the datatype you have wired to the graph?
Attach your VI.
08-15-2019 07:03 PM
I'm taking the waveform from a USB-6251. Yes, waveform chart in the strip recorder mode.
I'm not in my lab right now, but I will, if what I'm asking doesn't make sense.
Thanks for your reply .
08-15-2019 07:14 PM - edited 08-15-2019 07:16 PM
Try either of these techniques.
The Reinit to Default is an invoke node.
The datatype may affect how they work, particular for the empty array for the history data property node.
08-16-2019 01:11 PM
I'm not sure if I have this correctly wired with the node that you sent, but it's not resetting the x-axis. Here is the vi.
08-16-2019 02:15 PM - edited 08-16-2019 02:21 PM
Hi Allan,
1. You should ReInit before the loop, but not inside with each iteration.
2. You are using those DDT wires: this can introduce a lot of "side effects". Usually you are recommended not to use ExpressVIs and DDT wires…
3. You are reading "1 sample on demand" so do you expect any useful result from your filter?
One step to less DDT wires:
08-22-2019 06:34 PM
This is a dumb question, but how does one create the initialize strip recorder node? (does one right click on the wire?)
It almost works except for the initialize step.
08-22-2019 10:25 PM
Right click on the Waveform chart terminal. You have two choices, create property node and create invoke node. In this case, the reinitialize is a "method" so you use Create Invoke Node.
08-27-2019 03:40 PM
The waveform chart is still not resetting. I'm not sure if I've invoked the node correctly. (The chart will reset if I close the vi and reopen it. But it won't reset if I rerun) (Fortunately, rerunning will reset the time stamp on the measurement file).