Calibrating Agilent N5183 Signal generator for specific output level

Hi,
Newbie to labview enviornment!  I am trying to write a VI to calibrate Agilent N5183 to a specific output.  For e.g. if I want to have -4.5 dBm output from my setup (as displayed on my power meter) I will have to set the sig gen to say 7dBm taking into account my losses etc.
Any pointers how do I start tacking this?  I think I will have to create a while loop to check power levels, however I do not know how to increment and decrement the sig gen amplitude and stop at the desired level!
Thanks in advance for any help.
PS: Using Labview 2013, on win XP machine!
Solved!
Go to Solution.

mkossmann wrote:
3. Adjust pout to sign Gen to desired level while monitoring power on power meter
Why do you need that step at all ?  Its not clear from your description what makes the difference between the readout of the power meter and the output level setting of the sigGen.
I have had to do this plenty of times.  Especially in the RF realm, you want your tests to have a certain power level AT THE UUT.  So you have to adjust your signal generator to overcome the losses in the couplers, cables, etc.
For this, all you need to do is set your signal generator to the level you want.  Then measure with the power meter.  Subtract the measured from the desired and add that much more to the set output.  Repeat as needed.  I would recommend using a conditional FOR loop so you can easily set a limit to how many times you adjust (I have been in endless loops due to weird situations here).
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines

