Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Agilent E4980A Query Interrupted

I've been working on the Agilent (Keysight) E4980A LCR meter using Labview 2014. I consistently get a "-410 query unterminated" error in my vi, and I traced it to the Read Measurement block. The Read Measurements block comes with the Labview package that can be downloaded from Keysight's website. I'm curious if anyone else has encountered this problem, and, if so, what is the best approach?

 

I've tried the different settings in the measurement length (short, medium, and long), and there is no change. I'm curious if maybe this comes from the fact that I am averaging six (6) measurements at each frequency. I've attached an older version of my vi (sorry I don't have access to my computer with Labview at this moment, and there aren't really any big changes that have affected the occurence of this error).

 

Thanks for your help!

0 Kudos
Message 1 of 6
(7,178 Views)

@jjameson18 wrote:

I've been working on the Agilent (Keysight) E4980A LCR meter using Labview 2014. I consistently get a "-410 query unterminated" error in my vi, and I traced it to the Read Measurement block. The Read Measurements block comes with the Labview package that can be downloaded from Keysight's website. I'm curious if anyone else has encountered this problem, and, if so, what is the best approach?

 

I've tried the different settings in the measurement length (short, medium, and long), and there is no change. I'm curious if maybe this comes from the fact that I am averaging six (6) measurements at each frequency. I've attached an older version of my vi (sorry I don't have access to my computer with Labview at this moment, and there aren't really any big changes that have affected the occurence of this error).

 

Thanks for your help!


You wrote that you got it working a few weeks ago.  http://forums.ni.com/t5/Instrument-Control-GPIB-Serial/query-unterminated-E4980/m-p/3169952#M69472

 

0 Kudos
Message 2 of 6
(7,170 Views)

This is actually a different error. That one was "-420 Query Unterminated", while this one is "-410 Query Interrupted".

0 Kudos
Message 3 of 6
(7,168 Views)

@jjameson18 wrote:

This is actually a different error. That one was "-420 Query Unterminated", while this one is "-410 Query Interrupted".


-410 Query Interrupted   Query interrupted is when you send a scpi query, then send another command before you read out all the data for the query

0 Kudos
Message 4 of 6
(7,163 Views)

Right, but what's weird is that this error is originating from a subvi issued by Agilent for direct use with the E4980A. Have you ever encountered this before? Is there a problem inside the Read Measurements subvi?

 

I suppose it might be advantageous for me to dissect this subvi and see if I can change the timing or something... I'm pretty new to Labview, so I was just hoping that someone here might have some advice for this situation.

0 Kudos
Message 5 of 6
(7,158 Views)

I rarely use drivers. I send the SCPI commands and queries that I want.

This forces me to understand what the instrument is doing.

It forces me to understand how the instrument works.

0 Kudos
Message 6 of 6
(7,085 Views)