08-20-2012 04:19 AM
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.
Solved! Go to Solution.
08-20-2012 08:09 AM
@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?
08-21-2012 10:26 PM - edited 08-21-2012 10:29 PM
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.
08-22-2012 04:15 AM
Thanks a lot, it worked! 🙂