06-29-2019 12:27 AM
Labview 2015 failed to connect with Agilent 53220A I am trying to read the frequency detected by the Agilent 53220A in Labview2015 (NI-488.2 17.6 , NI-VISA 18.5, NI-SCOPE 18.7), with NI GPIB-USB-B I run the example provided by Agilent 532XX Series (Agilent 532XX Series Acquire Frequency.vi), in an old laptop, the example works well, but the computer is too old to deal with massive and fast Labview program, so I install the Labview into a new computer, (Labview 2015, NI-488.2 17.6 , NI-VISA 18.5, , NI-SCOPE 18.7) but an error occurred
-1074000000
instrument reports
-230 "data corrupt or stale"
-420"Query UNTERMINATED"
Any help please, thanks very much!
06-29-2019 10:30 AM
That error relates to the instrument itself and is not a LabVIEW error. Even if it was a LabVIEW error, there is nothing we could do to help solve it since you didn't attach any LabVIEW code.
I'm concerned about your phrase "massive and fast LabVIEW program". Massive programs generally aren't fast, and fast programs generally aren't massive. A program can be large and still be fast, but massive implies an overwhelming size and that it isn't a well written program.
If you think the size of the program has something to do with your issue, then create a very simple program that does just the minimum to communicate with the instrument and test that out. You did say you used an example that works well. If so, then apparently communication works, but perhaps the "massive" LabVIEW program is poorly written and is relying on special timing to communicate with the instrument that only worked correctly with the older, presumably slower laptop.
But, like I said, we can't help troubleshoot LabVIEW code when we can't see it.
06-29-2019 12:30 PM
Thank you very much, RavensFan, I think i didn't make that problem clear enough, in the old computer, the example works well, but in a new computer, the example did not work and this problem occured.
The two computer both has labvew 2015, NI-488.2 17.6 , NI-VISA 18.5, NI-SCOPE 18.7, the old computer(three old computer installed labview 2015 NI-488.2 17.6 , NI-VISA 18.5, NI-SCOPE 18.7 several months ago) worked well with both Agilent 53220A and 53230A (connected by GPIB-USB-B), but in the same condition, but in the same conditon, the same instrument and same GPIB-USB-B, the new computer(actually we tried in 4 computers ), the example just won't work, that bothered me.
By the way, the program we build need to deal with massive data, in the old computer, it is slow, so we bought several new computers with better CPU and large RAM, hope the program will run faster, sorry for the misunderstanding....
I attached the example, we cannot run the example in the new computer, thanks again for your answer, I am still trying to figure this problem out,
06-30-2019 11:23 AM
LabVIEW 2019 has just come out, and many people have not installed it yet. I, for one, can't open your VI because of that.
Do a Save for Previous to LabVIEW 2018 or older.
07-02-2019 05:39 AM
Thank you RavensFan, we have labview 2011, labview 2015 and labview 2019, in the new computer, they all report the same error when run the example(Agilent 532XX Series Acquire Frequency), but another example (Agilent 532XX Series Acquire Histogram) works well on the new computer. I think maybe the instrument faild to read or response to the command 'FETCH' because the commane 'FETCH' exist in the first example and in the NI Max I see the same error after I query the instrument with commaand 'FETCH'. I attached all the .vi files that can run in labview 2015.
I think you are right, the error relates to the instrument, in the NI max, the frequency counter was borrowed by someone so I can not debug these days.
Thank you very much for your answer,hope I can figure this problem out soon.
07-02-2019 05:48 AM
.VI files