Tom,
Â
Thanks for the example prog. I already tried "STAT:OPER:COND?" but it's the same problem as ":PROG:STAT?". Bit 14 is NOT set when the macro is running and waiting for the user to press a button, although it appears to be set when the macro is actually doing something. So it won't work for me; I need to wait until the macro has finished completely.
Â
I'm going to try a solution along the lines of OJ's suggestion, namely send "SENS:CORR:STAT OFF" before I start the macro and then break when ":SENS:CORR:STAT?" returns 1. Will let you know if it works. But that solution is specific to the macro I want to run; a general solution would be nice.
Â
Regards,
Warren
 _____ Â
From: SILCHIA,TOM (A-USA,ex1) [mailto:tom_silchia@agilent.com]
Sent: 13 June 2006 17:25
To: VRF
Subject: RE: [vrf] E5070B ENA VBA Macro
I am working a similar request with another customer. There exist a "Macro Running" status bit. Look at monitoring / querying BIT 14 of the output "STAT:OPER:COND?". You can break on bit 14 being 0 or 1 depending if you want macro running (or not) indications. This is a bit in-efficient, but works. See sample.
Â
The item I have NOT been able to get working is for this to assert an SRQ via the mask of the *SRE 128 combined with a mask of "STAT:OPER:ENAB 16384".
Â
Hope this helps.
Â
Agilent Technologies has a new user forum that is focused on network analysis applications and products . Be sure to visit the forum at http://atgforums.ate.agilent.com/phpbb2/ the next time you're on-line.
Sincerely,
Tom Silchia
Agilent Technologies, Inc.
Americas Contact Center
800 829-4444
Â
 _____ Â
From: Pickles, Warren [mailto:Warren.Pickles@tycoelectronics.com]
Sent: Tuesday, June 13, 2006 9:11 AM
To: VRF
Subject: [vrf] E5070B ENA VBA Macro
Hi,
Does anybody know how to get VEE to detect when a VBA macro, running on an Agilent E5070B / E5071B ENA, has finished running? I can launch the macro from VEE OK, but I can't tell when it's finished.
The :PROG:STAT? query seemes the obvious solution but in fact this returns "RUN" when the macro is actually doing something, and returns "STOP" when the macro is waiting for a button press. So from VEE, you can't tell the difference between macro not running and macro waiting for button press.
I tried messing in the status registers but I got essentially the same story.
I'm running the Ecal Assistant macro which ships with the ENA. Seems to be the only way to do a proper three or four port cal using just a two port Ecal. I don't really want the operator to have to switch attention between the PC screen and the ENA screen. My VEE prog has a dialog saying "Run the Ecal Assistant and press OK when finished" and if they press OK before they're finished, the whole thing falls over.
My alternatives are get VEE to send key presses to the macro, or reverse engineer the macro in VEE, both of which sound like major undertakings.
Regards,
Warren Pickles
---
You are currently subscribed to vrf as: tom_silchia@agilent.com
To subscribe please send an email to: "vrf-request@lists.it.agilent.com" with the word subscribe in the message body.
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".
Search the "unofficial vrf archive" at "www.oswegosw.com/vrf_archive/".
---
You are currently subscribed to vrf as: Warren.Pickles@tycoelectronics.com
To subscribe please send an email to: "vrf-request@lists.it.agilent.com" with the word subscribe in the message body.
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".
Search the "unofficial vrf archive" at "www.oswegosw.com/vrf_archive/".
---
To subscribe please send an email to: "vrf-request@lists.it.agilent.com" with the word subscribe in the message body.
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".
Search the "unofficial vrf archive" at "www.oswegosw.com/vrf_archive/".
Â
Thanks for the example prog. I already tried "STAT:OPER:COND?" but it's the same problem as ":PROG:STAT?". Bit 14 is NOT set when the macro is running and waiting for the user to press a button, although it appears to be set when the macro is actually doing something. So it won't work for me; I need to wait until the macro has finished completely.
Â
I'm going to try a solution along the lines of OJ's suggestion, namely send "SENS:CORR:STAT OFF" before I start the macro and then break when ":SENS:CORR:STAT?" returns 1. Will let you know if it works. But that solution is specific to the macro I want to run; a general solution would be nice.
Â
Regards,
Warren
 _____ Â
