How do I perform a trigger that collect the data for every rising edge continuously and then automatically put the data in a .xls file??

I need to collect the data for every rising edge a trigger perfoms. So far I could collect the data but it seems that it only collect the data in the start of triggering, but not continuously. I also want to put the data in an excel spreadsheet and automatically add new set of data when the next rising edge occur. Please help.
thanks a lot.

LabWindows/CVI actually ships with a comprehensive set of examples for just about every area of programming you can use it in, including triggered analog data acquisition and ActiveX control of Microsoft Excel for data logging. Go to the following two directories on your computer to find respective examples for the two areas you are inquiring about:
1) C:\MeasurementStudio\CVI\samples\DAQ\Ai\DAQsingleBufExtTrig.PRJ
2) C:\MeasurementStudio\CVI\samples\activex\excel\excel2000dem.prj
Just make sure to study the examples carefully so that you fully understand the processes followed for triggered analog acquisition and the process of launching an ActiveX automation server for control, and then you should be able to merge the concepts shown in both of the example
s to make the application you desire.
Jason F.
Applications Engineer
National Instruments
www.ni.com/ask

Similar Messages

  • I use chrome on my iPad Air. When I open the ipad it often flashes a page that I had viewed for a second or two and then it is gone. How can I prevent this?

    I use chrome on my iPad Air. When I open the ipad it often flashes a page that I had viewed for a second or two and then it is gone. How can I prevent this?

    I don't know if you can prevent it at all. The same ting happens to me in other apps - not just web browsers. I realize that since it's a web browser, there might be something that you don't want someone else to see if they use your iPad, so If it bothers you that much, close Chrome when you are done with it.
    Double tap the home button to bring put the multitasking display. Find the Chrome app preview window and drag it up off the screen to close it.

  • My battery needs service as it is not working for long.  Apple claims it is not a defective battery and that it is my fault since I had the computer for 2 1/2 years and have only run the battery down to empty 100 times.  It is my fault because I did no

    Con't
    Apple claims that because I did not drain my battery frequently and kept it plugged in for extended periods of time, that it is my fault the battery is failing.  I disagree because I was not ever told to consistently drain my battery before recharging or not to keep it on and plugs in for extended periods of time.  I do keep my desktop computer on most of the time and that is why I have kept my Macbook air on for extended time periods.  I feel that Applecare should cover this battey issue and not charge me for replacing the battey.  I feel I should have been told to not keep my computer consistently running on with poweror the battery will fail.  Has anyone had this problem?  Apple should replace my battery under Apple care as my battery does not keep a charge anymore.
    I'll wait to hear.

    You said---Apple claims that because I did not drain my battery frequently
    You said---  I was not ever told to consistently drain my battery before recharging
    You should never do that on purpose, whoever told you that had it wrong or you misunderstood something
    Sure you dont have that backwards? thats exactly what you DONT want to do.
    Did you often drain the battery very low? that would explain a lot.
    Someone might have been misinformed about "battery calibration" regarding much older Macs with removable batteries (see bottom)
    You said-----I do keep my desktop computer on most of the time and that is why I have kept my Macbook air on for extended time periods.
    thats a problem there, youre not supposed to do that.
    Keeping batteries connected to a charger ensures that periodic "top-ups" do very minor but continuous damage to individual cells, hence Apples recommendation above:   “Apple does not recommend leaving your portable plugged in all the time”, …this is because “Li-ion degrades fastest at high state-of-charge”.
                        This is also the same reason new Apple notebooks are packaged with 50% charges and not 100%.
    http://www.apple.com/batteries/notebooks.html
    "Apple does not recommend leaving your portable plugged in all the time."
    *If you don’t plan on using it for a few hours, turn it OFF (plugged in or otherwise) ..*You don’t want your Macbook both always plugged in AND in sleep mode       (When portable devices are charging and in the on or sleep position, the current that is drawn through the device is called the parasitic load and will alter the dynamics of charge cycle. Battery manufacturers advise against parasitic loading because it induces mini-cycles.)
    Keep it plugged in when near a socket so you keep the charging cycles down on your LiPo (lithium polymer) cells / battery, but not plugged in all the time. When not being used for several hours, turn it off.
    And best "tip" is if its near a socket,...plug it in as long as you can (especially at home) since cycle count on the battery are the "miles that wear out the tires (battery)", however again, not plugged in all or most of the time.
    General rule to remember of Lithium batteries is:
    Never drain them LOW  & dont always/often store them HIGH
    While cycle count is commonly seen to be the “miles” on your Lithium Ion pack cell in your Macbook, which they are, this distinction is not a fine line at all, and it is a big misconception to “count charge cycles”
    *A person who has, for example, 300 charge cycles on their battery and is recharging at say 50-60% remaining of a 100% charge has better battery usage and care than another person who has 300 charge cycles at say 15% remaining on a 100% charge. 
    DoD (depth of discharge) is far more important on the wear and tear on your Macbook battery than any mere charge cycle count.  *There is no set “mile” or wear from a charge cycle in general OR in specific.    As such, contrary to popular conception, counting cycles is not conclusive whatsoever, rather the amount of deep DoD on an averaged scale of its use and charging conditions.
                              (as a very rough analogy would be 20,000 hard miles put on a car vs. 80,000 good miles being something similar)
    *Contrary to some myths out there, there is protection circuitry in your Macbook and therefore you cannot overcharge it when plugged in and already fully charged
    LiPo (lithium polymer, same as in your Macbook) batteries do not need conditioning. However...
    A lot of battery experts call the use of Lithium cells the "80% Rule" ...meaning use 80% of the charge or so, then recharge them for longer overall life.
    Never let your Macbook go into shutdown and safe mode from loss of power, you can corrupt files that way, and the batteries do not like it.
    The only quantified abuse seen to Lithium cells are instances when often the cells are repeatedly drained very low…. key word being "often"
    Contrary to what some might say, Lithium batteries have an "ideal" break in period. First ten cycles or so, don't discharge down past 40% of the battery's capacity. Same way you don’t take a new car out and speed and rev the engine hard first 100 or so miles.
    Proper treatment is still important. Just because LiPo batteries don’t need conditioning in general, does NOT mean they dont have an ideal use / recharge environment. Anything can be abused even if it doesn’t need conditioning.
    From Apple on batteries:
    http://support.apple.com/kb/HT1446
    http://www.apple.com/batteries/
    Storing your MacBook
    If you are going to store your MacBook away for an extended period of time, keep it in a cool location (room temperature roughly 22° C or about 72° F). Make certain you have at least a 50% charge on the internal battery of your Macbook if you plan on storing it away for a few months; recharge your battery to 50% or so every six months roughly if being stored away. If you live in a humid environment, keep your Macbook stored in its zippered case to prevent infiltration of humidity on the internals of your Macbook which could lead to corrosion.
    Considerations:
    Your battery is subject to chemical aging even if not in use. A Lithium battery is aging as soon as its made, regardless.
    In a perfect (although impractical) situation, your lithium battery is best idealized swinging back and forth between 20 and 85% SOC (state of charge) roughly.
    Further still how you discharge the battery is far more important than how it is either charged or stored short term, and more important long term that cycle counts.
    Ultimately counting charge cycles is of little importance.  Abuse in discharging (foremost), charging, and storing the battery and how it affects battery chemistry is important and not the ‘odometer’ reading, or cycle counts on the battery. 
    Everything boils down to battery chemistry long term, and not an arbitrary number, or cycle count.
    Keep your macbook plugged in when near a socket since in the near end of long-term life, this is beneficial to the battery.
    Peace
    Battery calibration, battery memory, battery overcharging, battery training, …all these concepts are mostly holdovers from much older battery technology, and on older Apple portable Macbooks ranging from early nicads, NiMh and otherwise; and these practices do not apply to your lithium battery and its smart controllers.
    Calibrating the battery on older Apple portable Macbooks with removable batteries.
    http://support.apple.com/kb/PH14087
    There is no calibration of current Apple portable Macbooks with built-in batteries.
    http://support.apple.com/ht1490
    There is no battery calibration with current Apple portable Macbooks with built-in batteries. Lithium batteries have essentially a 0-‘memory’, and all such calibration involve the estimations fed to the system controller on the SOC (state of charge) of the battery over long periods of time as the battery degrades. The software based battery controller knows the battery's characteristics, or SOC and adjusts itself. This is why there is both no need and purpose to periodically deeply drain your macbook battery, since it doesn’t affect the characteristics of the battery, and further still deep discharges are something you should not do on purpose to any lithium battery.

  • TS1717 Everytime i open Itunes in windows 7 despite me specifying maximised it opens in window that is always too large for the screen. EVen windowing the frame and then remaximiseing puts the buttons outside the edge of the screen

    Every time i open Itunes it starts in a window that is too large for the screen (despite me setting "start maximised" in the launch options). Then hitting the "maximise" button expands the window slightly pushing all the buttons and edge of the frame out of the screen and behind the taskbar at the bottom. I have to move the window to a place where i can resize it smaller than the screen then and only then does maximising the window fit it properly to the screen.

    Okay, I just opened up Itunes this evening and it's not working again! Sheeshy Peetz!
    HOWEVER, this time I followed some different steps and got it working.
    (1) Uninstall Quicktime
    (2) Uninstall Itunes
    (3) Re-download Both
    (4) Install Quicktime First!  (Read #6 below first though)
    (5) Install Itunes Next!  (Read #6 below first though)
    (6) Here is the CAVEAT for me:  I have an SSD as my C:\Drive, which is where I originally installed both of them.   So this time, I installed both Quicktime and Itunes to a Non-SSD drive, which was one of my SATA Drives.
    (7) Start Itunes and Test your Movies now.  For me I was able to play them finally.  Who knows how long this will last lol.
    Maybe this work for someone.

  • How can I delete events, I keep getting multiple dates for an event, have deleted and then continue to re-appear. Any suggestions?

    Birthdates entered into the calendar become multiple events. In one case it has repeated itself over 200 times. I have manually deleted these events at least 3 times and they continue to reappear. Any ideas how to correct?

    One can delete it from one's computer. In the finder go to homeuser, movies, imovie events, delete the footage.
    Then reopen iMovie and see if that helps.
    Hugh

  • TS1424 Every time i want to sign in to my account i receive the error message that my apple id has not been used yet and then i get the message to contact the itune support

    Every time i want to sign in to my account i receive the error message that i need to contact itune support

    Welcome to the Apple Community.
    Did you follow the instructions in the message and contact Apple, which you can do through iTunes Store Support. If Apple have asked you to contact them, then the issue can only be resolved by them.

  • When I am syncing my iPhone 4s it's getting to step 6 out of 6 and then saying that it's "waiting for changes to be applied" and then it just stops and never finishes syncing.

    I also have a new mac book pro. I bought it specifically for this reason. I wanted to make using my devices as easy and streamlined as possible.
    ANY ADVICE WOULD BE VERY HELPFUL.

    Just for the record: now my other favorite podcast says it can't play.  Stoopid.  I'm cut off from my favorite content.

  • How can I make it so that my songs don't go on her iPod and her songs ....

    Me and my mother just got iPods for christmas and hers was a U2 ipod and mine was a 30gb ipod. I have downloaded some songs and have imported some cds but my mother doesn't want those songs on her ipod. How can I make it so that my songs don't go on her iPod and her songs don't go on mine.Do i need to create another itunes?

    The computer can tell the difference between your two iPods. When you first plugged each one in, you named them and the computer recognizes each one as a separate disk.
    Now, when you plug in your iPod, and you are looking in iTunes at your iPod contents, you will see four buttons in the bottom right corner of iTunes - the first one is to display iPod options. Click on this, and under the music tab, select "Automatically update selected playlists only". Then, you scroll through your playlists and select only those you want to be transferred to your iPod. Your mother can do the same thing. Now you can each make your own playlists from the same music library, and only those songs you want to go onto your iPod will transfer when you plug it in. You can make the same selections for all the other options too (video, podcats. photos, etc), so that you only have to have what you want on each iPod.
    I have two iPods, a new 5g video iPod and an ancient 1g iPod, and have no problems syncing each of them with different playlists and options.

  • HT201365 How do I download Whatsaap, Facebook and Skype into my home screen. When I try it gives me an erros message saying that this is not available in a Panamanian store and I live in the US. HELP????

    How do I download Whatsaap, Facebook and Skype into my home screen. When I try it gives me an erros message saying that this is not available in a Panamanian store and I live in the US. HELP????

    Change your country on iPhone, iPad, or iPod touch
    Tap iTunes Store, App Store, or iBooks Store.
    At the bottom of the Featured page, tap Sign In.
    If you're already signed in, skip to step 5.
    Tap Use Existing Apple ID.
    Enter your Apple ID and password and tap OK.
    Tap your Apple ID.
    Tap View Apple ID or View Account.
    Tap Country/Region.
    Tap Change Country or Region.
    Tap the Store menu and tap your country.
    Tap Next.
    Review the Terms and Conditions and Apple Privacy Policy.
    Tap Agree if you agree to the terms and conditions.
    In the prompt that appears, tap Agree.
    Select a payment method and enter your payment information.
    Enter your billing address and tap Next.

  • Safari and firefox 'cannot find the server' for every other page that i navigate to, unless I turn Wifi off and on. How do I fix this?

    Safari and firefox 'cannot find the server' for every other page that i navigate to, unless I turn Wifi off and on. Once i reconnect to the network, the page loads, but after loading a few more pages, the same thing happens all over again.
    This happens each and every time, on different Wifi networks, in different locations.  On the other hand, I don't ever encounter this problem when I tether my laptop to my mobile phone's 3g/2g network using Personal Hotspot. How do I fix this?

    Try this DNS server ...
    Open System Preferences > Network > Advanced > DNS
    Click + and type:
    208.67.222.222
    Click + again and do the same.
    208.67.220.220
    Click OK.
    Quit and relaunch both your browsers to test.
    If that doesn't help, try here >  iOS: Troubleshooting Wi-Fi networks and connections
    And here >  Wi-Fi: How to troubleshoot Wi-Fi connectivity

  • How can I get a movie that I created in IDVD to load in ITunes and stream to Apple TV?

    How can I get a movie that I created in IDVD to load in ITunes and stream to Apple TV?

    Welcome to the Apple Community.
    You can't, but you have a few alternatives.
    Best option: If you made the movie on the DVD in iMovie (or even another editing application) and still have the project, go back to the project and export it for Apple TV (using the Apple TV preset)
    Next best option: If you still have the original movie that you put on the DVD, open it in QuickTime and export it for Apple TV (using the Apple TV preset)
    Worst option: Use something like Mpegstreamclip (Quicktime Mpeg2 playback component required) to convert the DVD to h264.

  • I've "successfully" installed the latest version of Flash Player. How do I find where it "lives" so that I'm certain it's in there. Also, do I put the App icon in the trash now? (I am on a Mac) Thank you!

    I've "successfully" installed the latest version of Flash Player, as recommended by Firefox. How do I find where it "lives" so that I'm certain it's in there. Also, do I put the App icon that appears on my desktop, in the trash now? I am on a Mac and I am not technically inclined.
    Thank you!

    Your list of plugins shows that you have installed Flash 10.2 r152 which is the current release version.
    You can also confirm that Flash is installed by visiting this link - http://www.adobe.com/software/flash/about

  • HT1727 How can i retrieve purchased audiobooks that were not synced (problem encountered during sync process).  My account shows the purchase history, but the apps are no longer displayed in itunes or on my ipad or iphone

    How can i retrieve purchased audiobooks that were not synced (problem encountered during sync process)?  My account shows the purchase history, but the apps are no longer displayed in itunes or on my ipad or iphone.  I'm not very savvy with using iTunes - I don't think is very intuitive (unlike me:)).  Any help would be appreciated.
    Thanks

    Hello mcegirl4,
    Thanks for using Apple Support Communities.
    Please refer to the instructions in the following article to assist in downloading those previous purchases from iTunes and the App Store:
    Download past purchases
    http://support.apple.com/kb/HT2519
    Take care,
    Alex H.

  • HT2513 How do you change the name of a reminder in the reminder list.  I right click and then choose "get information"  I can change the colour of the reminder but when I type in the name that I want and then press enter the name stays as "untitled".

    How do you change the name of a reminder in the reminder list.  I right click and then choose "get information"  I can change the colour of the reminder but when I type in the name that I want and then press enter the name stays as "untitled"

    Jerry,
    Thanks for replying again. I've got a little bit further thanks to you. I tried the US keyboard layout as you seemed pretty definte that it should work. This time I applied the setting and also started the language toolbar and selected it from there.
    Hey presto, I've got the @ where it should be. Excellent.
    However the single quote ' works in a weird way. When I press it, it doesn't show up on the screen. But when I press another key, I get the single quote plus the next key I press. When I press the single quote twice, I get 2 of them. This is also the same with the SHIFT ' key. i.e. for the double quotes.
    Very strange. I'll look at other keyboards and see where that gets me.
    Thanks,  Maz

  • When I disconnect my iphone 3gs(iOS) from computer, the device disappears from my itunes. This prevents me from doing a wireless sync. how do i fix it so that my device stays on itunes without having to plug it in all the time?

    When I disconnect my iphone 3gs(iOS) from computer, the device disappears from my itunes. This prevents me from doing a wireless sync. how do i fix it so that my device stays on itunes without having to plug it in all the time?
    it worked the first few times i did it but the next day after i closed out of itunes once, the device only appears when i plug in my phone.

    Whenever a menu choice is grayed out, that is because you have Restrictions turned on in Settings.  Be sure to turn it off.
    You are confusing an itunes store account with an icloud account.  You two can continue using the same ID for itunes (thus sharing purchased music, apps, etc.), but you really should have separate accounts (different IDs) for icloud, since an account is intended for one user to keep his/her devices in sync.
    To create a new icloud account, go to
    http://www.apple.com/icloud/setup/
    Then go to Settings>icloud and scroll to the bottom of the screen and tap Delete Account.  (have restrictions turned off)  That will disconnect the device from the account but will not delete data in icloud or other devices.  Then sign in using the new ID.

Maybe you are looking for

  • HP COMPAQ CQ42 258VX Display problem

    Model type : CQ42 258VX PROC : INTEL i5 - 450 2.4Ghz RAM : 2GB DDR3 HDD : 500GB VGA GRAPHICS : ATI Mobility radeon HD5430 - 512MB I have a Compaq notebook CQ42-258VX, recently i must format and reinstall with windows 7 32 bit. The following issues oc

  • How do I transfer data from my phone with the bluetooth to my Mac??

    Hey, I heard from a friend I can send my phonebook/phone data through blue tooth to my Mac. My phone is currently broken and I don't want to lose the data. I know I can text it through,but I can't with my phone right now-is there a way to set up the

  • Does it have a feature that supports management with accounts, fixed IP, VLAN ?

    I'm not quite familiar with those advanced features if it does exist as the fact that i've been primarily using cheap and unknown AP products for years :D I'm planning on upgrading my APs for personal reasons. Could anyone tell me does it have a feat

  • Opening one of my catalogs in V5.3 crashes dynamiclinkmediaserver.exe

    I just upgraded some older V4 catalogs to V5. 3 out of 4 catalogs open fine but one them says "dynamiclinkmediaserver.exe has stopped working". I've tried deleting the previews folder and letting it rebuild. Restarted computer. Tried upgrading it aga

  • Ps query results to xml using xml link function registry

    In People tools version 8.46 we need something like where the ps query result output is in the form of XML so that it can be used for external system. The catch I cannot use webservices. It is something like opening peoplesoft queires form excel usin