Similar Messages

  • Configuring and Controlling Agilent 332220A signal generator...

    Hello,
    I am trying to configure and finally control Agilent 33220A signal
    generator through my Labview VI. Signal Generator has USB, LAN and GPIB
    interface. Measurment studio recognises it, however I need assistance
    to proceed from that point. I would be happy, if some body can guide me
    through this process.
    Any online manual or user guide would be great.
    Thanks in advance...
    Shivaram

    Hi Sine,
    Just to recall what all I did,
    *  Downloaded agilent signal generator instrument drivers from the link given below.
           http://sine.ni.com/apps/we/niid_web_display.download_page?p_id_guid=E3B19B3E9066659CE034080020E74861
    *  Extracted the downloaded zip file to get a folder by name "ag33xxx".
    *   Then copy paste this folder in the location given below.
           C:/Program Files/National Instruments/LabVIEW 7.1/instr.lib
    *   That's it. You are done. Connect the signal generator either through USB cable or RS232 or via LAN.
    *   Now you can communicate and control the signal generator
    through the labview VIs. You can do so by right clicking in the block
    diagram then, point to "Input", "Instr Drivers". I have attached a
    screen shot of it.
    *  I have also attached a VI, which I have developed with the help of this form.
    Hope this information helps...
    -Shivu
    Attachments:
    agilent_signal-gen.jpg ‏78 KB

  • Authorization Object for specific Output types maintained via MN11 & MN12

    Hello,
    I was looking to see if we could limit the access of users so that they can change only specific output types (see T-code NACE) when using transaction code MN12. specifically only LPH1 (standard SA output type). I'm not seeing anything within the system, and I can't seem to find anything via SNC which describes this, so I am wondering if this there is nothing like this/
    Is anyone aware of something for this or a potential solution if an authorization object doesnt exist?

    duplicate.. please close.

  • Using Labview control Agilent 33120A signals generated occurs an error occurs

    hello,
    The signal generator is the Agilent (33120A)
    In Measurement & Automation which have caught this device (see below)
    But VI execution to half Shique the following error window
    in Initialize.vi, there is a problem
    Such as photos
    Seems to be unable to distinguish the devices?
    How can i solve this problem? thanks~

    Hi
    Noticed that you are using serial port to communicate to instrument. Would you please double-check the serial setting parameters, such as Baud Rate, Flow Controls and etc. are insistent with the configuration on instrument? Or would you please try to use other interface rather than serial port.
    If you have tried everything I mentioned above and it still raised that error, please manipulate the NI I/O Trace (You could find it in Windows Start menu) tool to trace and log the communication between PC and instrument. I should be helpful to analyze the root course if you investigate into that trace log. It would be great if you post it here!
    Thanks,
    - Charles

  • "Hi,I'm having problems controllin​g the Agilent E4422B Signal Generator with Labview. When using the Labview driver functions such as initialize instrument I always get an Error -107413504​0.

    I can query the device through the measurement and automation tool. I can also Identify the instrument by issuing a *IDN? with VISA write and read. Why do I get this error while using the drivers supplied by NI for this equipment? Any Ideas?

    Hi, Brooks.
    Attached please find the files containing all the information concerning my attempt to control the Agilent E4438C. Hope you can make sense of it and help me.
    Regards
    isaac
    Attachments:
    nireport.txt ‏2 KB
    Capture.spy ‏5 KB
    CaptureSpy.doc ‏117 KB

  • Agilent signal generator and labview code

    Hi all
    I have Agilent 33220A Signal Generator.I want to generate square signal and convert this signal to a graph in labview with proper code but i dont know how to do.Please help i have limited time
    Regards

    sgirgin wrote:
    Hi all
    I have Agilent 33220A Signal Generator.I want to generate square signal and convert this signal to a graph in labview with proper code but i dont know how to do.Please help i have limited time
    Regards
    Limited time on your part is not our problem.
    Learning how to program in LabVIEW isn't something that can be done overnight.

  • How do I read in a 1 Hz pwr level file and send it out at 1Hz to the signal generator?

    I would like to be able to read in a 1 Hz file and use the format into string and send it out at 1 Hz to a signal generator to vary the levels to match a timestamp. I was trying to use the format into string but I can't figure out how I could read in this file.
    00:00.0
    -113.586
    00:01.0
    -113.598
    00:02.0
    -113.61
    00:03.0
    -113.622

    If the file is a .csv file as you said in your other post, then you should just be able to use Read From Spreadsheet File, making sure to set the delimiter to comma rather than tab. If it's a small file, you can just read in the whole thing, then use a loop with a Wait For Millisecond Multiple node (the metronome) to send the data once every second.
    If the file is very large, and you don't want to read it all at once, you can tell the Read From Spreadsheet File node to read only one line at a time. Put the read node and the data sending node in the same While loop, and use a shift register to carry the Mark After Read value from one iteration into the Offset or Mark At Start terminal in the next iteration. That way, you start reading each line at the end of the previous one. Use some form of flow control (such as a Stacked Sequence Structure) to make sure things happen in the right order - read data, wait for the right time, send data. 

  • Soft Proofing: Setting Output Levels

    In Uwe Steinmueller's Fine Art Printing book a very interesting workflow concept is presented that involves assessing shadow and highlight thresholds for specific output combinations and then making a compensating adjustment for the print to maintain detail at either end.  A test strip (ramps from RGB0, RGB1, RGB2 etc and RGB 255, RGB254, RBG253 etc) is generated using the desired printer/ink/paper and you identify where shadow and highlight details are no longer differentiated between adjacent levels.  You than transfer those settings to the output values in a Levels adjustment layer for your print.  Shadows are rendered at the blackest point possible for that printer/ink/paper combo and maintain detail from there, likewise for the highlights through paper white.  It works really well and takes value of the media's full dynamic range.
    This would prove to be a great addition to the soft proofing function, or in general as an addition to the Tone Curve panel: boxes where you could manually input shadow and highlight output values in the same manner as a Levels adjustment layer.  You can accomplish this now by just moving the shadow endpoint up and highlight endpoint down but involves more trial and error.  Even showing the output value as you slide those endpoints (in the same manner that you see RGB values when moving the curve) would be welcome.

    Jay Mitchosky wrote:
    Does current color management remap RGB 0,0,0 to the maximum black registestered in the profile, and RGB 255 to paper white?  It's an interesting question I hadn't thought of, but the process above does seem to work.
    It (the profile) should. And ideally, 1/1/1 would have some measurable difference on the print from 0/0/0 the max black. But like your comment above, we’re not at that point yet, certainly on a heck of a lot of output devices.

  • LabVIEW drivers for Agilent Noise Source 346B and Signal Generator E8257C-520

    Could anyone please tell me where to find LabVIEW drivers for Agilent Noise Source 346B and Agilent Signal Generator E8257C-520. I did not find them on NI's web site. Thank you!

    To my knowledge, the Agilent 346B Noise Source is not a programmatically controllable instrument and therefore we can't create an instrument driver. I suppose it is possible to be controlled through an instrument (like the PSG) but I don't see any documentation on this.
    As for the E8257C, we are insterested in providing a LabVIEW driver for this instrument series. Let me know if you are interested in assisting our development effort by loaning us the instrument.
    Jason Hobbs
    Instrument Drivers

  • Need to call another progarm in Zdriver program for a specific output type

    For billing document they had configured a Zdriver program and Zsmart form in Nace.
    Now, we had created an output type and when user clicks on that specific output type my ZXYZ program should run.
    ZXYZ program will convert the spool request into .pdf files.
    So what I had done is I have given a condition in Zdriver program saying that If output type is ZD0p.
    Submit ZXYZ program so that this program will automatically run.
    I just want to make sure that is it the right way I mean shoudl I add something else to the Submit statement...here
    and can any one tell me how can I generate spool request by giveing a billing document number in VF02--> Click on Enter > Click on Header>Click on Output-->Enter the Output type and give the communication method details and click on Save...will this generate the spool request..?

    Hi
    and can any one tell me how can I generate spool request by giveing a billing document number in VF02--> Click on Enter --> Click on Header-->Click on Output-->Enter the Output type and give the communication method details and click on Save...will this generate the spool request..
    After doing the whole porcess...re enter the vfo2 transacrion, give the document number and in Menu..Under "Billing Document"..Select issue output to...and there select the output type..and select Print button, it will generate spool request.
    Regards,
    Vishwa.

  • Error message generating Adobe Air output Unable to build a valid certificate chain for the signer

    error message generating Adobe Air Output: Unable to build a valid certificate chain for the signer.

    Are you talking about AIR Help produced by RoboHelp or an AIR application that you are creating?
    If the latter, please see the notice at http://forums.adobe.com/community/robohelp/airhelp
    If you are using RoboHelp, which version?
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • Warning on PO Saving: No message generated for output of purchasing documen

    The following message is coming while saving the Purchase Order.
    No message generated for output of purchasing document
    Message no. 06261
    Diagnosis
    The system was not able to find a message record via the message determination schema. Therefore it was not possible for such a record to be generated for this purchasing document. In consequence, the purchasing document cannot be outputted (printed or transmitted).
    Procedure
    The message determination process should be checked and, if necessary, corrected.
    The message record can be created manually for this document. For this purpose, choose the function "Messages" in the menu "Header" and maintain the necessary data.
    Please guide.
    Regards,
    Aditi

    Hello Aditi,
    In messege determination necessary data is not maintained. Goto
    MN04, select output type as NEU, then click on key combination and select the last option, then select document type as NB and FUNC as VN and put medium as 1 and in Date / time field 4, language EN and SAVE the data.
    This will solve the problem.
    Regards.
    Sanjay

  • Warning "No message generated for output of purchasing document" disabled

    Hello Gurus
    When a PO in ME21N is created and for some reason there was no output message determined the system should give a warning message "No message generated for output of purchasing document". It causes troubles because buyers don't know when they press SAVE whether output was made or not.
    Please advise where to enable this feature.
    Note: This happens not always and not for every user.
    Great Thanks and Best Regards!

    Hi Oibek,
    This message is automatic , i have not seen any config driving this.
    If there is no output message type maintained for document type or requirement is met , system by default issue the warning message 'No message generated for output of purchasing document' .
    Check the user GUI setting , may be warning messages are ignored for display.
    Logon to SAP -> Customization of Local Layout (ALT+F12)-> Options -> Options tab -> Dailog Box at warning Message ( tick the Check box).
    After this try creating PO from user Login , it should display a dialog box even for warning.
    Thanking You ,
    Sudhakar

  • Output message not generated for Purchase order

    We maintain MN04 message condition record for  2 key combination for output type NEU:
    1. Purchasing Output determination : Document type  -> NB, medium 1 print out
    2. Purchasing Output determination : Document type/Pur Org/Vendor -> NB, 1000, vendor 20001, medium 5 External email
    When I create PO for other vendor (not 20001), the system is nicely generating the output of the PO for printout.
    Next we have maintain a condition record in MN04 for a particular vendor 20001, Doc type and Porg with setting 5, 4, EN so that we can send the PO via email to the vendor 20001, the system is not generating a message output of the purchase order when i check it before saving.
    Please help me with this situation. we need setup the email PO functionality.

    I created another message type ZNEU copy from NEU, include it in the message schema, created condition record with MN04/MN05 for both NEU for printout  and ZNEU for medium 5 email. done all steps mentioned in the links.
    When create a PO still only 1 message record NEU is defualted for printout only.
    The message record for email ZNEU is not defaulted in PO?? Anything elase need to be done.

  • How do I program a NI 6602 card to send trigger pulses, one at each output port, triggered by an input trigger signal, using only one counter for each output port?

    Hello,
    I have managed to program a NI 6602 card in LabView to send pulses on three different output ports, one pulse on each output port (with individually chosen delays) for each input trigger pulse coming on a separate input port. It is the DAQmx Create Channel (CO-Pulse Generation-Time)-VI that I have used for this, see attached code. However, this VI controls both pulse delay and pulse width, and therefore uses two counters for each output port (although you only specify one counter in the VI input signals), as I understand.
    In my application though, I only need to have the delay chosen, the pulse width can be arbitrarily short, and thus I should only need one counter for each output port. How do I accomplish to program this in LabView?
    Best regards,
    Claes
    Attachments:
    Configure Side Camera Flash 1 Triggering.vi ‏47 KB

    Well you're welcome to do that--it will work just fine as long as you are configuring a start trigger.
    <rant>
    However, personally I really don't like putting multiple counter outputs in the same task.  I have seen so many people assume that the counter outputs would be synchronized due to having them in the same task when this is not the case (you need to configure a start trigger in order to synchronize the counter outputs even if they are in the same task).  This is the only case I can think of where multiple channels in a DAQmx task are not automatically synchronized.
    As an example:
    Running this on my PCIe X Series gives a measured 2 edge separation of 1 ms + {7.78 us - 10.11 us}.  This would likely be much worse on a bus with more latency (e.g. USB).
    The resulting output is close enough to what you might expect that it might go unnoticed, but really these counter outputs are not synchronized and it would be easy to glance at the code and not even think twice about it.  For the small amount of extra work on my end to create a separate task for each counter, it really clears up some ambiguity about what the counters are actually doing.  For me it's worth it.
    So again, for your case there really isn't a problem with having the counters in the same task since you are using an external start trigger anyway.  I have just gotten in the habit of avoiding doing this.
    </rant>
    Best Regards,
    John Passiak

