LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Timeout error - VISA Write

Hello, I am using Labview to control a Keysight E36104A. The latter is connected via Ethernet to a ethernet switch together with other HW, the laptop and a cRIO from NI. The Keysight is configured with a static IP (as well as the laptop and cRIO). 

When I try to initialise the HW with a VISA Session via Labview, I receive a timeout error code from Labview and error -103 (Invalid Separator) from the PSU. 

Do you have suggestions?

 

I have already tried to call the VISA session as specified on the user manual of the HW (TCPIPO::192.168.*.*::inst0::INSTR or TCPIPO::192.168.*.*::5025::SOCKET) and I am using Labview drivers for E36100 Series. 

When I query IDN?/n or Open the Visa Session the HW replies. Nevertheless., "Write" VISA session is unsuccessful. 

Thanks.

0 Kudos
Message 1 of 3
(1,236 Views)

Can you actually post your code?  File is best, screenshot is better than nothing.

 

Error -103 makes it sound like the instrument is not getting a valid command.  Like, maybe you're actually sending "*IDN?\n", where the "\" and the "n" are literal and not a newline.  

 

Also, are you sending to "TCPIPO" (ends in the letter O) or "TCPIP0" (ends in the number zero)?  You typed the "letter" version here, but it needs to be a zero.

0 Kudos
Message 2 of 3
(1,225 Views)

Hi, thanks for your help.

I have attached the VIs and Keysight library (some screenshots as well). If you need any further information, please do not hesitate to ask.

 

The TCPIP0 is ending with zero, sorry for the typing mistake.  

I agree with you, it looks like I am sending a wrong command. Nevertheless, I cannot find what it is wrong. 

 

0 Kudos
Message 3 of 3
(1,173 Views)