Setting up frequency sweeps using HP33120A

I am trying to set up a frequency sweep in LabVIEW by programming a HP33120A Function Generator. Would appreciate if someone who has worked on it suggest a method appropriately. Thanks!

By manually, do you mean from the front panel? If you really mean programtically, then use ag33xxx - Config Waveform like I said inside a loop. A shift register would be initialized to your starting value. Inside the while loop, wire the shift register to the frequency input of the ag33xxx - Config Waveform function. Also inside the loop, increment the shift register by another control that you specify a value for. Add another control for a stop value and terminate the while loop when the current value of the shift register is equal to/greater than the stop value. I've attached a picture that I did just a couple of days ago for an almost identical question (just a different instrument). The picture has a constant for the start and stop value so if you want to use different values at times, replace them with controls.
If you want an uneven step value, you can place an array of values outside a for loop and auto-index the array.
Attachments:
Increment 370A.JPG ‏8 KB

Similar Messages

  • Frequency sweeps using HP33120A

    Hi,
    i am new to Labview 
    I am trying to set up a frequency sweep in LabVIEW by programming a HP33120A Function Generator.with device Driver have i implemented Sweep with same Step in my posted Code,now i want to improve Sweep function durch varied step in different frequency range,for example,from 10 Hz to 1000Hz :10Hz to100Hz with 10Hz step sweep, from 100Hz to 1000Hz with 100Hz step sweep.  Would appreciate if someone who has worked on it suggest a method appropriately. Thanks!
    note:Labview 2009 SP1
    Attachments:
    fast frequency measurement program.vi ‏248 KB

    Dennis_Knutson wrote:
    It seems overly complicated to me, especially with that silly sequence structure. All that you have to do is use the Ramp Pattern to create an array of frequencies. Use two of them with different a different delta and combine the arrays. Pass the combined array to a for loop with the function to set the frequency and let the magic of autoindexing do its thing.
    thanks for your suggestion,i try it later

  • When using the LabVIEW Simulation Module, how can I start a frequency sweep with the Simulation Chirp signal generation VI at an arbitrary time after the simulation initial time?

    I'm using the Simulation Loop on LV RT when interacting with some hardware (i.e. all I/O is happening in the Sim loop). I'm going to conduct a frequency sweep test on the hardware and want to use the Simulation Chirp function. However, there is no way (that I can see) to trigger the Chirp to start at some event (i.e. I click a boolean on the front panel and enter a case statement). The Chirp is tied to the global time of the Simulation loop and so are it's input parameters. Is there a way to make it relative to some time at which an event happens?

    Craig,
    Your solution will 'cut' the beginning of the signal and only show the signal afterwards.
    To control when the chirp should start, the best option is to use the Chirp Pattern.vi ( in the Signal Generation palette) and use a Lookup table to control when to feed the time. The shipping example (in LabVIEW 2013) shows how to code using a lookup table.
    C:\Program Files (x86)\National Instruments\LabVIEW 2013\examples\Control and Simulation\Simulation\Signal Generation\SimEx Chirp.vi
    Then, to start from a toggled boolean, look at the example:
    C:\Program Files (x86)\National Instruments\LabVIEW 2013\examples\Control and Simulation\Simulation\Signal Generation\SimEx Step.vi
    and Here is the example in 2013 (in attachment):
    Barp - Control and Simulation Group - LabVIEW R&D - National Instruments
    Attachments:
    SimEx Chirp with Delay.vi ‏241 KB

  • K7N2GM-V - Please re-setting CPU Frequencies in the CMOS Setup (sic)

    Rebooting after a system hang I sporadically get the following messages:
       CMOS Checksum error - Defaults Loaded
       Warning! the CPU had changed.
       Please re-setting CPU Frequencies in the CMOS Setup
    Could someone please translate this for me? I haven't touched the CPU, the CMOS jumper and the battery is good, per the hardware detection menu.
    And my CMOS settings are lost, so I have to go back and set the clock, disable the floppy I don't have, boot order, etc.

    The battery contacts are clean; in or out of the case the mobo boots fine as long as I don't pull the plug.
    But for the answer to my original question, what does this mean:
    Please re-setting CPU Frequencies in the CMOS SetupThe Quick User's Guide is not useful here. It says:
    Adjust CPU FSB Frequence
    This setting allows you to select the CPU Front Size Bus clock frequency. Settings [100MHz]~[300MHz] at 1MHz increment.
    In fact with High Performance Mode set to Optimized the choices are only 100, 133, 166, 200, and the answer given is correct:
    Quote from: osnavi on 28-July-05, 22:27:47
    "...Do you mean the BIOS setting "Adjust CPU FSB FRequency?"
    The choices there are 100, 133, 166, 200... "  If CPU is 333 FSB you should select 166.
    In other words, in the BIOS set up screen, go to Cell Menu and then Adjust CPU FSB Frequency and set it to ½ the advertised frequency of your Athlon CPU.

  • SCPI command to set the frequency for power measurement on Agilent 53147A?

    Hello,
    I am trying to automate some measurements which require me to use an Agilent 53147A Freq Counter/Power Meter/Digital Voltmeter. The instrument has an option of setting the frequency of the signal we intend to measure. This is done by clicking the "FREQ" button on the instrument and entering the frequency value of the signal whose power we intend to measure. This way the power meter uses the appropriate calibration factor for that frequency for providing accurate signal power level.
    I have been trying to set the frequency of the signal whose power I intend to measure through remote control but have not met success as I have not been able to find the SCPI command associated with this task in the operating manual. Does anyone know what SCPI command is to be used for this purpose? Any comment in this regard is highly appreciated.
    Thank You,
    Vivek

    Hi vivek.madhavan.13,
    Try using the drivers for this device found here:
    http://sine.ni.com/apps/utf8/niid_web_display.download_page?p_id_guid=834204A36619504AE04400144FB7D2...
    Then, by going to the lowest level that the VIs permit, you may be able to find the SCPI commands your application needs.
    Regards,
    Joel I.
    Applications Engineer
    National Instruments

  • Frequency sweep input output

    Hi
    Using Labview 7.1 and PCI 6071 DAQmx card i want to design a frequency sweep application. I mean  that i need my analogue output channel to give a sine wave with incremental frequency of 100 Hz step, starting from 10000 Hz untli  100000 Hz (10000 Hz, 10100 Hz...100000 Hz). This wave is applied on a kind of a transformer, and each time the frequency changes, i need an input channel to acquire another also sinus wave coming from this transformer and measure its amplitude, in order to examine its frequency response. So, i came up with the attached vi.
    The problem is, that when "sweeping" takes place ,i get amplitude values between 2 and 6 or even 7 volts something that  can't be happening. I know that the amplitude values i should get are around 2 volts  (+/- 500 mV maximum).
    I think, that the problem should be in some kind of "non-synchronization" of the input-output channels when the vi enters the loop to start changing the frequency.
    Just to be more clear, i need my vi to do these steps in order:1. constantly output the 10000 Hz wave 2. acquire the input wave 3. measure its amplitude 4.transform the frequency into 10100 Hz 5. acquire the input wave 6. measure amplitude  etc... 
    The odd thing is that when i physically connected the output channel with the input one to see if the frequency sweep is done, it worked fine. I mean that i did get in the input channel almost exactly the signal i generated.
    Thanks in advance, and i hope i was not tiringly analytical..
    Attachments:
    sweep3.vi ‏140 KB

    Hi
    Please take a glance at the two attached vi's.
    The first is the one i use in order to generate a steady frequency sinus wave,feed it to my transformer and acquire the also sinus output of the transformer  through my input channel. Using two channels of an external oscilloscope i check and notice that for many frequency values, both sinus waves are steady and noiseless, with the expected amplitude voltages.
    Now, using the second vi, in order to "sweep" the wave and check my transformers amplitude response, then these impossible amplitude "up's and down's" again came up.Again by looking at the oscilloscope's screen i can see the noisy waves tha "confuse" and the oscilloscope and my input channel, and so result in wrong amplitudes.
    Based on the above, i have to assume, that the problem lies in the sweep mechanism design i use. Also, after trying several different ways to sweep, i came to the conclusion, that the problem comes up whenever i use the second Basic Function Generator.vi inside the loop. Could it be that it needs triggering again?
    I'd really use some help, or maybe even ideas for different design approaches for the frequency sweep.
    Thanks in advance
    Attachments:
    Multi-Function-Synch AI-AO3.vi ‏164 KB
    sweep4.vi ‏142 KB

  • Reading and frequency sweep on agilent 4980a

    Hi all.
    I newbie on Labview myself but always using this forum to answer all the problem that i had.
    Currently I work at compression measurement and do the measurement of load cell and impedance at the same time. I use labview command that included when installing driver.
    My problem is that I need to utilize agilent 4980a to read the impedance value on 1K and force value on load cell while probe is moving to compress the spesimen (I reach this step) but I need to add program to stop the probe and execute frequency sweep (and store it in additional file) without terminating the program it self to continue on each point I desire. When i see example program on agilent 4980a, Program to start frequency sweep is different and it's quite confuse me.
    Is that any way to inserting frequency command on loop in labview?
    I upload my flowchart.
    THANK YOU SO MUCH
    Ananta
    Attachments:
    2014-06-26 15_00_15-_Diagram1.dia (D__portable apps_DiaPortable_Data) - diaw.exe.png ‏39 KB

    Ananta,
    For most instrument control applications, you can replicate commands as you would enter them on the instrument. So if you can perform this frequency sweep in the middle of a test on the instrument itself, you should be able to send serial commands from LabVIEW to mimic this behavior. Once it has been established this task is possible, I would recommend combining parts of the instrument driver examples to try to attain this functionality.
    Karl G.
    Applications Engineer
    ni.com/support

  • What's the best FM frequency to use for the Transm...

    Hi all,
    I'm having difficulty in getting my iPod car kit set up, so I am using my n900 for in car entertainment for the time being.  Problem is that I can't seem to find a clear frequency to set the phone to use, so it doesn't keep picking up other stations whilst I am driving around.
    I have just read that 87.5 is a good choice, as not many stations go that low.  Problem is the n900 won't go that low, as far as I can tell.
    Any suggestions?
    If tnis post is a cure to your issue, please MARK IT AS SOLUTION.
    If this post has helped anyone in any way, PLEASE SHARE YOUR KUDOS, by clicking on the GREEN STAR.

    The lower transmit frequency limit is in there to make the device meet FCC regulations.. that is a regulation imposed of US regions and, to a lesser extent, Latin american regions that border with the US.
    In addition, you'll be pleased to know that the N900 will not use certain European WiFi channels if a) the sim card is removed or b) the phone has a sim card but is OUT of 3G coverage.. again, to make the device meet FCC regulations.. (seriously.. when you go out of 3G coverage, the kernel reports it is switching from EU wifi to US wifi!!)
    Let me put this into perspective..
    From: http://www.nokia.com/results/Nokia_results2009Q3e.pdf
    Nokia sold 3.1million handsets in the US 2009 Q3
    Nokia sold 27.1million handsets in Europe during the same period.. That is 9 times as many.
    The USA has its OWN firmware
    and yet ALL versions of the firmware (including the UK specific one) are crippled to meet the requirements of a region that produces the lowest sales figures by a factor of 3 (Latin America produced 9.7 million units in 2009Q3)
    Why the HELL are we suffering because of US restrictions..
    That's like saying you can't use bluetooth because it isn't allowed on the Christmas islands.. (it is allowed.. not picking on you, Christmas Islands, but you are small!)
    If the FCC wants a phone that doesn't allow broadcasts on sub 88Mhz frequences, and doesn't want certain Wifi channels to be used, the ALTER THE US FIRMWARE..
    What next, BMWs have with left hand steering in the UK because the US drives on the Left?
    Phillips TVs that only work on 120V because the US uses 120V..
    I don't give a **** what the FCC say.. I'm not in the US and I have my own european and UK legislation to adhere to..
    For a company that INSISTS on having a billion regional firmware versions, they don't appear to be able to get that right either!!! The UK version lacks UK specific restrictions such as the ability to us UK frequencies for wifi and FM transmission!!
    Crazy and very very irritating

  • Frequency sweep with peak frequency

    Hi guys, I need some help here. I´m using a NI 9215 to do a frequency sweep from 30 to 90 Hz.
    So far so good. Now I need a resulting resonance frequency at highest voltage.
    I tried a max peak frequency VI but couldn´t get it to work.
    Any idea what to do?
    mfg, Andi
    ok, here is my sweep.vi for better understanding
    Message Edited by andinew on 08-11-2009 04:14 AM
    Attachments:
    sweep.vi ‏216 KB
    create_log_frequencies.vi ‏15 KB

    Hi Andi,
    one thought first off: looking at your "create_log_frequencies.vi", I realized that it generates linear frequency hops, not logarithmic ones...
    But on to your question: to find the frequency with the highest amplitude (this will be your resonace, I guess), you will have to look at the entire signal - your "sweep.vi" code iterates the measurement and interpretation five times per second, independantly of the speed of the sine sweep.
    My advice would be to generate one waveform containing the whole sweep run, and writing this sweep block for block with a constant sample rate onto the output. You could then read back the response with blocks of the same size as your output, do the single tone measurement on this block and store the resulting frequency and amplitude in an array preserved trough a shift register or simply into two auto-indexing tunnels. The latter is okay as you don't need a "while loop" in the measurement loop (you know how long the analog output loop runs - why not use this information to configure a "for loop").
    After your analog input "for loop" has finished, search your amplitude array for the maximum - then use the found element's index to index the frequencies array and return the corresponding resonance frequency.
    A good starting point could be the example I wrote a couple of month ago: it runs continuously the same "sweep" (you'd have to adjust the waveform, I know) and reads back the stimulus and the response (wire the output to your probe and parallely to ai0, your response signal will be connected to ai1). You can then insert tone measurements etc.  at the marked section...
    When trying to open the example, you will be prompted to find a VI called "_Get Terminal Name....vi" - you can find this VI at the following location: C:\Programme\National Instruments\LabVIEW 8.5\examples\DAQmx\_Utility\_Utility.llb
    As an afterthought: the "phase difference" you are calculating between every other sample of the analog measurement array is a bit confusing: if oyu need the phase difference between the original signal and the stimulus response, you will need to wire the stimulus to a second input and compare the phases of the two separate signals...
    Best regards,
    Sebastian
    Message Edited by SFK on 08-12-2009 04:12 PM
    Attachments:
    Multi-Function-Synch AI-AO mit Signalgeneration.vi ‏91 KB

  • Low-Frequency measurements using counter/timer

    I am trying to measure speed, and am using the FP-502 counter timer module to count the pulses from my sensor. The field point example that uses a fixed width gate pulse will not work for my appliation because I need a gate pulse so big that it updates way to slow.
    Does anybody have any sugestions on how to measure a low frequency signal using a counter/timer?
    Thanks
    Dan

    Hello guys
    Thanks for all your sugestions I have the final results. I got it to work but I would like to add some comments for anybody who is trying to attempt this.
    Triggeing on the gate is a must for low frequency measurements. I used the divide by sugestion however using a factor of 3 only gets you about 60 Hz after that you can't sample fast enough. My application required me to measure from 0 to 150 Hz. I added a "gear shifter" routine where the terminal count was set to 3 on frequencies lower then 45 Hz and 15 for frequiencies greater than 45 Hz. Using a terminal count of 15 for all measurements made the udate rate on really low frequencies way to slow i.e. .5 seconds for 20Hz (check the math on this).
    I a
    lso needed to cascade the counters. At low frequencies the count went higher than 6550. Using the previos channel function of the fieldpoint module enable me to get 32 bit worth of terminal count data.
    Finally I needed to add a timeout condition for 0 Hz. If there are no pulses coming from the senser the program displays the last value read. That won't be 0. So I added a time out routine that if I didn't see a pule in a certian amout of time, output 0 and reset the gate count.
    Thank you for you help you relly saved me. I hope my comments made sense.
    Dan

  • How do I use GarageBand as a amp/speaker to listen to my Electronic Drum set? I have a MIDI-USB cord already but I can't figure out how to listen to my set through the software using my computer speakers?

    How do I use GarageBand as a amp/speaker to listen to my Electronic Drum set? I have a MIDI-USB cord already but I can't figure out how to listen to my set through the software using my computer speakers?

    If you want to listen to the sounds of your drum set, you should use an audio cable and connect it to the computer's line-in, then create a real instrument track.
    If you use a Midi/USB interface, you'll have to create a software instrument track and select one of GB's drumsets as the instrument. Hopefully your drumset's midi notes are mapped to the right sounds in GB.

  • I am trying to set an open DNS using the MacAir. But when I tried to flush the existing one at utilities/terminal, it will not work.  I am using Yosemite.  May I know what should be the command line so that I can shift to an open DNS?  Thanks

    I am trying to set an open DNS using the MacAir. But when I tried to flush the existing one at utilities/terminal, it will not work.  I am using Yosemite.  May I know what should be the command line so that I can shift to an open DNS?  Thanks

    >SystemPreferences>Network>DNS

  • How to set up several iPads using same apple id for classroom? The 1st one did great and the rest will not load any apps??

    iPad minis donated to a classroom. Teachers are trying to set up several iPads using the same apple id, but the apps will not load on any but the first iPad set up. What to do?

    Can you assign existing devices to a DEP account?  When DEP came out, you could not. 
    "This document offers guidance on some important considerations for getting the most out of your iOS deployment." Covers: Prepare your infrastructure.  Set up devices.  Configure and manage devices.  Deploy apps and content.  Plan for support. 
    https://www.apple.com/ipad/business/docs/iOS_Enterprise_Deployment_Overview_EN_F eb14.pdf
    Quick overview of zero-touch MDM enrollment, DEP
    http://www.apple.com/education/it/dep/
    Consider DEP, Device Enrollment Program. Use VPP, Volume Purchase Program.  Select an MDM, Mobile Device Management.  Read the Google doc below and nsdjoey write up.
    IT Resources -- ios & OS X -- This is a fantastic web page.  I like the education site over the business site.
    View documentation, video tutorials, and web pages to help IT professionals develop and deploy education solutions.
        Education
          http://www.apple.com/education/ipad/resources/
          scroll down after all the pretty picture.  Click on the words "For It".
        business site is:
           http://www.apple.com/lae/ipad/business/#browse-it-resources
          If necessary, scroll down until you see the Browse IT Resources button.  Click on button.
        MDM --  Mobile Device Management  
          For a comparison see this page:
          http://www.enterpriseios.com/wiki/Comparison_MDM_Providers
        VPP -- Volume Purchase Program
          http://www.apple.com/education/it/vpp/
    Joe Rowe's Excellent guides
    IT managers who are new to configurator and managing a cart of ios devices:
          https://docs.google.com/document/d/1SMBgyzONxcx6_FswgkW9XYLpA4oCt_2y1uw9ceMZ9F4/ edit?pli=1
             [ original announcement  -- https://discussions.apple.com/thread/4256735?tstart=0 ]
    Quick help presentation for students:
         https://docs.google.com/presentation/d/18937JdleX2gymtSb8zfbDczV-76BdR2DIfCV9eJi yOE/edit#slide=id.g1b776944_0_224

  • Can you set up apple tv using 2 different itunes accounts from 2 different macs in same household?

    can you set up apple tv using 2 different itunes accounts from 2 different macs in same household?

    No, you can only connect to one Home Sharing account at a time. If you want to see the content of the other Mac's library you will have to turn off Home Sharing on the Apple TV and log back in with the other iTunes account.

  • How can I set Office Communicator to use my Outlook settings

    dears
     i use the business exchange mail from vodafone egypt
    in work i can use outlook to see my mails and also office communicator
    but here in home i can only use OWA and outlook and i cannot set the Communicator to use my Outlook settings 
    i also tried to use the same settings that already set on the work but i cannot login to it
    so please help me to open it
    sorry about my English not good :)

    Looking to do voice overs? See iMovie '11: Record a voiceover

Maybe you are looking for