Maybe you are looking for

  • Crystal Reports for Eclipse issues running under Oracle Jdeveloper(10g)

    Hi  All, I am having issues trying to get a small application that I developed in eclipse (CR4E)that uses Crystal Reports to work with Oracle's JDeveloper OC4J embedded server.  I can run the application fine and when I try to view  a report I get a

  • HT201250 Can I share an external hard drive for Time Machine with my PC?

    I am using a PC with an external hard drive. I have a new MacBook and would like to back up the files on the external hard drive as well. Time Machine set-up notified me that if I continued my external hard drive would be wiped clean. Is there a way

  • HT1386 My iPhone isn't appearing on my iTunes when plugged in correctly

    When my iPhone 5s is plugged into my laptop, iTunes isn't recognising the device  however, the phone is new so everything is working in excellent condition and my iTunes software is up to date. Due to not being able to sync my iPhone,iCloud has sudde

  • Park post option required in FBS1

    Hi My client is using FBS1 for accrual & defferals. In FBS1, i want that entry should be entered & parked by one user and the same must be approved by his senior. After i entered all the details in both the line items, i went to document tab. There i

  • Include a framework in next version CF?

    I think, CF should release next version with a default framework. Like struts or something like that. how many different framwroks we have in cf?. cfonwheels , modelglue etc... Ruby on Reils is rocking, cuz it follow a framework and strict coding sta