Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

VISA: (Hex 0xBFFF001) Timeout expired before operation completed. I am receiving this error when executing a VI (instrument is configured to be remotely controlled using TCP/IP)

Solved!
Go to solution

VISA: (Hex 0xBFFF001) Timeout expired before operation completed. I am receiving this error when executing a VI (instrument is configured to be remotely controlled using TCP/IP)

 

Please suggest a solution.

0 Kudos
Message 1 of 4
(4,676 Views)

@Abhishekagarwal wrote:

VISA: (Hex 0xBFFF001) Timeout expired before operation completed. I am receiving this error when executing a VI (instrument is configured to be remotely controlled using TCP/IP)

 

Please suggest a solution.


What exactly are you doing in this VI?

0 Kudos
Message 2 of 4
(4,661 Views)

If connecting the instrument with SCPI-RAW (or simple SOCKET) protocol rather than VXI-11 or HiSLIP, you need:

 

1) Append an LF (0x0A) terminater for each command to send

2) Enable VI_ATTR_TERMCHAR_EN attribute in order to terminate reading with the termination character that is specified by VI_ATTR_TERMCHAR attribute (default 0x0A)

 

If 1) is not set, the command will not be understool by the instrument. If 2) is not set, the instrument may be sending a response but your VISA app doesn't know how to terminate reading.

 

This is common for all 488.2 and SCPI instruments. When different cases adjust the termination condirion considering your instrument spec.

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