09-30-2015 01:34 PM
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.
09-30-2015 03:21 PM
How do you know that the XPS-Q8 responds to *IDN? query ?
09-30-2015 03:50 PM
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.
09-30-2015 04:15 PM - edited 09-30-2015 04:16 PM
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 ![]()
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.
09-30-2015 06:57 PM - edited 09-30-2015 06:57 PM
@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.
09-30-2015 07:11 PM