06-21-2012 03:17 AM - edited 06-21-2012 03:18 AM
Hi all,
I download the tktds3k Library from the Labview Database.
I am using this vi to get the data from the scope. The thing is the wavform that shown at the vi in the waveform graph is so quick that i didnot able to notice any thing.
I want that the vi waveform graph to show me the wave come in 1 hour interval. Means that if that new wave come, it donot overwright the previous one.
The output from the Read Wave form is the cluster of 3 element and I try but I donot understand how to treat it, so that i can get a waveform for about 1 hour.
Any Help about it.
Thank you
06-21-2012 05:37 AM
Please Any Help.....!!!!
06-21-2012 08:29 AM - edited 06-21-2012 08:30 AM
Do you have the scope's manual to understand how the scope works?
Using a driver VI blindly useless when it comes to a complicated equipment like an oscilloscope. Understand what commands are being sent and what these commands do.
06-21-2012 08:48 AM
yup you are right.
I read the manual and the driver i interface with the scope. Its VI is working fine and i am gettinga wave on the waveform graph.
I just want to adjust the x-axis so that i can view the whole 1 hour data. Having a program with 3 cluster element?
Means what should i do to this element so that i can see the whole 1 hour data. Use some buffer or someting else that store data???
06-21-2012 09:16 AM
You should take the LabVIEW 101 tutorial. Clusters are pretty elemental concepts. In this case, you have a cluster that consists of the waveform array, the initial x value, and the x increment. x is the time factor.
By design, a waveform graph has no history. Each time you write, the old data is overwritten. You could instead use a chart if you set the history setting large enough or use a shift register and a build array function to append the new waveform array to the old. Keeping one hour's worth of data in either a chart or graph is going to require quite a bit of memory with 10000 points with each acquisition. You will probably need to periodically save the save and clear the chart/graph. The VI you showed only takes a single reading and then stops. I hope you aren't doing something as silly as use the run continuous button. You would need a while loop to do multiple acquires and of course you will have gaps in the data since a continuous acquisition is not possible.
06-21-2012 09:23 AM
If you really want an hour's worth of data, you might want to look into using a DAQ card.