07-27-2012 11:12 AM
Hello,
I've donwloaded the labview driver (plug and play) for Agilent DSO1012 running in Labview 8.2. The oscilloscope is connected via USB to computer.
I was intended to acquire waveform continuously by running 'Agilent DSO1000 Series Acquire Waveform Continuously.vi'.
The vi can only be running for less than 20 seconds and it was always terminated by the following error:
Error -1073807339 occurred at VISA Read in Agilent DSO1000 series.lvlib:Wait for Acquisition Complete.vi ->Agilent DSO1000 series.lvlib:Read Waveform (Single).vi->Agilent DSO1000 Series Acquire Waveform Continuously.vi
Possible reason(s):
VISA: (Hex 0xBFFF0015) Timeout expired before operation completed.
Anyone could help me? I am new in controling instrument using Labview.
Rui DU
Solved! Go to Solution.
07-27-2012 11:55 AM
That error message means just what it says. That VI doesn't wait long enough before asking for data.
07-27-2012 12:36 PM
Are you able to use other VIs in that instrument driver? Specifically the ones that query for information, such as getting the current voltage scale.
07-27-2012 12:42 PM
Thanks for your answer.
How can I let the vi running continuously without termination by this error?
07-27-2012 01:03 PM
@mountain39 wrote:How can I let the vi running continuously without termination by this error?
Fix the cause of this error.
07-27-2012 01:15 PM
What is the VISA Timeout set to. You might simply need to increase it.
07-27-2012 01:24 PM
@mountain39 wrote:
Thanks for your answer.
How can I let the vi running continuously without termination by this error?
You didn't answer my question. Have you tried other VIs to make sure you can communicate with the instrument?
07-27-2012 02:43 PM
Thanks. I want to ask the question 'Specifically the ones that query for information, such as getting the current voltage scale.' I am not at lab, so I didn't check it yet.
I can make sure that the vi can communicate with the oscilloscope. Because the vi can control the instrument and can get several waveforms with right voltage and time. However, what I want is to acquire the waveform continuously, which means if I dont press 'stop' buttom on the front panel the vi can always show the waveform on the computer. Now, the problem is that the vi is always terminated after several seconds with the VISA Read error.
07-27-2012 03:11 PM
Do you have your context help window open and did you read what it says when you place your mouse over the Read Waveform function? If your scope is not triggering and acquiring, then you will get the timeout error. If you can acquire a single waveform and display it, you might need to add some scope configuration functions to the example you are using. I would assume you already changed the maximum time control to higher values.
07-30-2012 07:39 AM
Hi Dennis,
Thanks for your help.
The maxmium time is 10000 ms.
I tried another vi named 'Agilent DSO 1000 Series Edge Triggered Acquisition.vi' in the example. Using the default settting, I can acquire the same waveform as I observed with oscilloscope.
Now, I want to read the value of the voltage into computer. (DC signal around 3 V)
So I used 'Read Waveform Measurement' function to replace 'Read Waveform' function in the 'Agilent DSO 1000 Series Edge Triggered Acquisition.vi'. But I didn't get the value of voltage.
The error meassage is
Error -1073807339 occurred at VISA Read in Agilent DSO1000 series.lvlib:Wait for Acquisition Complete.vi ->Agilent DSO1000 series.lvlib:Read Waveform Measurment.vi->3 measure voltage.vi
Possible reason(s):
VISA: (Hex 0xBFFF0015) Timeout expired before operation completed.
Could you help me solve the problem. Thanks in advance.