Hello VRF,
I am working on the PNA portion of my program and want to use COM to
transfer the data and control the analyzer. I have the vee_com.vee and it
works for getting the Corrected data. I need to get the (dB, Phase) output
array. I have a two part question. First what parameters do I put in there.
Second is there somewhere that has a complete list that is E8363A(B)
specific.
This is from the vee_com.vee;
data=meas.getData(naCorrectedData, naDataFormat_LogMag);
naCorrectedData, naDataFormat_LogMag. Where do I find these parameters.
I also see "IArrayTrans.getPairedData" in the Com versus SCPI document.
Should I use this? Is there something with a little more detail?
Does Agilent have any training for advanced VEE users for this. Also an
ActiveX Vee class would be nice. Not the Half day in the advanced VEE class
though, I have already had that.
Thanks,
Mark Goldberg
RF/Antenna Engineer
Millimeter Wave & RF Design
<<...OLE_Obj...>>
ATK Missile Systems Company LLC
21050 Califa Street
Woodland Hills, CA 91367
TEL: 818 887-0844 x 178
FAX: 818 887-2366
Mark.Goldberg@atk.com
---
You are currently subscribed to vrf as: rsb@soco.agilent.com
To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list, email "vrf@agilent.com".
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".
I am working on the PNA portion of my program and want to use COM to
transfer the data and control the analyzer. I have the vee_com.vee and it
works for getting the Corrected data. I need to get the (dB, Phase) output
array. I have a two part question. First what parameters do I put in there.
Second is there somewhere that has a complete list that is E8363A(B)
specific.
This is from the vee_com.vee;
data=meas.getData(naCorrectedData, naDataFormat_LogMag);
naCorrectedData, naDataFormat_LogMag. Where do I find these parameters.
I also see "IArrayTrans.getPairedData" in the Com versus SCPI document.
Should I use this? Is there something with a little more detail?
Does Agilent have any training for advanced VEE users for this. Also an
ActiveX Vee class would be nice. Not the Half day in the advanced VEE class
though, I have already had that.
Thanks,
Mark Goldberg
RF/Antenna Engineer
Millimeter Wave & RF Design
<<...OLE_Obj...>>
ATK Missile Systems Company LLC
21050 Califa Street
Woodland Hills, CA 91367
TEL: 818 887-0844 x 178
FAX: 818 887-2366
Mark.Goldberg@atk.com
---
You are currently subscribed to vrf as: rsb@soco.agilent.com
To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list, email "vrf@agilent.com".
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".
Go to help and read "Configure for COM-DCOM Programming, Register the PNA Type Library on Your PC"
where it will tell how to load the pnaproxy.exe. (under Program Files Agilent Network Analyzer Automation)
If you run the pna_proxy.exe it will register the type library, then in VEE you select menu:
Device : Active X References
It will take a little while (like 1 minute), then you will see a giant list of stuff. Look for:
Agilent PNA Series 1.0 Type Library (might be a higher number, depending on rev).
Select this then OK.
Now, under Device, select Function and Object Browser, then select Active X objects.
You should see the PNA listed as AgilentPNA835x, along with a lot of objects and methods.
Under Class: select Measurement, then under Member select GetData and create call. You will see the formula
box created. You're probably here already, because you have the correct call in your message below.
Now you need to get your enums: Look under Class, at the very bottom of the list, there are a bunch of enums for NAxyz.
Select one for naDataFormat, and you will see a bunch of enumerations. Pick one you want (like naDataFormat_LogMag) and you will see that it is a constant with value 1.
You can create a formula, and execute it, and it will return a 1.
My friend (who shall remain nameless) who knows everything about PNA COM/DCOM seems to think this is obvious for anyone who knows about active X, but I still have a little trouble with these things.
You can also get all this by copying the help file from the PNA harddrive, under c:Winnthelppnahelp.chm. I have this on my short list of programs that I use all the time. (I found the location by looking up "help" in help, and they have a paragraph on copying help to your PC).
If you look in help, programming, com object model, measurement and skip down to GetData, click on it and you will see everything you need. The help is really the best I've ever seen in any product (still not perfect, but very good).
If you don't find what you need, send me a note and if I can't help you, I can always go ask "she who will remain nameless" (just so she doesn't get flooded with too much stuff).
Best regards,
Joel
-----Original Message-----
From: Goldberg, Mark [mailto:Mark.Goldberg@ATK.COM]
Sent: Thursday, November 06, 2003 9:50 AM
To: VEE vrf
Subject: [vrf] COM control for E8363
Hello VRF,
I am working on the PNA portion of my program and want to use COM to
transfer the data and control the analyzer. I have the vee_com.vee and it
works for getting the Corrected data. I need to get the (dB, Phase) output
array. I have a two part question. First what parameters do I put in there.
Second is there somewhere that has a complete list that is E8363A(B)
specific.
This is from the vee_com.vee;
data=meas.getData(naCorrectedData, naDataFormat_LogMag);
naCorrectedData, naDataFormat_LogMag. Where do I find these parameters.
I also see "IArrayTrans.getPairedData" in the Com versus SCPI document.
Should I use this? Is there something with a little more detail?
Does Agilent have any training for advanced VEE users for this. Also an
ActiveX Vee class would be nice. Not the Half day in the advanced VEE class
though, I have already had that.
Thanks,
Mark Goldberg
RF/Antenna Engineer
Millimeter Wave & RF Design
<<...OLE_Obj...>>
ATK Missile Systems Company LLC
21050 Califa Street
Woodland Hills, CA 91367
TEL: 818 887-0844 x 178
FAX: 818 887-2366
Mark.Goldberg@atk.com
---
You are currently subscribed to vrf as: joel_dunsmore@agilent.com
To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list, email "vrf@agilent.com".
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".
---
You are currently subscribed to vrf as: rsb@soco.agilent.com
To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list, email "vrf@agilent.com".
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".