Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

VISA Interactive Control & VISA Read Timeout expired

Solved!
Go to solution

VISA Control gurus,

I am trying to communicate with my AGILENT N8300A Wireless Test Set.

I am able to do the same via NI VISA Interactive Control ...

(Attached is the pic)

 

But, if I tried do the same with a example program ....

(Also attached below)...program shows a

VISA:  (Hex 0xBFFF0015) Timeout expired before operation completed.

 

I have tried using both Async and Sync mode in the VI... VISA Read.

But it always shows timeout error.

 

I am not able to understand what might be the difference if it is working fine

in NI VISA Interactive Control but not in my program

 

Any help or pointers would be appreciated ........ Smiley Wink

 

Regards,

Dharmendra

Download All
0 Kudos
Message 1 of 3
(4,524 Views)
Solution
Accepted by topic author RF_Buzzer

Hi

 

very good that you added the vi.

You add a CR instead of a Linefeed.

 

You can do that in the string by selecting "\" display mode for the string constant you can use the string shown in your comment as the string constant.

 

good luck

greetings from the Netherlands
Message 2 of 3
(4,496 Views)

Hello Albert,

 

From your answer to RF_Buzzer, I believe you can help me understand the difference from Visa Interactive Control and LabVIEW.  Your help would be appreciated.

 

When I use GPIB Write and Read (with visa vi) in VISA Interactive Control, I get the full read back.  But with Labview, I dont get the full read back.  Eventthough both Labview and VISA Interactive Control is using the VISA vi to read and write.

 

from the attachments you will see...

With VISA Interactive Control, I get the following read: "FLUKE,8845A,9964003,02/14/08-08:54\n"

But with Labview, I get the following read: "FLUKE "

 

I am not sure why there is a difference, can you please explain?

 

 

 

 

thank you very much!

srawas

Download All
0 Kudos
Message 3 of 3
(4,309 Views)