From: SILCHIA,TOM (A-USA,ex1) [mailto:tom_silchia@agilent.com]
Sent: 13 June 2006 17:25
To: VRF
Subject: RE: [vrf] E5070B ENA VBA Macro
I am working a similar request with another customer. There exist a "Macro Running" status bit. Look at monitoring / querying BIT 14 of the output "STAT:OPER:COND?". You can break on bit 14 being 0 or 1 depending if you want macro running (or not) indications. This is a bit in-efficient, but works. See sample.
Â
The item I have NOT been able to get working is for this to assert an SRQ via the mask of the *SRE 128 combined with a mask of "STAT:OPER:ENAB 16384".
Â
Hope this helps.
Â
Agilent Technologies has a new user forum that is focused on network analysis applications and products . Be sure to visit the forum at http://atgforums.ate.agilent.com/phpbb2/ the next time you're on-line.
Sincerely,
Tom Silchia
Agilent Technologies, Inc.
Americas Contact Center
800 829-4444
Â
 _____ Â
From: Pickles, Warren [mailto:Warren.Pickles@tycoelectronics.com]
Sent: Tuesday, June 13, 2006 9:11 AM
To: VRF
Subject: [vrf] E5070B ENA VBA Macro
Hi,
Does anybody know how to get VEE to detect when a VBA macro, running on an Agilent E5070B / E5071B ENA, has finished running? I can launch the macro from VEE OK, but I can't tell when it's finished.
The :PROG:STAT? query seemes the obvious solution but in fact this returns "RUN" when the macro is actually doing something, and returns "STOP" when the macro is waiting for a button press. So from VEE, you can't tell the difference between macro not running and macro waiting for button press.
I tried messing in the status registers but I got essentially the same story.
I'm running the Ecal Assistant macro which ships with the ENA. Seems to be the only way to do a proper three or four port cal using just a two port Ecal. I don't really want the operator to have to switch attention between the PC screen and the ENA screen. My VEE prog has a dialog saying "Run the Ecal Assistant and press OK when finished" and if they press OK before they're finished, the whole thing falls over.
My alternatives are get VEE to send key presses to the macro, or reverse engineer the macro in VEE, both of which sound like major undertakings.
Regards,
Warren Pickles
---
You are currently subscribed to vrf as: tom_silchia@agilent.com
To subscribe please send an email to: "vrf-request@lists.it.agilent.com" with the word subscribe in the message body.
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".
Search the "unofficial vrf archive" at "www.oswegosw.com/vrf_archive/".
---
You are currently subscribed to vrf as: Warren.Pickles@tycoelectronics.com
To subscribe please send an email to: "vrf-request@lists.it.agilent.com" with the word subscribe in the message body.
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".
Search the "unofficial vrf archive" at "www.oswegosw.com/vrf_archive/".
---
To subscribe please send an email to: "vrf-request@lists.it.agilent.com" with the word subscribe in the message body.
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".
Search the "unofficial vrf archive" at "www.oswegosw.com/vrf_archive/".
Hi All
I need to SP-L (Split phase - level) modulate a tone at around 2Ghz. I do not believe the agilent ESG E4436B digital synth has the ability to produce this modulation scheme as standard.
>From what i have read, SP-L refers to the encoding scheme (split phase level). Effectively it uses manchester encoding of the input data stream. e.g a "0" becomes "01" and a "1" becomes "10" so effectively the data is carried in the transition between levels for each bit rather than in the level itself.
Using the manchester encoded data gives a double sidetone modulation shape in the frequency spectrum with a dip at the CF (similar to BPSK i think?)
I wish to use the standard PRN15 data sequence which I now can be generated internally from the ESG and also this is a format that the BER meter option recognises.
If required i have no problem generating the PRN 15 data stream myself, and could also manchester code this to (for instance) produce an excel sheet with the data but i do not know about the practicalities of how to produce the I&Q component data in the format required by the ESG E4436B generator in order to make use of the realtime I&Q BBand option. (option UN8 i think).
If anyone has ever generated the data stream for this encoding/modulation scheme or knows how to do it, then their help would be much appreciated.
As i have said in a previous "help!" request to the VRF - I do not know much about digital modulation techniques, so be gentle! I have no real idea about how to even begin to generate the I&Q reqd to synthesize my reqd signal. Any practical "hand holding" much appreciated
Also i would like to be able to use the E4436Bs internal BER meter to complete the loop and test my DUT for bit error. however i understand that if i encode my PRN15 sequence to manchester code (externally to the ESG generator, then the BER meter will not be of any use (it only understands standard PRN9 and PRN15 sequnces). If anyone knows a way of still using the BER option then that would be great.
Thats about everything, any help gratefully recieved
regards, Chris Tanner
==--==--==
This email and any files transmitted with it are in confidence and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company. Finally, the recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.
---
You are currently subscribed to vrf as: rsb@soco.agilent.com
To subscribe please send an email to: "vrf-request@lists.it.agilent.com" with the word subscribe in the message body.
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".
Search the "unofficial vrf archive" at "www.oswegosw.com/vrf_archive/".