Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

VISA: (HEX 0XBFFF0015) Timeout expired before operation completed

Solved!
Go to solution

image (1).png

I connect my electrometer with TCPIP SOCKET and use VISA test panel input/output.

 

image.png

When I tested write, clear operation, could see clear message at Return Data.

However, when reading, it was confirmed that the following error message (VISA: (HEX 0XBFFF0015) Timeout expired before operation completed) appeared.

I don't know how to get rid of this message.

Please help.

 

Thank you.

0 Kudos
Message 1 of 6
(3,713 Views)

Hello

Does the instruments used support IDN command?(*IDN?)
If it is not supported, there will be no response and it will time out.
If it is supported but times out, the termination character(CR or LF or CR+LF) may be incorrect.

0 Kudos
Message 2 of 6
(3,698 Views)

Hello

Thank you for your advice

 

I checked my instrument's manual (Keithely 6517b). It supports IDN command(*IDN?).

Also I tried the termination character (CR[\r] or LF[\n] or CR+LF[\r\n]), the results are same as previous problem.

Is there other solutions of this problem?

Please let me know.

 

Thank you.

0 Kudos
Message 3 of 6
(3,675 Views)

I looked at the 6517B datasheet, but it doesn't seem to have a LAN interface.

I don't think you can use SOCKET communication with this, but how do you connect your computer to the 6517B?

6517b back.png

0 Kudos
Message 4 of 6
(3,666 Views)

I used prologix gpib ethernet converter and connected 6517B to LAN.

Also I connected to SOCKET because I could not connect 6517B by auto LAN instrument.

 

JinyongKim_2-1639216190869.png

0 Kudos
Message 5 of 6
(3,663 Views)
Solution
Accepted by JinyongKim

Prologix controllers cannot be treated like regular GPIB controllers such as NI.
Please see the manual for details.
(http://prologix.biz/downloads/PrologixGpibEthernetManual.pdf)

[Main items that require individual operations]
-GPIB address specification
You need to specify the GPIB address to connect to for the Prologix controller. (++ addr command)

-Disable Auto read
The Prologix controller has a mode that automatically tries to read the response, but since some commands do not respond, it is recommended to disable it in the setting and send the read command individually. (++ auto 0 command)

・ Read command
If read is required, the ++ read command is required after sending the command. (There are three reading methods: until timeout / until EOI / until LF is received)

In addition, a separate license must be purchased to use NI-VISA without using NI hardware. (NI-VISA is not free)
(https://www.ni.com/en-us/shop/product/ni-visa.html)

0 Kudos
Message 6 of 6
(3,648 Views)