Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Visa Hex0xBFFF0015 Read Time out error for TCP/IP connection

Hello

 

I am trying to connect a XPS-Q8 controller (from Newport) to my computer by TCP/IP connection. The instrument was not recognized by NI MAX and I had to add the instrument manually to the list. The IP address and the port number are validated according to NI MAX program, but unfortunetly I am receiving some error in the test panel page.

When I open the Visa test panel>> input and output>>*IDN?\n, there is no error in the write command but when I try to read command or query I receive this error message: Read Error, Visa (Hex 0xBFFF0015)Time out Expired before operation completed. Actually the return count is not 0 but still there is the read error message and I am not sure how to solve this problem.

I have tried different commands like *IDN?\r, changed the time out duration, but still I get an error message.  

Moreover, I have question about buffer operation in Visa test panel>> configuration >> buffer operation section. Is it OK that transmit and the set buffer are 0 or do I have to change them.

I have attached some snapshots from the NI MAX and the test panel.  

I will be really happy if someone can help me to solve this error message.

 

Thanks a lot for your help in advance.

 

0 Kudos
Message 1 of 6
(5,591 Views)

How do you know that the XPS-Q8 responds to *IDN? query ?

0 Kudos
Message 2 of 6
(5,582 Views)

I was not sure that *IDN? will work on my instrument so I tried other commands like CLS, RST too and again I receive an error message in case of Read and query but write is working with No Error.

 

0 Kudos
Message 3 of 6
(5,572 Views)

There is another thing that I just figure it out:

It is related to the Bytes to read value. I know this value depends on I/O setting>>timeout(ms) but I have tried different values for a fix 5000ms time to check the output. It was really intersting that sometimes there was an error message Visa ( Hex 0xBFFF0015), while sometimes there was another message indicating: Visa ( Hex 3FFF0006) or Visa ( Hex 3FFF0005).

And I got all these messages randomely only for 10 Bytes. Then I tried 30 Bytes and I thought there is going to be an error message while I receive this Visa ( Hex 3FFF0006) and again after several times I got  Visa ( Hex 0xBFFF0015) again Smiley Frustrated

I am not really sure what is going on, if there is a problem with timing why I receive different message from instrument after each run test. 

I have attached snapshot from my test page.

 

Download All
0 Kudos
Message 4 of 6
(5,566 Views)

@kaake wrote:

I was not sure that *IDN? will work on my instrument so I tried other commands like CLS, RST too and again I receive an error message in case of Read and query but write is working with No Error.

 


Guessing isn't a very useful activity.

 

0 Kudos
Message 5 of 6
(5,543 Views)
It's silly to make up commands and send them to the device. You need to read the manual. I don't see why you think idn, cls, etc. are supported. Have you downloaded the VIs that the manual mentions?
0 Kudos
Message 6 of 6
(5,539 Views)