04-23-2012 07:04 AM
04-23-2012 07:42 AM
Sorry mate. Maybe I didnt make my self clear enough. I have tried initiasing the shift registers by wiring a constant 0 to the left side if shift registers at while loop.
But the problem remains.
The problem is that thhe new data point are linked to two previous data points through a line; one to the last data point (which is correct as it should be) and secondly to the frist ever data point (which should not happen).
04-23-2012 09:02 AM
You have to set the left side of the shift register with something like temp.jpg. Since you are emulating a chart, I prefer this sort of vi.
04-23-2012 11:20 AM
Thanks for the reply Joseph
It works but again like I said in my 2nd coment on this post, 'The reason why I am not using a chart, although it works perfectly for this, is beacuse I want to control the x axis (start and end time) to see data at time as specified by user.'
I still dont think a chart can support that. If you think I am wrong then please do tell me or modify your previous VI to do that.
Regards,
Sheeraz
04-23-2012 11:29 AM
If you look at the block diagram, it sets the start time. The end time should be dependent on you data being sent. If you run the VI, The start time keeps changing. If you look at the property, offset that sets the actual time.
If you look at the new VI, it actually set the time width of the display. The default in it is 300 seconds with a chart length of 4096 points. You can use the various controls to look at different locations in the chart or to view the length of the chart.
04-24-2012 11:53 AM
Why cant I use time stamp controls for start time and end time wired to xscale property node's xscale minimum and xscale maximum..
It works for 2 waveforms but not for more.