Waveform generation upon trigger start for one cycle

Hi there,
I am trying to generate one cycle of a waveform(triangle wave) upon recieving a trigger signal from another input.
I have the waveform generation working however it generates more than one cycle and also stops before a whole waveform is generated. The waveform generated can have a different duration than the trigger signal (frequency).
How would I change the program to have it generate only one waveform upon trigger. 
Please see the attached VI in Labview 8.5.
Attached is also what  the program should do as JPEG image diagram.
Thank you!
~Anthony
Attachments:
cycle.vi ‏117 KB
waveform.png ‏6 KB

Anthony,
I played around with your vi for a little bit, and it seems that the easiest way to manipulate your data of the triangle wave is to wire an input to the sampling info of the vi. The input is looking for a cluster of 2 doubles, 1 being sampling rate, 1 being # of samples. In the vi I built, I just set rate to always be 1000 times the frequency, and the samples to always be 1000, giving you 1 period. 
Hopefully this helps!
Chris Van Horn
Applications Engineer
Attachments:
cycle.vi ‏117 KB

Similar Messages

  • Running OSX10.6.8 two email account thru Roadrunner. Both accounts now indicate email sent but they never arrive. Can get inbound email.  this start for one account 5 days ago and yesterday for the second account. any suggestions?

    Running OSX10.6.8 two email account thru Roadrunner. Both accounts now indicate email sent but they never arrive. Can get inbound email.  this started for one account 5 days ago and yesterday for the second account. any suggestions?

    When we returned from a weekend trip, both emails were working.  The obvious answer [to me anyway] is that the problem was with Roadrunner, not our minimac. The chances of finding out what the problem was with Roadrunner are slim and none.

  • Lightroom 3.x won't start for one user on my computer.  Works fine for all others.  Help?

    I'm running Vista and LR 3.2.  I have multiple users accounts on the same computer (my family members).  Everyone is able to use LR except one user.  Whenever he trys to launch LR, he gets an error message that says:
    "Lightroom - Opening Catalog: IMG_0154.JPG.lrcat"
    Directly under that is the MS Windows dialog box that says "LR 64-bit has stopped working" and to look for an online solution and close the program.
    I really don't want to reinstall LR again unless I can do so without losing the catalogs from all the other users.  It would be best if we didn't lose the catalog from the user that can't start LR, too.  It's lotsa work to redo...  Help on what to do?
    -Willcy-

    Don't have a clue what's happening, but workaround
    should eb possible bu creating a ne catalog then importing original into
    new. Steps required:
    1. User opens their accoun on PC
    2. Hold down Alt key when launching Lightroom. A dialog should open that will allow you to switch catlogs or create a new one
    3. Choose Create New Catlog. Give it a name (e..g the Users name). and make sure that it is located within the Users account area on hard disk (same location as original is probably best).
    4. When Lr opens go to File menu and choose Import from Catalog
    5. A dialog will open. Locate the old catlog (i.e. the lrcat file) and select.
    6. Hit Choose button
    7. Lightroom will check integretity and contents of old catalog. A dialog will open. Make sure all folders are checked.
    8. Hit Import button.
    9. Close Lr when catlog import is complete.
    10 Reopen Lightroom. The new catalog should open by default

  • FF will not start for ONE Windows 7 User. All others work fine.

    I try to start FF and it hangs. Loads into Project Manager, but no browser window.

    So then I need to amend the title to "firefox.exe -P works on all Windows USERS except one.
    Can I adjust the profile for User A from a Windows logon for User B?
    type into the Run dialog "firefox.exe -P" and the system just stares at me...no UI, no GUI, no dialog, nothing.
    and yes, I have uninstalled, uninstalled deleting profiles, started in safe mode, and uninstalled and removed all FF references from Regedit.
    I've done everything short of a rollback to ver 2.0

  • Itunes does not start for one user but works for others on the same mac

    All of a sudden my itunes does not fire up.
    All other users on the same mac it is working fine.
    I have deleted and reinstalled itunes.
    Any help would be great.
    Cheers

    All of a sudden my itunes does not fire up.
    All other users on the same mac it is working fine.
    I have deleted and reinstalled itunes.
    Any help would be great.
    Cheers

  • Get DIO to trigger waveform generation

    Hi,
    I am trying to get a digital IO line to trigger waveform generation. I have a function call that invokes WFM_Op(), which is set up to trigger on one of the PFI inputs. This part works fine for an externally generated interrupt.
    What I want to do is use one of my digital output lines, looped back to the PFI input, as the signal source. However when the call is made to the DIG_Out_Line() it hangs, it seems like it's waiting on the call to WFM_Op() to finish first. (Obviously my program is multithreaded)
    It seems pretty weird that you wouldn't be able to do this, the two things should be separate.
    Anyway if you have any suggestions or another method to attempt that's more to your liking please let me know.
    Stefan
    Tarrant
    Research Engineer
    C-CORE
    Captain Robert A. Bartlett Building
    Morrisey Drive
    St. John's, NF
    Canada A1B 3X5
    Tel: (709) 737-8372
    Fax: (709) 737-4706
    E-mail: [email protected]
    Web site: http://www.c-core.ca
    This communication (including all attachments) is intended solely for the use of the person or persons to whom it is addressed and should be treated as a confidential C-CORE communication. If you are not the intended recipient, any use, distribution, printing, or copying of this email is strictly prohibited. If you received this email in error, please immediately delete it from your system and notify the originator. Your cooperation is appreciated.

    Stefan,
    I have one suggestions for you. I hope it works out for you:
    Create two programs: one for waveform generation and the other one for outputting the digital signal out of one of the the DIO lines, or a second program which generates a pulse train, out of a counter.
    I don't understand exactly how you are allocating the function calls.Are you placing the function calls one after the other; that is, first a WF generation one,and then a DIO function. Or, two separate sets of functions on different threads? If it is the first one, you will not be able to accomplish what you want.
    If this doesn't help, let me know. If you can attach a simple code that depicts the problem, it would be great.
    Hope this information is helpful.
    L Aguila
    Appl
    ications Engineer
    National Instruments

  • I recently purchased the new nano (7th generation) and I love it except for one issue.  On my old 2nd generation nano, when I played podcasts, it would play podcasts one at a time. So if I had 20 episodes of a podcast on the device, it would stop at the e

    I recently purchased the new nano (7th generation) and I love it except for one issue.  On my old 2nd generation nano, when I played podcasts, it would play podcasts one at a time. So if I had 20 episodes of a podcast on the device, it would stop at the end of each one.
    With the new nano, I can select and play a podcast, but when it’s over, it goes straight to the next one without prompting.  It keeps on playing all of the episodes of any podcast until you stop it manually.  Setting the repeat function differently does not prevent episodes from being played automatically.
    This can be very irritating when I only want to listen to one podcast.  I’ve often fallen asleep listening to one episode of a podcast, only to be woken up hours later by the iPod working its way through all subsequent episodes.  It is also annoying that any podcast which has started automatically in this way is marked as ‘played’ – even if you stop it within a few seconds.  This makes it hard to keep track of what you have actually listened to.
    Is there any way to set the iPod to play all the podcasts individually? I have read the User Guide from cover to cover, and can’t find a way of doing this.
    MD

    Dude or hot-spur,
    Not fishy at all!!!! You really think I would have taken any more of my time to post a bogus rant? We'll no, it is unfortunately all true. I want to hear from anyone who is experiencing such problems not anyone else that wants to put there two cents in. I really don't need anymore hate or negativity. Just people's experiences because I feel like I am the only one having so many problems. Thank you
    Yes, I have had some unfortunate bad luck to have so many problems at the same time, but some of them are just things you cannot do on the new OS.
    Thank you again

  • I bought an apple iPod 5th generation the other day and I cannot remember the unlock passcode. I have done the restore thing, but because I never set it up or synced it with iTunes, it does not recognize my device. It is disabled for one hour. Please help

    I bought an apple iPod 5th generation the other day and I cannot remember the unlock passcode. I have done the restore thing, but because I never set it up or synced it with iTunes, it does not recognize my device. It is disabled for one hour. There's only a few things that could be my passcode, but because it disables for an hour, it is time consuming trying to figure it out. What do I do? I do not care about having to erase everything since it's new and there's nothing on it, but it was never synced with iTunes.

    Disabled
    Place the iOS device in Recovery Mode and then connect to your computer and restore via iTunes. The iPod will be erased.
    iOS: Wrong passcode results in red disabled screen                         
    If recovery mode does not work try DFU mode.                        
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings        
    For how to restore:
    iTunes: Restoring iOS software
    To restore from backup see:
    iOS: Back up and restore your iOS device with iCloud or iTunes
    If you restore from iCloud backup the apps will be automatically downloaded. If you restore from iTunes backup the apps and music have to be in the iTunes library since synced media like apps and music are not included in the backup of the iOS device that iTunes makes.
    You can redownload most iTunes purchases by:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store        
    If problem what happens or does not happen and when in the instructions? When you successfully get the iPod in recovery mode and connect to computer iTunes should say it found an iPod in recovery mode.

  • I just downloaded and instaled firefox 4. Now, everytime I institute a command I get a po[p-up from Java script that tells me to uninstal set. I cannot go on untin I press ok and then I am good for one more command and it starts with the pop-up again.

    I'm not even sure if this is an extension or plug-in and all I can tell you is what I have already stated. I can only make one command at a time and after each one I get a pop-up from Java script that says uninstal set. I must depress ok to move on, but only for one more command and it starts over again. This also happened when I tried to instal firefox 4 a couple months ago and I deleted the program and went back to an earlier version.

    Mail troubleshooting - Yosemite
    Troubleshooting sending and receiving email messages
    Troubleshooting sending email messages
    SMTP servers keep going offline

  • I have downloaded several books into ibooks.  Started reading one and closed it when I was done reading for the day.  Now I want to access other books and when I open ibooks it goes directly to that first book.  What can I do? Help please.

    I have downloaded several books into ibooks.  Started reading one and closed it when I was done reading for the day.  Now I want to access other books and when I open ibooks it goes directly to that first book.  It does not give me the shelf to choose what book I want to read - goes directly to the first book. What can I do? Help please.

    There should be a Library button on the top left. If not ap the middle of the screen to get it to appear.

  • Is it possible to trade in a ipod 4th generation for one of the new ones?

    Is it possible to trade in an ipod 4th generation for one of the new ones?

    If you purchased it within the last 14 days you can return it for a full refund and then purchase the 5G. Otherwise Apple will only give you a 10% recycling discount if you turn in an old iPod and purchase a new one.

  • I started with one itunes account for my iphone and ipad, and now have a second ipad linked to the same itunes.  Can I set up a new itunes account for one ipad without losing what has already been downloaded on it?

    I started with one itunes account for my iphone and ipad, and now have a second ipad linked to the same itunes.  Can I set up a new itunes account for one ipad without losing what has already been downloaded on it?  I want to stop my husbands downloads appearing on my ipad, and vice versa.

    A much simpler solution would be to go into Settings > Store and turn off Automatic Downloads

  • I click on one song and another one starts playing.  Cover art for one artist shows up on another album.  All of my music isn't showing up.  Please help.  Why is this happening?  How can I fix it?

    I click on one song and another one starts playing.  Cover art for one artist shows up on another album.  All of my music isn't showing up.  Please help.  Why is this happening?  How can I fix it?

    Sorry for not getting back with you...
    That moves only the iTunes media, not the iTunes library (which is really kinda nebulous).
    iTunes library = iTunes folder and all the media, wherever it is located.
    The /Music/iTunes/ folder contains the iTunes library.itl file, which keeps track of everything in iTunes.
    I do however still have the original MAIN startup drive still in the computer, it's just not the startup.
    This is good you still have it.
    Try this...
    Hold Option and launch iTunes.
    Select Choose library... and select the /iTunes/ folder on the original drive. It should be in /Users/your_user_name/Music/.
    Don't mess with anything. We can get it cleared up.
    Does everything work okay?

  • Firefox crashes on start up for one user but not another

    Crash ID: bp-df3a48d7-363c-4d2f-87d3-f73902140723
    Version: 31
    Crashes on start up for one user but not another. Both are administrators.
    I have uninstalled and re-installed. No change with each user.
    Crashes in safe mode as well (holding down shift)
    No addons present in other user.
    Have ran Malwarebytes and cleaned
    Have ran CCCleaner and cleane all including registry entries with Firefox uninstalled.

    Create a new profile as a test to check if your current profile is causing the problems. <br>
    See '''Creating a profile''':
    *https://support.mozilla.org/kb/profile-manager-create-and-remove-firefox-profiles
    *http://kb.mozillazine.org/Standard_diagnostic_-_Firefox#Profile_issues
    If the new profile works then you can transfer files from a previously used profile to the new profile, but be cautious not to copy corrupted files to avoid carrying over the problem <br>
    '''Profile Backup and Restore'''
    *http://kb.mozillazine.org/Profile_backup
    *https://support.mozilla.org/en-US/kb/back-and-restore-information-firefox-profiles
    *http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox

  • Applications are mentioned free, but when we start downloading one dollar is charged in my credit card, but only for the first time when i switch on and use it for the first time one dollar is charged. and from next application it is free. why?

    Applications are mentioned free, but when we start downloading one dollar is charged in my credit card, but only for the first time when i switch on and use it for the first time one dollar is charged. and from next application it is free. why?

    Kindly inform any email id or toll free number to contact apple for your below answer, Mr.King_Penguin
    About receiving my credit card being debited for Free App Store Application downloads,
    It should be within a few days, but it might vary a bit by bank/provider :
    I am in India, if the bank don't refunds , what to do?
    Rajagopal.pngr :-  It is only a holding charge, it is not a permanent charge. If it isn't refunded within a few days or so (and it quite possibly won't be over a weekend) then you can query the charge with Apple.

