Hi Victrick,
thanks for willing to help me.
I am using labivew 7.0 to create a ramp voltage and reading both the increasing voltage and corresponding current for an experiment with PS 325 and a resistor.
My experiment requires me to set the voltage of PS 325 to increase at regular and measure the current at various times of the experiment. Later, i will combine these two data to create a I-V graph.
Now, i have set the increasing voltage, and i am concentrating on getting the strings of voltage data both written into a file and plotted into a graph (V against i). However, when i connect my X-Y graph to the strings, it will only plot a point at a time, not line. If i connect my graph to the spreadsheet string to array, i will only get my graph after a
ll the strings have been written into an array, after the whole run have finished.
However, i want it to be like:
As a string is written into the file, the graph will start plotting. Eventually, as the whole array is written, the whole graph will also finish plotting.
I tried connecting using waveform chart and waveform graph directly to the spreadsheet to array, and is able to give me a continuosly plotting graph, chart, but it will not be plotting accurately at times, as in, it will fluctuate from a positive value to a negative value of the same magnitude, or zero, or even not plotting what the Power supply's screen is showing. Using X-Y graph seems to give me no such problem, except that it will not plot continuously and also it will not clear itself automatically, despite its settings (clear on every call).
So, i thought maybe notifier may help, as in, synchronizing both the writing a string data into the file, and plotting of this string data into the X_Y graph one at a t
ime, not after collecting all the points.
Am i right in doing the above, or did i miss any point? Can using queue help me solve this? sorry for writing so long..
adeline