08-15-2015 02:50 PM
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!
08-15-2015 03:08 PM
@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
08-15-2015 03:10 PM
This is actually a different error. That one was "-420 Query Unterminated", while this one is "-410 Query Interrupted".
08-15-2015 03:24 PM
@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
08-15-2015 03:29 PM
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.
08-15-2015 05:19 PM
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.