Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Error -1073807339 in VISA: Read in Paolo2.vi Possible Cause: VISA: (Hex 0xBFFF0015) Timeout before the Process could be completed

Hi everyone!

 

I'm programming using LV8.6 and I've been trying for days now to get readings from a HP5464D Mixed Signal Storage Oscilloscope, unfortunately without much success. 

This is where the problem is: In the "Read and Display Waveform (Paolo2.vi)" VI:

 

 problem.JPG

The error occurs when the "Visa Read" block tries to read data from the oscilloscope. The error code is:

 

Error -1073807339 in VISA: Read in Paolo2.vi  Possible Cause:  VISA:  (Hex 0xBFFF0015) Timeout before the process could be completed

 

Does anyone have an idea what the problem could be? The program writes to the oscilloscope just fine, it simply can't read.

 

I've attached the VI too.

 

I would really appreciate any sort of help, I'm working on this alone and don't know what more to do!!

 

Thanks a lot guys!

 

Paolo

 

 

0 Kudos
Message 1 of 5
(4,255 Views)

Hi

 

is it really HP5464D? I can't find it on the agilent website.

maybe a HP 54645D Mixed-Signal oscilloscope ?

for that one are two drivers available on

http://sine.ni.com/apps/utf8/niid_web_display.download_page?p_id_guid=E3B19B3E92D6659CE034080020E748...

 

so maybe check those drivers

 

 

greetings from the Netherlands
0 Kudos
Message 2 of 5
(4,241 Views)

Hello Albert,

 

thanks a lot for your reply. And you're right, I forgot a "5", my device is a HP 54645D.

 

I have the newest driver for my version of LV (8.6), but I just can't get the VI to work properly!! I don't understand what I#m doing wrong.

 

For example, in all the sub-VIs, they use abbreviated commands, such as "WAV:" instead of "WAVEFORM:" or ":TRIG:SOUR" instead of ":TRIGGER:SOURCE" etc, and I don't know if this is causing problems.

 

Also, in the "READ WAVEFORM" VI, I get an error message:

 

Warnung 1073676294 ist bei VISA: Lesen in HP54645D Read Waveform.vi->HP54645D_Paolo_working_2.vi aufgetreten

Mögliche Ursachen:

VISA:  (Hex 0x3FFF0006) Es wurden weniger Bytes übertragen als angefordert. Möglicherweise sind noch weitere Daten verfügbar.

 

which basically says that:

 

ERROR CODE: 1073676294

 

WARNING: ...

Possible Cause:

VISA:  (Hex 0x3FFF0006) Fewer Bytes were transmitted than were requested. There is possibly still data available.

 

Picture:

 

working_2.JPG

 

 

Could you please take a look at my VI?? I really don't know how else to proceed.

 

My latest VI is also included.

 

I would really appreciate any sort of help!! 🙂

 

All the best and lots of greetings from Duisburg!!

 

Paolo

 

0 Kudos
Message 3 of 5
(4,182 Views)

Hi

 

I'm sorry to disappoint you, but a warning is not an error.

An error only is a real error when the error boolean shows true.

In this case you get an annoying warning that tells you only to ignore it.

 

The shorter way of writing is OK. When you look in the manuals you see often in bold the needed part and in normal style the rest of the string.

Both are allowed.

 

Regarding the real timeout , maybe your instrument is not yet finished mesuring?

 

Good luck

greetings from the Netherlands
0 Kudos
Message 4 of 5
(4,167 Views)

Dear Albert,

 

thanks a lot for your reply. Your info has helped me a lot with my understanding!

 

I have isolated the problem and it occurs in the "Anolog Measurement.vi". As soon as the program makes it there the oscilloscope shows a message: "INVALID SEPARATOR" which I cannot trace to any of the commands that I'm sending it.

 

 

Analog_meas_vi.JPG

 

Do you have any idea what the problem could be? I can't read any data from the oscilloscope (the number of bytes [after sending the request] at the port is zero) and that's why (obviously) I can't display the trace on the VI.

 

I tried to include a time delay between the sending of the request and the reading of the requested data but that hasn't done much.

 

Where could I get help if you can't assist me?

 

Again, yours thankfully,

Paolo 

0 Kudos
Message 5 of 5
(4,158 Views)