Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Timeout expired before operation completed(0xBFFF0015 (VI_ERROR_TMO)

Hi all,
 
I am getting Time out Expired error in Serial communication( Using RS-485).Attached is the captured SPY data.
 
I am having USB to RS-485 module and Communicating between Port1 and Port2.All serial settings are same.
Some Times it gives valid message and Sometimes not.
Can anybody Help me out in this.
 
Thanks in Advance.....
 
0 Kudos
Message 1 of 4
(5,639 Views)
Hey lv1!

How are you doing?  When programming a serial device through the VISA layer, the use of SCPI commands are required. However, there are additional requirements when the communication bus used is not GPIB: you must add a termination character such as a Line feed (LF) or a carriage return (CR).

To accomplish this, either explicitly append a termination character onto the end of each command,  or set a global attribute of the VISA session to automatically append a termination character.
Best Regards,
Song Mu
National Instruments San Diego
0 Kudos
Message 2 of 4
(5,611 Views)

Hello,

I am using GPIB usb but still i am getting time expired before operation completed. I have to capture a screen shot of instrument's screen and wanted to save on PC. I am using agilent's Spectrum ESA series.

Thanks in advance...

Pals 

0 Kudos
Message 3 of 4
(4,913 Views)

Hello

I have the same problem, I'm using the drivers for the lock-in amplifier Stanford Research SR850 and capturing data through the GPIB Controller for Hi-Speed ​​USB.

I read that the error is caused because the default of 2000 ms is not enough and must be changed.

Since I am using the drivers, not much about VISA I wonder if I can help and tell me what you specifically I have to modify and if necessary to modify it in each of the functions of the drivers.

Thanks, VanFer

0 Kudos
Message 4 of 4
(4,605 Views)