vrf Problems with deleting Library when vee.io changed during runtime ??? w/attachment this time

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

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.

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.

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.comTo 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/".

I have requirement to build a baseband waveform, generate the I & Q components of a BPSK modulated signal and download these to the ESG E4436B sig gen (with the realtime I&Q option).

I am told matlab is great for producing the required waveform and has the FFT required for generation of the inphase and quadrature data that the ESG requires. However i am completely unfamiliar with Matlab, I am fairly familiar with VEE (6.0). Can the same thing be achieved with VEE, after all it has the matlab engine and can accept matlab commands. I understand that matlab has particular toolboxes for doing such dedicated things so this may be more difficult to achieve with VEE. Has anyone done something similar before?Also 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 data reqd to synthesize my reqd signal. Any practical "hand holding" on how to actually generate the baseband wavform in the first place would be great. I am alos lead to believe that once the baseband data is in the ESG I&Q generator its fairly easy to select this to produce the out waveform reqd at the frequency reqd.

The nitty gritty of what i need to achieve as below...generate a single tone (unmodulated carrier) at 2025MHz along with a BPSK modulated signal +8kHz away from the single tone carrier.i.e at 2025.008MHz ( the symbol rate would be 2kbps but i guess thats fairly easy to set on the ESG).

thanks in advance to anyone who can assist

Chris TannerCom Dev Europe01296 616 551

(+44 1296 616 551)

==--==--==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.

--- 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/".

I've done a lot of work with MSComm and other "outside" serial port drivers. I also use RS485 extensively in the same manner you appear to intend. It seems that testing the 485 port output as you outlined will work perfectly - use two serial ports; talk on one and listen on the other. The MSComm drivers don't need to know anything about 485 so I'm not sure what help you really need.

I tend to use 2-wire 485 and run it out from the control computer, around the block, and back to the control computer. I put a 232-to-485 converter on both ends and attach them to different serial ports. The sensors are all connected across the pair of wires and they respond to their addresses when issued by the "master" serial port. The nice part comes when considering what the second serial port is doing: monitoring that port allows me to see all traffic on the loop, both the sensor addresses and their responses. If there are problems, such as might occur if two sensors respond to the same address, or a sensor continues to talk while the master is trying to issue a new address, the second port will clearly show the result (probably in the form of garbled text). Finally, because its at the end of the "loop", the second port provides a way the assess the loop's physical health.

Let me know if I can provide any specific help on using MSComm for your application.

Barriewhoi

--- 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/".