06-16-2009 11:15 PM
hi
I want to plot the current data (format-1d array of string) vs time. The time should be the time at which the reading is getting recorded (not every sec), I mean can i record a array of time data in the loop similiar to the current being recorded in a file or even a real time plot will do.
thanks
Solved! Go to Solution.
06-17-2009 07:38 AM - edited 06-17-2009 07:39 AM
You would need to get the time with the Get Date/Time in Seconds and also convert your string read to a numeric (i.e. Scan From String). You can use a chart inside the loop as long as you don't change the wait timewhile the for loop runs. Look at the example call Real-Time Char.
You've got some other problems. Don't use the Insert Into Array. In fact, the use of the shift register is completely unnecessary. Just wire the data out of the loop. Your inputs to the for loop are not wired to the shift register and the shift register is not wired to the VISA Write function.
06-18-2009 07:18 AM
Thank you very much for your reply. Sorry if i replied late.
I will try what you said and see if I can make it work and post any problems I may have.
Thank you