06-18-2012 02:30 PM
Hello,
I am trying to automate an ECal using Labview. The PNA being calibrated is the N5242 from Agilent. I want to allow the user to proceed some settings but only if really needed. The goal is to avoid calibration errors. I started to implement the application to test the calibration and I receive the following error:
Error -1074001424 occurred at AGPNA Error Query;
instrument reports:
+192,"Guided cal initialization failed."
I looked on the web but I couldn't find any answer to my problem. I also saw the VBScript which I am using to know the process. However, I don't know how to use the script and if I could make it editable using button by the user. I hope that I am clear enough. I attached the code.
Thank you for your help
06-18-2012 03:00 PM
Can you post your VI in version 8.6?
06-18-2012 03:06 PM
I hope I did it correctly. I am a beginner with labview. Sorry
06-18-2012 03:48 PM
It looks like you have several subVIs which weren't included.
I would suggest that you put a probe at the output of each of your subVIs.
The error propogates through, so this will pinpoint where your problem is.
06-18-2012 04:03 PM
Yes. I am using the pallete from the PNA Agilent Series. I did it but I can't outline the problem.
I attached 2 pictures of the where the problem come from but I don't understand what is wrong.
06-18-2012 04:11 PM
Here we can see that the PNA react to the commands
06-19-2012 08:34 AM - edited 06-19-2012 08:34 AM
You'll need to contact Agilent.
I have done Guided ECal on the same PNA before except we used DCOM commands with VB6, but the steps are the same.
I would suggest that you manually send each SCPI command using VISA Interactive Control in MAX and see what is the problem. I suspect that something earlier is not configured propertly.
06-19-2012 08:36 AM
Thank you for your help. I then used another PNA and it seems to work. I don't understand why. I will do more test today to confirm it. I contacted agilent but they asked me to contact NI.
I hope the problem is fixed.
Thank you
06-19-2012 08:54 AM
Perhaps the firmware version in the two PNAs are not the same.
06-19-2012 10:29 AM
When you perform the calibration with Labview, is there a way to do the "Adapter Removal" calibration? I don't find any option for this. I am not sure to process the calibration correctly. Can you have a look and tell me what you think about? Sorry for asking this but I never worked with Labview before this and not much more with a PNA. How can I automate the ECal confidence check? Is there any option on Labview?
Thank you.