LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

tktds3k Single channel Waveform Acquire Example Help

 

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

0 Kudos
Message 1 of 6
(2,910 Views)

Please Any Help.....!!!!

0 Kudos
Message 2 of 6
(2,901 Views)

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.

 

 

0 Kudos
Message 3 of 6
(2,895 Views)

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???

 

0 Kudos
Message 4 of 6
(2,890 Views)

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.

0 Kudos
Message 5 of 6
(2,883 Views)

If you really want an hour's worth of data, you might want to look into using a DAQ card.



There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 6 of 6
(2,878 Views)