LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Speed problems with oscilloscope vi

I'm a student attempting to record voltage measurements sampled at
1khz, but am having trouble getting the vi to run quickly enough (or
so it appears). The DAQ board is a 6052E series, connected to SCXI
modules 1120 and 1121, programmed in Labview 7.0.

I have added small chunks of code to the standard 2 Channel
Oscilloscope vi which should allow the data to be picked up from the
2-d data array and temporarily stored in a queue with a user definable
max size. The problem is that the program appears to save only about
a tenth to a twentieth of the actual data which should be recorded.
At present, the signal is coming from a signal generator, creating a
pulse within the allowable limits for the hardware.

It seems as if this is a prog
ram which would be relatively widely
used, but so far I have been unable to find anything that fits my
needs. If anyone has any thoughts or snippets of code which might
shed some light on the subject they would be greatly appreciated.
Thanks in advance.

Joel
0 Kudos
Message 1 of 2
(2,745 Views)
How are you temporarily storing this data?
If you like the interface and wish to store a snapshot of the graph data on the screen add a case attached to a button that will write the current data to a file whenever you ask.
HOWEVER-- if you wish to acquire a continuous stream of data you SHOULD NOT USE THIS VI.
Utilize the DAQ Assistant and the examples provided with LV7 to get this to work.
You can not get a continous acquisition of data using this VI, just as you can not with a real wiggle-scope.

Use the LV7 DAQ examples to learn how to acquire the data and it's up to you to make the user interface that works best.
0 Kudos
Message 2 of 2
(2,745 Views)