How do I set up analog 0-10 VDC output pulses with varying duty cycles?

I am trying to control a 400 watt laser so that it can pulse on and off within a few milliseconds. The laser controller reads a 0-10 VDC signal, with 0V being 0 watts and 10V being 400 watts. I am using a PCI-6221 DAQ and LabVIEW 8.0.
It seems that all of the examples have square waves that are symmetric about the 0 volt range. I need a square wave that goes from 0-10VDC with different on/off timespans. I would like to have something as follows:
1) 0 seconds = laser off
2) .001 to .002 seconds = laser on at full power
3) .002 to .009 seconds = laser off
4) Repeat steps 2-3 500 times
Any ideas?
Michael Fidler

Michael, 
I ran your code, but was unable to reproduce the problem you are
seeing. I measured the signal in two fashions’. I brought the signal back into
the card (LabVIEW_Square Wave.JPG) and into a benchtop scope (Benchtop
scope_Square Wave.jpg).
I would like to ask that you run the attached code twice. The
first time, please run it with the analog input as ‘Dev1/_ao0_vs_aognd’. This
take the analog output and compares it with the cards AO ground, therefore eliminating
the need for external connections and simply doing internal routing. The second
time, please run it with the analog input as “Dev1/ai1”, and wire your AO
channel to an AI channel. These tests are to ensure that there is not a stray
capacitance in your scope, the probe, etc. Let me know the results (pictures
are always great)
David L.
Systems Engineering
National Instruments
Attachments:
Cont Gen Voltage Wfm-Int Clk_Test VI (8.2).vi ‏64 KB
Benchtop scope_Square Wave.jpg ‏38 KB
LabVIEW_Square Wave.JPG ‏36 KB

