LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

VISA Read error--timeout expired

I am using an Agilent MXA N9020A Signal Analyzer and want to send a screen capture to my PC.  One of the steps involves loading the screen capture file contents from MXA local storage into memory using the MMEMORY command.  I'm getting a VISA return status of Hex 0xBFFF0015 "Timeout Expired" with the following command: MMEMORY:DATA? 'D:\TEST.PNG'.  Even with a 10000 byte file and a delay of 2 minutes the timeout persists.  I'm sure I must be missing something obvious and any help will be appreciated! 

 

I've attached the VI snippet.

 

Thanks in advance,

Nina

0 Kudos
Message 1 of 5
(2,622 Views)

You should wire up the error wires between the VISA functions.

 

Should the commands you are sending have a termination character such as a carriage return, or line feed, or carriage return and line feed sent at the end of them?

 

10,000 bytes is a lot to request on the read.  Are you sure it is going to send you 10,000 bytes?  Is a termination character configured for this device that would end the read early if it received that character?

0 Kudos
Message 2 of 5
(2,618 Views)

Nathan--

 

Good points!  I'll give these a try.

 

Nina

0 Kudos
Message 3 of 5
(2,612 Views)

Who's Nathan?

0 Kudos
Message 4 of 5
(2,610 Views)

So sorry...early am and I was sleepy...thanks again!

0 Kudos
Message 5 of 5
(2,596 Views)