Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

error query -410 in reading R&S fsp30 analyzer using agilent usb-gpib?

Solved!
Go to solution

Dear Ni users,

I am new to Labview. I am using labview 8.6.1 to get data from R&S fsp30 analyzer using agilent gpib usb 82357B. When I use the read trace VI provided by R&S, I got problem of error query code -410 and get only an array of 3 elements of data. Could some one help me to solve the problem sothat I can get true array of data?

 

Thanks in advance!

 

Jstin

0 Kudos
Message 1 of 5
(4,320 Views)
Solution
Accepted by jstin

That's an instrument specific error and should be explained in the manual.

 

If you need additional help, provide the error explanation and the code you are running. Someone with experience with the instrument may be able to see something.

Message 2 of 5
(4,315 Views)

Dear Mr. Knutson and Mr. Geven,

 

sorry for starting new thread. Actually it was by mistake.....

 

I used pdf because I thought it would be easy to download....

 

I can access the device by max it works ....

 

problem is how to know that instrument has finished resetting?

 

In instrument manual, the problem is described as: Error code: -410:  Query INTERRUPTED: The query has been interrupted.
Example: After a query, the instrument receives new data before the response has
been sent completely 

 

 I am confused what new data is received by instrument? 

 

Jstin

0 Kudos
Message 3 of 5
(4,293 Views)

Directly posting a png or jpg image is just as good as you creating a pdf file.

 

I'm not sure if there is a way to verify the instrument has finished the reset. You might want to see if the OPC (operation complete) is set. Otherwise, a fixed delay would have to be used.

 

I'm also not sure if the error is coming from you doing the read while the reset operation is in progress or something that the reset does to interupt the read query. either way, it just points out that parallel operations with a GPIB instrument are very tricky.

Message 4 of 5
(4,291 Views)

Dear Mr. Knutson and Mr. Geven,

 

greeting after long time!

 

I have created a VI (analyzer.vi) to read data from the spectrum analyzer. Now I want to use it as a method VI of class. So, I have added it to the class.

But till now I am not accessing any private data of the class from this added VI.

 

At first, I just try to run it from main.vi (please see the attachment: main.vi), but I am not able to see any change in the monitor though vi is accessing the

 

analyzer.

 

Could you please suggest me for this problem?

 

Thank you!

 

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