07-31-2006 05:45 PM
08-02-2006 09:32 AM
08-02-2006 09:46 AM
08-02-2006 09:53 AM
08-02-2006 09:55 AM
08-02-2006 02:10 PM
08-03-2006 03:52 PM
08-04-2006 09:46 AM
I am using LabVIEW 8.0.
Starting with the 'lcwave Acquire Waveform In Loop.vi' example I modified it to do kind of what I want. I removed the 'lcwave Autosetup.vi' and setup the 'lcwave Initialize.vi' to never reset the scope settings. By using the VICP protocol I can successfully communicate with the instrument and collect waveforms from any signal source.
I have set the scope up to record all signals it receives on channel one. Using the onboard area under the curve functions I can collected the area under the curve defined by the channel one signal and a preset gate on the instrument. The data taken is recorded by the instrument using the built in trend line features and is displayed using the 'Function 1' output. However, this built in trend function only has a memory buffer of 1000 samples (after 1000 samples have been taken it begins replacing older values with newer). I am hoping to use LabVIEW as a realtime data dump to record data for experiments that may result in 65,000 total samples being recorded.
At this point I have set up LabVIEW to identify 'Function 1' as it's source and I can successfully collect the trace associated with 'Function 1'. Using the 'WDT Get Y Value.vi' from LabVIEW, setting the 'Y Postition' to 1000 and wiring the output to the 'Write To Measurement File' express vi I can collect and record all the new numerical values given by the instrument (the numerical values are what I am really after).
My problem is this: When I set up the instrument to record the number of data points taken and compare this value to the number of data points recorded by LabVIEW I am finding that the Scope is out pacing LabVIEW, LabVIEW is missing samples. I have taken out all the programmable delays in the while loop of the vi. Is it possible to speed up the rate at which LabVIEW takes data from the Scope? Is it possible to set up LabVIEW to take all the data recorded by the Scope in 1000 sample intervals?
Thank you so much for your patient help, I greatly appreciate it.
-Andy
08-07-2006 11:19 AM
08-14-2006 06:14 PM