Similar Messages

  • How do I set up airport on my macbook pro (wired with ethernet to cable modem) and my ipad2 to use ipad wifi?

    How do I set up airport on my macbook pro (wired with ethernet to a cable modem) and the wifi settings on my ipad2 to enable the use of wifi on my ipad?

    http://docs.info.apple.com/article.html?path=Mac/10.5/en/8156.html

  • How do I set up my new Macbook Pro to associate with my Apple ID so I can download purchased music?

    How do I set up my new Macbook Pro to associate with my Apple ID so I can download purchased music?
    Under 'Manage Devices' it only lists my iPhone and iMac. I've bought stuff on my new Macbook Pro using my Apple ID, but I can't find music I previously purchased using the iMac.

    Oh, wait, I've found it. Silly me!

  • HT2731 How do I set up an Apple ID for a child with gift card credit

    How do I set up an Apple ID for a chld with a gift card credit, without credit card details and without using my own account?

    Go to the main iTunes Store page (within iTunes),  click on the "Redeem" link on the right side of the page, click "Create Apple ID", and enter in the code from your card when requested. You should be able to create an iTunes Store account for your child without needing a credit card. You'll just need an email address for him/her to create the ID, though it can be a "temporary" one that you don't intend to really be used. You can change the email address to which receipts are sent to an account you really wish to use.
    Regards.
    Message was edited by: varjak paw

  • How can i set up mac mail so each line starts with a capital letter?

    how can i set up mac mail so each line starts with a capital letter? 

    I am pretty sure that this is not an option within Apple Mail.

  • How do I set up an e-mail account to go with iPhoto?

    How do I set up an e-mail account to go with iPhoto?

    Applications > Mail
    If you haven't set up a mail account, it will probably ask you if you want to set one up, but here's how I do it.
    Press command-, and that will take you to preferences.
    Up near the top click the "Accounts" tab
    Click the plus button that is located at the lower left corner.
    Enter your name, email address, and password.
    Click enter then click continue
    Set the account type to POP or IMAP. Whichever one you want is fine as long as it works with your email service.
    Don't change the next security settings. Click continue.
    Enter something for the description. Make sure that the "Use Athentication" checkbox is checked. Enter your password and click continue.
    Click continue you might have to go through one of the security settings again. Click continue.
    An account summary will come up. Click "Take account online". Then click create.
    You have added your account to Mail.

  • My wife changed start up somehow. Now 7 or 8 files open when restart. Have to  close all to do anything. How do adjust setting so that it open do normal screen with icons etc?

    my wife changed start up somehow. Now 7 or 8 files open when restart. Have to  close all to do anything. files, applications, internet, folders etc. How do adjust setting so that it open do normal screen with icons etc?  before this, it started up and went to main screen with dock, save folders ICOns etc

  • How do I set up IPad 2 and 2-4s IPhones with Apple?

    I have a 32 GB IPad 2 and ITunes on my Windows computer and just ordered 2-16 GB 4s IPhones for my wife and myself  I have 18.5 GB of data on my IPad, but only want to selectively include some of the applications and music on my IPhones.  I have IOS5.  Both IPhones will be loaded with appx 10 GB of data, but each will have different applications and music - all which is loaded on my IPad 2 and ITunes on my computer.  How do I do this most efficiently?
    1.  Do I use the same Apple ID# I use now on all devices, or set up a separate one on each device?
    2.  If I use the same Applie ID# on all devices, should I set up a different ICloud account on each device to keep the backups separate?
    3.  If I download an album on my IPhone, will either (or both) 1 and 2 allow that album to be downloaded on all of my devices through ICloud?
    I was advised that if I have a large music library to make sure the phones aren't set to autosync.  Does this sound correct?
    I'm trying to get answers to my questions lined up before they I receive them so I know how to best set them up.
    Thanks everyone.

    1)  You can use one id.  My wife and I do.
    2) Not sure.  Sorry.  We share one.
    3)  Yes.
    We sync via the cable.  We simply select what we want to sync on each device and sync.

  • My wife has purchased an iphone 6. She has a different id. How do we set it up to share info on icloud with our ipad and my iphone.        use icloud on devises with different ids

    My wife has purchased an iphone 6. She has a different ID. How do we set it up so that she can share photographs, contacts and calender on my iphone, imac and ipad.

    You might see if this addresses any of your concerns ...
    Family Sharing
    ... and here is another discussion thread on it ...
    How to share icalendars, and contacts across users with iphones

  • How do you set up a different ipad on same computer with different itunes library

    I am trying to update a clients ipad (who does not have access to internet at his residence) on my personal computer.  When I open up itunes with his apple ID, I continue to get my itunes library information.  I don't want to mix my information with his information.  How do you set up a different i pad/itunes on the same computer?  What I need to do is update the version of his i pad as his i pad is version 4.2.1.  Thank you

    Create a new Windows user account on the computer.
    (86398)

  • How can I set my Mac to only share SPECIFIC folders with Win7

    It used to work, but, even though I have set only my Public folder and a specific photographs folder to share with a Win7 PC on my home network, the Win7 machine can see the entire Mac HD.
    I followed instructions from here:
    http://www.trickyways.com/2011/07/file-sharing-mac-os-x-lion-and-pc-windows-7/
    But if I type Run then enter the ip address of the Mac, all the folders appear. Is there a way to limit them to only the two specific folders?
    I've mapped the single folder to a drive, so admittedly, unless you go into "Run", you can't see the other Mac folders and drives, but I'd still like to make sure it can't be done.
    Thanks

    Welcome to the Apple Community.
    Cricket66 wrote:
    ........ How can I set photo stream to only upload specific images?
    That's not possible unfortunately.

  • How can I set the language when sending an e-mail with attachment - 'Html'?

    "Character Broken"
    I made an ALV program, and this convert to "HTML',  and send an e-mail with this.
    Used Process is:
    DATA: gt_abaplist LIKE TABLE OF abaplist,
          gt_html LIKE TABLE OF w3html,
          doc_chng LIKE sodocchgi1,
          objpack LIKE TABLE OF sopcklsti1 WITH HEADER LINE,
          objhead LIKE TABLE OF solisti1 WITH HEADER LINE,
          mail LIKE TABLE OF solisti1 WITH HEADER LINE,
          reclist LIKE TABLE OF somlreci1 WITH HEADER LINE,
          lv_line TYPE i.
    DELETE FROM MEMORY ID '%_LIST'.
    SUBMIT z_template
       AND RETURN EXPORTING LIST TO MEMORY.
    CALL FUNCTION 'LIST_FROM_MEMORY'
      TABLES
        listobject = gt_abaplist
      EXCEPTIONS
        not_found  = 1
        OTHERS     = 2.
    CALL FUNCTION 'WWW_HTML_FROM_LISTOBJECT'
      TABLES
        html       = gt_html
        listobject = gt_abaplist.
    doc_chng-obj_name   = 'URGENT'.
    doc_chng-sensitivty = 'O'.
    doc_chng-obj_descr  = ' '.
    doc_chng-obj_langu  = '3'.
    objhead-line        = ' '.
    APPEND objhead.
    mail[] = gt_html[].
    DESCRIBE TABLE mail LINES lv_line.
    CLEAR: objpack.
    objpack-transf_bin = 'X'.
    objpack-head_start = 1.
    objpack-head_num   = 0.
    objpack-body_start = 1.
    objpack-body_num   = lv_line.
    objpack-doc_type   = 'htm'.
    objpack-obj_descr  = ' '. 
    objpack-doc_size   = lv_line * 255.
    objpack-obj_langu = '3'.
    APPEND objpack.
    CLEAR: reclist.
    reclist-receiver = 'e-mail address'.
    reclist-rec_type = 'U'.
    APPEND reclist.
    CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
      EXPORTING
        document_data              = doc_chng 
        put_in_outbox              = 'X'
        commit_work                = 'X'
      TABLES
        packing_list               = objpack
        object_header              = objhead
        contents_bin               = mail
        receivers                  = reclist
      EXCEPTIONS
        too_many_receivers         = 1
        document_not_sent          = 2
        document_type_not_exist    = 3
        operation_no_authorization = 4
        parameter_error            = 5
        x_error                    = 6
        enqueue_error              = 7
        OTHERS                     = 8.
    SUBMIT rsconn01 AND RETURN.
    I want to show  this by "Japanese".
    But the character is broken.
    LIke This:
    u01D1u072C          u0205|            u0205u072C          u0508           QC u04B90m
    How can I set the language?  How can I solve "Charancter Broken" ?
    Plesse, let me know.
    Thank you so much.
    Edited by: Jaime White 999 on Nov 21, 2011 8:45 AM
    Edited by: Jaime White 999 on Nov 21, 2011 8:46 AM

    Hi Jaime,
    Are you saying, you are getting junk characters in the email attachment? Then pls check the following. Since you want to send Japanese fonts, please pass language 'J' in both  objpack-obj_langu = '3' & doc_chng-obj_langu  = '3' instead of '3' please replace it with 'J'.
    Another thing which you may have to check is the SCOT device type. As I understand from my basis colleague, this may also affect your attachment fonts since the emails are sent through SCOT. Go to transaction SCOT-> Settings-> Device types for format conversion. Check whether wrong device type is defined for Japanese there. Hope this helps
    Regards,
    Gokul

  • How do i set the umask on a share i created with SharePoints?

    how do i change the umask on a share i created with SharePoints?
    user's drop files into the share and the permissions are set wrong. both the owner and group along with the mode.
    how can i set the default permissions given to newly created files by any user? prefably a non-unixish way but i'll take whatever i can get. tried tinkertool but that didn't work.
    i read other forums on macfitix which suggested changing the umask. i am not really sure how to convert integer to octal though. the fix needs integer. i dont know how to convert the permissions i need represented in octal to integer.
    i also read the manual on the chmod utility which suggested changing the set on write bit to 4000 so that the newly created files inside a directory would inheret the parent owner etc.. in theory this would work for me. i did that, but it didn't make a lick of a difference. said only on supported OSes. i take it os x must not support this.
    the permissions i need to set are 664 or read/write for owner and group and read only for everyone else. when the files get dropped right now they default to 600. not really sure how to convert that to integer or octal. apparently the umask equalivant is represented differently but also called octal but i do not understand why.
    hope someone can bring some clarity to my confusion.
    MacBook Pro   Mac OS X (10.4.8)  

    You may want to post your question in the SharePoints forums:
    http://hornware.com/discussion/

  • How do I set up my new iphone 5 to sync with my Macbook like my old iphone did

    How do I set up my new iphone5 to sync with my MacBook information; my old phone was setup to update and sync when connected

    Try these steps:
    - open iTunes
    - top left of your mac select "view"
    - select "show sidebar"
    - connect your iPhone to your Mac
    - select your iPhone underneath devices on the sidebar
    From here you will need to choose what you would like synced to the iPhone and then from there anytime you connect the iPhone to your Mac it will sync the content you have selected.
    Note: The iPhone will not automatically sync if you have prevented this in iTunes<Preferences>Devices

  • HT4864 How do I set up my iCloud mail on my computer with windows mail

    Can someone explain how I can set up iCloud for ny windows mail?

    You can't do that within your iCloud Mail settings, you'd need to forward the mail from the individual 3rd party accounts.

Maybe you are looking for

  • Itunes 10.6.3 upgrade problems on macbook pro

    I have updated itunes to 10.6.3 and it works okay until i try to go to Itunes store. It crashes. Also since I installed it everytime i try to use safari it also crashes. Any suggestions

  • NullPointerException from weblogic.i18ntools.l10ngen

    Using the environment for the example server (on winNT)... Go to \bea\wlserver6.1_beta\samples\examples\i18n\logging and run build. The build go boom with the following stack track... D:\bea\wlserver6.1_beta\samples\examples\i18n\logging>java weblogi

  • Problem with  VL02n

    Hi, all I have problem with print outbound del. , when printing have message :Error in address output(name not filed). this is happend for several issues not for all, some are printable.

  • Color (how do I find the "name or number" associated with a color

    I am asking someone to help me make a Photoshop copy of the presentation that I have built in Keynote. He asked me for the color "alphanumeric" related to the colors I have used in my presentation to make sure that it perfectly matches but I can't se

  • Export a Final Cut Pro XML file problem about translation issue

    When I export the final cut pro xml file, there is always translation issue like that 'Transition <....> not translated, Cross Dissolve used instead.' Most of the transition type can cause the translation issues except the wipe and cross dissolve. Is