05-26-2007 04:40 AM
05-26-2007 04:53 AM
Hi ,
You can use queue facility wherin you can acquire data as much as you want and later plot them after dequing the same data one by one.
Regards
Sarita
05-26-2007 05:21 AM
05-26-2007 12:41 PM
05-26-2007 12:47 PM
05-26-2007 01:06 PM
Why don't you try the attached. It uses a shift register and the Append Waveforms function.
Also, how large is your monitor. Your front panel and diagram are huge. A rule of thumb is to keep the diagram to one screen and not have to do a lot of scrolling. The same is true of the front panel. If you really need that many indicators, you might want to think about placing them on different pages of a tab control. Try to keep your wires straight too.
05-26-2007 01:18 PM
Hi Dennis,
The attached worked but it didnt show the whole signal, it scrolled with each itteration. The plot output at the end of the loop is for the last 5 seconds. also, the Y-axis is shown in 1000s not 60 seconds. Is there a way to overcome that?
I'm new to LabView that's why my vi is kind of a mess. Thanks for the advice i will try doing so.
05-26-2007 01:44 PM
05-26-2007 01:58 PM
I don't see any 'scrolling' on the graph. I see 5 seconds worth of data, the the next gets appended, etc. Do you really mean the chart. I didn't do anything with that because you said you wanted a graph. You can initialize the chart by right clicking on it and selecting Create>Property Node. Right click on the property node and select Properties>History. Right click on the property node again and select Change to Write. Right click on the input and select Create>Control. Move this to the left of the for loop and wire the error out of the property node to the edge of the for loop. It should look like the picture below.
To change the x axis, right click on the graph/chart and select Properties. Go to the Scales tab and select the X Axis. In the Scaling Factors box, you can enter a value to scale the axis.
05-26-2007 02:14 PM