Maybe you are looking for

  • Debugging core files with dbx

    Here are a few questions one of our developers asked me to post: There are some things I don't understand about these core files. (I get this dbx message examining the core file: dbx: internal warning: writable memory segment 0xfe750000[188416] of si

  • Can a T61 with a Santa Rosa platform run Vist 64-bit, or do you need a Penryn platform?

    Can a T61 with a Santa Rosa platform run Vista 64-bit, or do you need a Penryn platform? I have been told that the Santa Rosa platform cannot handle Vista 64-bit. Thank you! MacBook Pro, with an aluminum unibody enclosure **As of September 15, 2008,

  • IDOC type for PO

    Hello, I am new to SRM and need to send a PO created in SRM 6.0 to a legacy system as an IDOC. I have checked the available IDOC types in SRM and cannot find any types that match a PO. Does anybody know if such an IDOC type exists? Thank you

  • So, can I expect my palmrest to be replaced within 24hrs, now?

    Hey guys, I bought a white Macbook back in July, and have some pretty dark staining on my Macbook's palmrest. I know Apple will replace it, but when I called, they gave me the whole "5-7 business days" BS they have on their monitors. I have an Apple

  • Security solution

    Hi All I have to suggest a security solution to one of my customer who is having 40 branches within city connected thru RF Customer is looking a solution whenever any branch employee login on the site they receive a password on mobile phone or if not