How to control keithley 6221 just to change the frequency of a wave at intervals .

Hello,
I'm very new to LabVIEW. I'm trying to control keithley 6221 using RS-232.
What I want to do is just to change the frequency of a sine wave at every 30 seconds, and the series of the required frequencies could be input at the beginning.
Does anybody know how can I do it?
I'll be glad to get any help.
Thanks!

NI does not have a LabVIEW driver for that instrument but you might want to check with Keithley.
On the main Instrument Driver Network page are links on developing an instrument driver. There is a wizard (Tools>Instrumentation>Create Instrument Driver Project) as well as the Instrument I/O Assistant. You will need the instrument manual to look up the programming commands. There are example VIs for serial communication.

Similar Messages

  • How to change the frequency of pulse train on the fly using an array of values?

    Hi all!
    First I want to thank U for the great job you are doing for this forum.
    Iam still busy trying to control a stepper motor, by sending pulses from my E-series 6024 to a compumotor s6- stepper Driver. I've managed to get it working. I desperately need to control the motor using the values from an array. I believe we can use two approaches for that:
    1st - I can get an array of the "numbers of pulses". Each element must run for 10 milliseconds. Using that we can calculate the array of frequencies to send the number of pulses within 10 milliseconds for each specific element. Could we use the arrays of "number of pulses" and frequencies in a "finite pulse train " and up
    date with each element every 10 millisecond?
    2nd - Or Could we use of the frequency array in a "continuous pulse train vi" and update it every 10 milliseconds?
    Please note that I must use the values as they are.
    Can someone please built a good example for me? Your help will be appreciated.
    Regards
    Chris
    Attachments:
    number_of_steps.txt ‏17 KB
    frequency.txt ‏15 KB

    Tiano,
    I will try to better explain the paragraph on LabVIEW. The original paragraph reads ...
    "While in a loop for continuous pulse train generation, make two calls to Counter Set Attribute.vi to set the values for "pulse spec 1" (constant 14) and "pulse spec 2" (constant 15). Following these calls you would make a call to Counter Control.vi with the control code set to "switch cycle" (constant 7). The attached LabVIEW programs demonstrate this flow."
    You can make two calls to Counter Set Attribute or you can make a call to Set Pulse Specs which, if you open this VI, you will see that it is just making two calls to Counter Set Attribute. What you are doing with the Counter Set Attribute VIs is setting two registers called "pulse s
    pec 1" and "pulse spec 2". These two registers are used to configure the frequency and duty cycle of your output frequency.
    The example program which is attached to this Knowledge Base demonstrates how to change the frequency of a continuous generation on the fly. Why continuous? Because changing the frequency of a finite train would be easy. When the train completes it's finite generation you would just change the frequency and run a finite train again. You would not care about the time delay due to reconfiguration of the counter.
    If you would like to change the frequency of the pulse train using a knob, this functionality will have to be added in the while loop. The while loop will be continuously checking for the new value of the knob and using the knob value to set the pulse specs.
    LabVIEW is a language, and as with learning all new languages (spoken or programatic) there is a lot of learning to be accomplished. The great thing is that LabVIEW is much easier than mo
    st languages and the learning curve should be much smaller. Don't fret, you'll be an expert before you know it. Especially since you're tackling a challenging first project.
    Regards,
    Justin Britten

  • How to change the frequency of a finite pulse train?

    Hi all? I Know I’ve asked once a similar question, but I need a better answer. I would like some ideas or examples on how to modify the example in LV; "Finite Pulse Train Generation - Intermediate for AM9513-Based Devices",so that the frequency can be changed while the VI is executing.
    Will i have any problem with I use this VI in a DAQ-STC-Based Devices(E-series)?

    Tiano,
    I will try to better explain the paragraph on LabVIEW. The original paragraph reads ...
    "While in a loop for continuous pulse train generation, make two calls to Counter Set Attribute.vi to set the values for "pulse spec 1" (constant 14) and "pulse spec 2" (constant 15). Following these calls you would make a call to Counter Control.vi with the control code set to "switch cycle" (constant 7). The attached LabVIEW programs demonstrate this flow."
    You can make two calls to Counter Set Attribute or you can make a call to Set Pulse Specs which, if you open this VI, you will see that it is just making two calls to Counter Set Attribute. What you are doing with the Counter Set Attribute VIs is setting two registers called "pulse s
    pec 1" and "pulse spec 2". These two registers are used to configure the frequency and duty cycle of your output frequency.
    The example program which is attached to this Knowledge Base demonstrates how to change the frequency of a continuous generation on the fly. Why continuous? Because changing the frequency of a finite train would be easy. When the train completes it's finite generation you would just change the frequency and run a finite train again. You would not care about the time delay due to reconfiguration of the counter.
    If you would like to change the frequency of the pulse train using a knob, this functionality will have to be added in the while loop. The while loop will be continuously checking for the new value of the knob and using the knob value to set the pulse specs.
    LabVIEW is a language, and as with learning all new languages (spoken or programatic) there is a lot of learning to be accomplished. The great thing is that LabVIEW is much easier than mo
    st languages and the learning curve should be much smaller. Don't fret, you'll be an expert before you know it. Especially since you're tackling a challenging first project.
    Regards,
    Justin Britten

  • How to proceed with a requirement on changing the input type

    I have a requirement that seems rather simple yet I am having a hard time achieving it. What I have is a table where there is a Data_Value field and a Data_Type field. The Data_Value is stored in the database as a VARCHAR2(100) and the Data_Type contains the following values: STRING, DATE, DATETIME, NUMBER.
    The page I am working on is an update page, and what I am hoping to achieve through PPR is that whenever the user changes the Data_Type (I have these in a messageChoice) that the Data_Value will then be rendered with the correct settings.
    Originally I thought that I could just programmetically change the DataType property in the messageTextInput I am using, but this was causing errors since I had it bound to that field in the view which is a Varchar. I then thought that I could create one field of each type and render the one I want based on the selection, but I am getting an error saying: Data Type - Attribute set for DataType in view object Xo2cCustAcctUpdateVO1 failed whenever a new value is picked from my picklist.
    Does anyone have some suggestions on how I should tackle this issue? As a last resort I thought about just leaving that field as a String (which is how it is stored anyway) and do some validation in my controller to ensure it is formatted correctly.
    Thanks,
    Greg

    Greg,
    The simplest approach would be to define one field per data type and toggle them based on the data type selected from the choice bean. Use SPEL and PPR.

  • HT201596 80 % of my itunes files are located on a 3tb external drives; the remainder on a 4TB drive. ALL my files are on the 4TB. How do i get iTunes just to use the files on the 4tb drive so I can use the 3tb for other purposes   THX  .

    Hi,  80 % of my itunes files are located on a 3tb external drives; the remainder on a 4TB drive as I ran pout of space. ALL my files are on copied on to the 4TB drive . How do I get iTunes just to use the files on the 4tb drive so I can use the 3tb for other purposes   THX  .

    Select the desired location in preferences, then consolidate the media files to it.
    iTunes 12 for Mac: Change where your iTunes files are stored - http://support.apple.com/kb/PH19507 - Unfortunately this is misnamed.  It should say "Change where your media files but not where your library files are stored" - more information at: https://discussions.apple.com/message/22026652#22026652 - and steps 5-8 in https://discussions.apple.com/message/24491967#24491967

  • How to change the frequency of a finite/continuous pulse train in the program?

    Hello!...
    I am trying to modify the Finite pulse train vi example to change the frequency with respect of a ratio (1:2) of the data of a spreadsheet file as they are read one by one.
    My aim is to get the pulse train to clock a stepper motor controller, in such way that the speed of the motor increases when the data of the spreadsheet increases and vice-versa.
    I think that if I want to get the clock to change its speed, I must change the frequency and if I want it to increase/decrease like the data in the spreadsheet, I must tell the frequency that the data is increasing or decreasing in value.
    Obviously the program must do it while it is running
    Can anyone see wh
    ere I have gone wrong and/or give any suggestions?
    I have attached my vi and the spreadsheet file.
    Thanks
    Tiano
    Attachments:
    My_VI.vi ‏99 KB
    wave.txt ‏18 KB

    Tiano,
    Try to build the pieces of the program separately. Get a VI running that reads the spreadsheet and reports the data in it sequentially in an indicator (forget about the pulse generation at this time). This indicator will be wired to the frequency input of the pulse generator VI.
    You have read the data and have a transposed array. Now you must learn to use the Index Array function in a For Loop to extract the data sequentially. You will wire the increment output [i] of the For Loop into Index Array to shift from one data point to the next.
    You have a For Loop with no constant wired to [N] to tell it how many times to run. If you use Array Size to extract the number of entries in the spreadsheet data, this can be the constan
    t that tells the For Loop how many times to run.
    You are using the Tab Control in a way I have never seen before (I don't think it will work this way either. Tab Control is for presenting and hiding controls, indicators, labels, etc. on the front panel, before running the VI. They are not used to control the program functionality itself. Typically you would use a Boolean to choose between 2 options for a Case Structure.
    You can also change the path constant which selects the spreadsheet file into a control. This would allow you to browse for any file you want and eleiminate the need for the Case Structure altogether.
    Mike

  • How can i get my car to change the track when i am listening to the music on my phone through the line-in?

    how can i get my car to change the track when i am listening to the music on my phone through the line-in? is there a app i can download so it will recognize it? i have a vauxhal astra and the controls are on the steering wheel

    First question is how old is Astra and you are in UK ( well you must be to have a Vauxhall)
    Normally the Radio only has a line in socket  to allow sound
    You have two choices here either a simple cable with a 3.5mm Headphone plus at each end
    or a cable with the headphone plug to place in car's line in plug and a wide Apple socket to fit the base of your iPhone This allegedly gives better sound but  you have to control the iPhone for music selection
    The equipment you need to control the iPhone from the Steering Wheel controls ,which I suspect currently handles radio /Cd  tracks /stations ,is much more complicated it will have to be integrate with the Factory Fitted  radio
    and designed to manage the S/Wheel  controls and translate to the iPhone .
    Fitted into back of radio etc etc
    If car is a recent Vauxhall there may be a kit available from them .but will not be cheap
    Many imponderables you did not give much away in your OP

  • I bought an iPhone 5S in the USA, however he warmed up and took off the screen, I live in Brazil and they do not give assistance to my device, but I can not go back to the U.S. just to change the iphone, what should I do to solve my problem ?

    I bought an iPhone 5S in the USA, however he warmed up and took off the screen, I live in Brazil and they do not give assistance to my device, but I can not go back to the U.S. just to change the iphone, what should I do to solve my problem ?

    I live in China as well and my iPhone5s is the model A1530 I bougth outside China. I have the same problem as Nikatnight with the iPhone while the iPad Air (wifi only) is working like a charm. It must be definitely something related to the carrier since I was abroad few days ago and everything worked well.
    If you pay attention at the source of your maps, you'll discover they are provided by AutoNavi instead of TomTom and make them appear in chinese with their own border interpretation. Queries are only acceppted in Chinese (p.e. if I type in english "Los Angeles International Airport"  it replies it cannot locate it)
    I suppose everything will be fine when you'll be out of censorship....
    Perhaps iOS  Apple Maps are absolutely useless for expatriate in China.
    Use Google Maps instead
    BTW, I'm surprised how much Apple might prostrate towards hard power Governments.... No matter what, money are always on top!

  • How do i stop my itunes from changing the location of my itunes media.  i have it saved on a external HD and it keeps changing back to my local drive with out being told

    how do i stop my itunes from changing the location of my itunes media.  i have it saved on a external HD and it keeps changing back to my local drive with out being told

    No, an external drive will not always be mounted. If the drive goes to sleep, it can unmount, or it may unmount for other reasons. As Chris said, confim that the drive is mounted and active before launching iTunes.
    Regards.

  • I have a new Macbook pro and can't recall the password I used with my Time capsule - How can I (ideally) retrieve or possibly change the time capsule password?

    I have a new Macbook pro and can't recall the password I used with my Time capsule - How can I (ideally) retrieve or possibly change the time capsule password?

    Remember security on a TC is an illusion.
    Simply press the reset button for 1-2 sec.. you must not do too long .. it will then hard reset.. but soft reset will revert all passwords to default for 5min. ie TC password is now public.
    Remember this the next time because anybody at all can change your passwords.
    Once into the TC you can then open the view passwords if you wanted any weaker security. Click and open the TC.. and click on edit.. then go to the top menu..
    Voila .. all your passwords in plain sight to any Tom Dick and Fred.

  • HT1689 How do I change the frequency in which I enter my password when purchasing/downloading from iTunes?

    I changed the settings and now I cannot figure out how to change them to the default setting. How do you change the frequency in which you enter your password in iTunes?

    I don't use restrictions but check ..... Settings>General>Restrictions>Allowed Content>Require Password.

  • Hi , I cant use the music bar in the control center I can only change the volume but I cant skip tracks or pause the song or play it. anyone knows the solution or the reason please?

    Hi , I cant use the music bar in the control center I can only change the volume but I cant skip tracks or pause the song or play it. anyone knows the solution or the reason please?

    That's normal.
    Use the Touch ID to unlock passcode.
    http://help.apple.com/iphone/7/#/iph672384a0b

  • How can I change the frequency of when Time Machine reminds me to backup?

    I used to get a pop up every ten days telling me that it's been ten days since I backed up Time Machine, but since the last time I backed it up, it's started notifitying me everyday. I'm just wondering if there's a way I can change the frequency, since I usually just back it up every few months and I don't keep my external hardrive hooked up all the time.
    Thanks!

    That's not a particularly wise backup strategy. You should backup at least once per week. Time Machine is designed to backup hourly if left alone. You should have a permanent backup drive that remains connected to the computer at all times except, perhaps, when you are traveling.
    If you disconnect the backup drive then Time Machine will start to save snapshots on your computer until the backup drive is reconnected at which time the snapshots are transferred to your backup drive and erased from the computer's drive.
    You can use a utility such as TimeMachineEditor 3.0.3 to change Time Machine's backup interval.

  • Everything on all the webpages are so small, and only take up half the screen. How can I make it bigger, without changing the settings on my computer and by that change the size of everything on my computer.

    Everything on all the webpages are so small, and only take up half the screen. How can I make it bigger, without changing the settings on my computer and by that change the size of everything on my computer.

    The Firefox [https://support.mozilla.com/en-US/kb/Page+Zoom Page Zoom] feature does a domain by domain level of saving the users preferred zoom level settings, there is no default Page Zoom level setting in Firefox, as with some other browsers.
    Try the Default FullZoom Level extension: <br />
    https://addons.mozilla.org/en-US/firefox/addon/6965
    Or the NoSquint extension: <br />
    https://addons.mozilla.org/en-US/firefox/addon/2592/

  • I purchased Damages, season 2 from iTunes Store, and I got it in French by mistake. How can I exchange this season, or change the language? (My playback setting was already on English for default language). Thank you, Judith Hamery

    I purchased Damages, season 2,
    from iTunes Store, and I got it in French by mistake.
    How can I exchange this season, or change the language? (My playback setting was already
    on English for default language).
    Thank you,
    Judith Hamery

    Only Apple Account Security could help at this point. You can try calling Apple Support in Canada - you'll have to find one of the several ways, such as Skype, to call an 800 number from outside of the relevant country - and ask for Account Security and see if they can help. Or you can find a friend who speaks Chinese and ask them to help you talk to Apple Support in China. There are really no other options that I know of.
    Note, by the way, that these are user-to-user support forums. You aren't speaking with Apple when you post here.
    Regards.

Maybe you are looking for

  • ITunes 10.6.3 suddenly audio is distorted HELP?

    I am not sure what happened. I am running OSX 10.5.8 and iTunes 10.6.3. I have never had a problem before but suddenly the audio is very distroted with some podcasts sound as if they are in very fast motion to the point I can't understand any word sp

  • Perspective Transform in Javascript

    Hej everyone, I'm working on a script, which should do an automatic perspective correction. Unfortunately the only way I found out until now is some code, generated with the ScriptListener Plugin - and I am having a hard time figuring out what the va

  • I can't get my bluetooth on my ipad to connect to my hp c5580 all in one printer bluetooth

    I can't get my bluetooth on my ipad to connect o my hp c5580 all in one printer bluetooth

  • Installing downloaded Applications

    I received my Macbook for Christmas and it's my first Apple so I'm not all that knowledgable about the ins and outs, but I'm having problems trying to install any application I download from the internet. I have downloaded Mozilla Firefox as well as

  • Update error 1325

    When I try to install an update I get the error code 1325 and it says my file name is not valid.