Thread: N1912 P-Series using vba


Permlink Replies: 3 - Pages: 1 - Last Post: Nov 30, 2011 3:54 PM Last Post By: lynchdavidb
martin.harris

Posts: 2
Registered: 11/28/11
N1912 P-Series using vba
Posted: Nov 28, 2011 2:34 PM
Click to report abuse...   Click to reply to this thread Reply
Hi
could you tell me if it is possible to automate testing using excel vba i have used this method for ena testing by moding your ctrl lan vba program
i would like to populate a excel test sheet with rise and fall time plus a marker point value.
Thanks in advance for any assistance
lynchdavidb


Posts: 39
Registered: 08/21/08
Re: N1912 P-Series using vba
Posted: Nov 28, 2011 4:25 PM   in response to: martin.harris in response to: martin.harris
Click to report abuse...   Click to reply to this thread Reply
Yes, you can use VBA to program the N1912A. You can use the SCPI commands that are in the N1912A Programming Guide to actually setup and read the data from the power meter. The SCPI commands provide all the power you should need to automate the measurements.

Unfotunately I don't have any programming examples in VBA that I can show you. But shouldn't have much of a problem with this.
martin.harris

Posts: 2
Registered: 11/28/11
Re: N1912 P-Series using vba
Posted: Nov 30, 2011 1:49 PM   in response to: martin.harris in response to: martin.harris
Click to report abuse...   Click to reply to this thread Reply
Thanks for reply would the ctrl lan coding work with the N1912A as an initial lan link apologies if this is a dumb question as i'm just getting into writing code and my experience is limited.
Or could i link via usb if you have any examples for either that would be great or point me to which guides i need to be swotting up on, also if i go the usb route would i need anything other than a standard cable to join the pc to the N1912A.
again thanks for your help
lynchdavidb


Posts: 39
Registered: 08/21/08
Re: N1912 P-Series using vba
Posted: Nov 30, 2011 3:54 PM   in response to: martin.harris in response to: martin.harris
Click to report abuse...   Click to reply to this thread Reply
I am sorry but I don't have any examples of linking. But you might try the Agilent Response Center; 1-800-829-4444 or tcc_ots@agilent.com. They provide free support including programming. They might have some examples.

Point your RSS reader here for a feed of the latest messages in all forums