Data acquisition time not continuous, but starting over and over again

Hi,
My data acquisition time is not continuous but loops over and over
again.  Could someone please take a look at my vi to see if you
have any thoughts on how to fix this.  Also, I tried to set up my
vi so that I could take the mean of the signal at any time I
choose.  However, at the same instance that the data acquistion
time "starts over" again, the mean is calculated (before I trigger it to take the mean)
I have attached my vi and my output file as a text file so that what
I'm trying to say will (hopefully) make a bit more sense. 
Thanks for your help in advance!
Sherri
Attachments:
Datalog1 71805.vi ‏1252 KB

Hi,
Thanks for responding to my question. Attached is the vi with added
comments as to what I think I am doing.  By DAQ time, I mean the
first column of data that is in the data file that I attached
previously.  I am only simulating a signal (at the beginning) so
that I can program in my office.  I do, however, have the same
problem as stated above when I change the simulate signal to DAQmx
using my instrument.
I hope this clearer.  If not, I'll try again. 
Thanks so much!
Sherri
Attachments:
Datalog1 71805 83.vi ‏1228 KB

Similar Messages

  • PDF Merge - merged report ages are not continuous but starting in new page.

    Hi,
    we tried using - FOUtility.mergeFOs(java.io.Reader[] foReaders, java.util.Properties prop) to merge and create a single PDF file but its not working as expected.
    Issue:
    The space of output pdf page 1 is discarded and the second merged file always starting in new page.
    Input:
    Report1 having 1 page
    Report2 having 2 pages - (another description )
    Expected Output PDF:
    Page 1 ( report1) , Page 1( report 2's page1 and continues ) to page 2(report 2)
    Actual Output PDF :
    Page 1 ( report 1), Page 2( report 2's page1), Page 3 ( report 2's page 2)
    Issue:
    The space of output pdf page 1 is discarded and the second merged file always starting in new page.
    Anyone faced this issue before, if yes, how did you solve it ?
    Thanks,
    Ayaps

    The output is a chm file. I am compiling as MS HTML Help
    under RoboHelp x5.
    After doing a little more trail work, I have noticed some
    other "strange" happenings. I can get the porjects to merge, but
    from the TOC all of the articles open in a new window. From the
    index, however, they all open as they should--in the topic frame
    from the main window. Not sure why that is.
    For a brief synopsis, here is what I have at this point:
    A "master" project file that includes:
    One new project for a section that is
    complete.
    One project from the existing documentation.
    I am not sure if I need to have the window definitions for
    each project would impact this or not.
    Through trial and error, I have narrowed down the problem to
    the original documentation project. If I remove it from the TOC and
    generate the project, the new topics display as they should.
    I will keep testing and see what I came come up with. If you
    have any idea as to what I might change in the original
    documentation to get it to work just let me know.
    Thanks for all your help!
    Aaron

  • Continuous data acquisition using NiDAQmx with a start and a stop trigger

    I'm sorry if this has been answered many times before, I can't quite seem to find the answer I'm looking for.
    I am using LabWindows CVI version 7 and NiDAQmx with a PCI6023E.
    I wish to acquire data continuously using an external clock as a timebase - I am happy with this.
    I wish the acquisition to start when an external signal (say on PFI7) goes high. I am also happy with this.
    What I also need is for the acquisition to stop when the signal on PFI7 goes low, or possibly when a signal on say PFI8 goes high. I'm not too concerned about which approach to use.
    How do I stop the acquisition with an external signal?
    Thanks in advance,
    Crispie

    I don't have CVI installed, but I've attached screen shots of a LabVIEW program that I believe accomplishes what you are trying to do. Translating it to the C API should be straight forward. I'll try to explain what the program is doing since it's using some of the more advanced features of the driver. Also, the DAQ device you are using doesn't support a true "stop" trigger so I'm using a reference trigger to get as close to the desired functionality as possible.
    First, the program configures a finite acquisition that uses both a start trigger and a reference trigger. The acquisition is using an external sample clock and will acquire 4 samples (2 pre-trigger samples and 2 post-trigger samples). Four may seem like an odd number here, but it allows us to emulate the functionality of a stop trigger as close as possible. Given this configuration, you must acquire at least 2 samples before the "stop" trigger is recognized, and you must acquire 2 more samples after the "stop" trigger is recognized. Hopefully this restriction is acceptable. You can always discard the last two data points after the stop trigger if they're not of interest, but you're stuck always acquiring at least two points between when the start and stop triggers are recognized.
    The program also overrides the default buffer size and read position. By default, the DAQmx driver will pick a buffer size exactly big enough to fit the pre-trigger and post-trigger data (4 samples in this case) and will begin reading data from the start of the pre-trigger data. Explicitly allocating a larger buffer will allow your acquisition to execute without receiving buffer overflow errors, and changing the default read position will allow you to read all of the data between the start and stop triggers as it is acquired and not just the pre-trigger and post-trigger data.
    Finally, the while loop takes care of reading the data. In this case, the loop continues to read data until the task is done and there are no longer samples available for reading from the buffer. The number of samples read per iteration is the lesser of the user specified amount or the number of samples available for reading from the buffer.
    I hope this helps. Good luck.
    Attachments:
    Stop_Trigger1.JPG ‏40 KB
    Stop_Trigger2.JPG ‏43 KB

  • I want to take my apple tv from my home in Canada and us it at the Cabin in the States, but can't seem to get it to set up in the states?  It just keeps asking for time and date over and over.

    We just bought apple tv for our home in Canada, we also want to use it at our Cabin in Montana.  We have internet and can get netflix etc on the Macbook, but don't seem to be able to hook up the Apple TV, it just keeps asking for the Time and Date over and over.  Anyone know what we are doing wrong?

    Hi There,
    Find this here:
    https://discussions.apple.com/message/20125520#20125520
    Problem lies with IOS 6.0
    Restore back to IOS 5.1.1 and set the Location to US you will be ok.

  • My Iphone 4 at random times, just wont send messages for around an hour even if i have full service, its always up to date so its not that but any help on what this could be?

    My Iphone 4 at random times, just wont send messages for around an hour even if i have full service, its always up to date so its not that but any help on what this could be? It could just be my network being a pain in the *** but im not sure, help me out here people !

    never had that problem or heard about it so my bet is a network issue

  • Recently my movies and videos take forever to load and when they start playing it's for a second or two at a time. Have to hit the play icon over and over, did not use to be this way they work great on my desktop and iPod

    Recently I have been experiencing my downloaded videos and online vids taking a long time to load and when they do, they will only play for a few seconds at best and you have to hit the play icon over and over. Never had this problem before with the 20 plus vids I have any suggestions would be appreciated

    I finally resolved my problem after spending way too much time on it. I simply handed my 160GB iPod to my husband to put his fav Stones & Beatles songs on and I went back to my 80GB Microsoft Zune which has never disappointed me.
    After spending so much time trying to figure this out I did finally take it back to Apple Store who performed a diagnostic and found there was a problem with the device. They replaced it with a refurbished one which has similar issues. All I wanted to do was listen to my music. Was that too much to ask? So I am happy to be free of this problematic device. No more Apple for me!!

  • HT4623 I updated my ipad but had to skip the update to the icloud because it was not finished within 2 hours. The ipad worked fine then, but I turned it off.  When I tried to turn it on again, it kept asking for the password over and over.  What do I do n

    I updated my ipad but had to skip the update to the icloud because it was not finished within 2 hours. The ipad worked fine then, but I turned it off.  When I tried to turn it on again, it kept asking for the password over and over.  What do I do now?

    iOS: Device disabled after entering wrong passcode
    http://support.apple.com/kb/ht1212
    How can I unlock my iPad if I forgot the passcode?
    http://tinyurl.com/7ndy8tb
    How to Reset a Forgotten Password for an iOS Device
    http://www.wikihow.com/Reset-a-Forgotten-Password-for-an-iOS-Device
    Using iPhone/iPad Recovery Mode
    http://ipod.about.com/od/iphonetroubleshooting/a/Iphone-Recovery-Mode.htm
    Saw this solution on another post about an iPad in a school enviroment. Might work on your iPad so you won't lose everything.
    ~~~~~~~~~~~~~
    ‘iPad is disabled’ fix without resetting using iTunes
    Today I met my match with an iPad that had a passcode entered too many times, resulting in it displaying the message ‘iPad is disabled – Connect to iTunes’. This was a student iPad and since they use Notability for most of their work there was a chance that her files were not all backed up to the cloud. I really wanted to just re-activate the iPad instead of totally resetting it back to our default image.
    I reached out to my PLN on Twitter and had some help from a few people through retweets and a couple of clarification tweets. I love that so many are willing to help out so quickly. Through this I also learned that I look like Lt. Riker from Star Trek (thanks @FillineMachine).
    Through some trial and error (and a little sheer luck), I was able to reactivate the iPad without loosing any data. Note, this will only work on the computer it last synced with. Here’s how:
    1. Configurator is useless in reactivating a locked iPad. You will only be able to completely reformat the iPad using Configurator. If that’s ok with you, go for it – otherwise don’t waste your time trying to figure it out.
    2. Open iTunes with the iPad disconnected.
    3. Connect the iPad to the computer and wait for it to show up in the devices section in iTunes.
    4. Click on the iPad name when it appears and you will be given the option to restore a backup or setup as a new iPad (since it is locked).
    5. Click ‘Setup as new iPad’ and then click restore.
    6. The iPad will start backing up before it does the full restore and sync. CANCEL THE BACKUP IMMEDIATELY. You do this by clicking the small x in the status window in iTunes.
    7. When the backup cancels, it immediately starts syncing – cancel this as well using the same small x in the iTunes status window.
    8. The first stage in the restore process unlocks the iPad, you are basically just cancelling out the restore process as soon as it reactivates the iPad.
    If done correctly, you will experience no data loss and the result will be a reactivated iPad. I have now tried this with about 5 iPads that were locked identically by students and each time it worked like a charm.
    ~~~~~~~~~~~~~
    Try it and good luck. You have nothing more to lose if it doesn't work for you.
     Cheers, Tom

  • Data acquisition time of ocean optics spectrometer

    Hi, LVers,
    I has a S2000 multichannel fiber optic spectroscopy system. It includes two channels, master and slave. Additionally there is a channel labeled as 'LS-1'. I use labview and driver OOILVD32.dll to control this spectroscopy. In OOILVD32.dll, I use vi 'OOI SCAN' to acquire spectral data through master channel.
    In vi "OOI SCAN", I disable all slave channels (there are 7 slave channels) and enable master channel only. However, I find that the data acquisition time is always approximately two times of the "sampling frequency" we set. E.g. for sampling frequency of 75 ms (a small value), the spectral data acquisition time is approx. 160-170 ms; for a sample frequency of 4000 ms (a large value), the spectral data acquisition time is approx. 8300-8400 ms, so on and so forth.
    I am very confused with this phenomenon. I guess the most probable reason is that both master and slave channels are always enabled even one of them is software disabled. Because this product is discontinued, I can not find the manual. Anybody could advise me how this such a spectrometer works internally? Is there any multiplexing acquisitions inside?
    Thanks in advance.

    Hi Hello183,
    Unfortunately, I do not know how your specific device works, however, I did find the product page for this device on the Ocean Optics web site, which points to the USB4000-series Plug-and-Play Spectrometer for more details. There seems to be a operations manual for this device. Perhaps this can shine some light on how the sampling works for your device as well.
    Aaron P
    National Instruments
    Applications Engineer
    http://www.ni.com/support

  • My 5th ten iPod is basically doing nothing but trying over and over again to start up. I've tried to restore it, but when the logo apple appears, it simply shut down.

    my 5th ten iPod is basically doing nothing but trying over and over again to start up. I've tried to restore it, but when the logo apple appears, it simply shut down. Then I've connected it to my macbook pro, and I've seen the script "Please Wait - Very Low Battery", but, after some time, the iPod tries to start up again, and nothing happens. It's a kind of noise, I'm thinking about the hard disk, (it's a 80Gb version), and I'm listening to it; every 30 seconds seems to try to open and then shut down again. I can't see the iPod in iTunes too. Don't know what to do. Can someone help me? Thanks a lot, it's my first forum

    It sounds like the battery could be going bad as well as the iPod's Hard drive.  You'll want to have the iPod serviced either by Apple or a third party repair company. Here is Apple's pricing:
    http://www.apple.com/support/ipod/service/prices/
    Google for "iPod repair" and you should get a ton of results to work with.
    B-rock

  • My Safari is reloading over and over and every time that I start the computer I need to put off and on the Wi-Fi to work properly.

    When I start the computer I try to open the safari but it start to reaload over and over, so I turn off the Wi-Fi and after turn on, then start Safari again, and it starts to work again. I believe that is not a problem of RAM because I put 16GB of RAM for not having ptoblems like this. So what is the problem? what should I do to solve them?

    Welcome to the iOS world of nonthinking, wherein the OS decides everything for you, whether or not that's what you want. Salient details described in http://www.apple.com/macosx/whats-new/features.html#resume
    See these for steps to resolve:
    http://hints.macworld.com/article.php?story=20110918051930924
    http://osxdaily.com/2011/08/01/turn-off-resume-per-app-in-mac-os-x-lion/
    http://restoremenot.info/

  • TS1702 Have the game "The Simpson's tapped out" on Ipad and now every time you touch a character, it jumps out, not even generating the money collected, thus having to do this over and over again! Now, look on itunes for the game itself & not there!?! Hel

    Have the game "The Simpson's tapped out" on Ipad and now every time you touch a character, it jumps out, not even generating the money collected, thus having to do this over and over again! Now, look on itunes for the game itself & not there!?! Help!

    I can not find out a way to finish this game.....Is
    there anyone can help me?You can finish the game by calling System.exit(0).
    Have you found a way to start the game?

  • I'm using a Rocketfish USB to Lightning cable for powering my IPAD2.  But when I plug it in the battery icon beeps and comes on then goes off...then goes on...then goes...all beeping every time.  Its as if its being unplugged and plugged in over and over.

    I'm using a Rocketfish USB to Lightning cable for powering my IPAD2.  But when I plug it in the battery icon beeps and comes on then goes off...then goes on...then goes...all beeping every time.  Its as if its being unplugged and plugged in over and over.  It won't stop...and its not charging....just beeping.  I've check connections.  Any ideas?

    - While charging try resetting the iPod:
    Reset iPod touch:  Press and hold the On/Off Sleep/Wake button and the Home
    button at the same time for at least ten seconds, until the Apple logo appears.
    - Next try restoring the iPod via iTunes.  First from backup and if still problem restore to factory defaults/new iPod.
    - However, I really think that the iPod has a hardware problem and an appointment at the Genius Bar of an Apple store is in order.  If defective Apple should give you a refurbished iPod.

  • Email displayed as not sent out (sticks in outbox) but delivered over and over

    Dear people of planet apple.
    When sending an email from my iPad I sometimes experience that the mail in shown as not being delivered (it stays in the Outbox) and the Pad tries to deliver it over and over which indeed works because the receipient is flodded with my email every minute until I realize this and manually delete the mail from the outbox.
    I had the feeling that this happens only whis mails that are frequently replied and grow longer and longer but just today I had the same issue with a relatively show mail.
    Any hints?
    Ideas (not verified, but possible):
    - Happens when sending while I do not have a good 3G internet connection
    - Happens only with a specific receipient

    I'd like to add that the idea of a bad internet connection causing may not be valid as yesterday I wrote a mail that got stuck but I realized this only two hours later. In the meantime I went home and was in my wlan (and it continued to spam the receipient).
    Somehow the Pad does not realize that the mail is sent .. maybe the feedback from one of the mailproviders is missing?

  • My Droid Mini will go to "sleep" and then I click the side button to turn it back on and it flashes off. It does that repeatedly. Eventually it brings me to the lock screen. But it does that over and over again. It's starting to happen more and more. Any

    and it flashes off. It does that repeatedly. Eventually it brings me to the lock screen. But it does that over and over again. It's starting to happen more and more. Any ideas/advice on this?

    The proper way to close Firefox is through the File menu "Exit" or the equivalent with the Firefox button.
    More detail in item '''#38 Firefox already running '''
    of
    [http://dmcritchie.mvps.org/firefox/firefox-problems.htm#fx4interface Fix Firefox 4.0 toolbar user interface, problems (Make Firefox 4.0 look like 3.6) (#fx4interface)]
    Firefox already running, to properly shutdown Firefox when closing the last window use File → Exit/Quit (or Firefox button → Exit). Closing Firefox with the [X] in the upper right corner closes the window ("Ctrl+W") but that does not necessarily close Firefox if it has subtasks running. If you want to close and reopen Firefox use the "Restart" within Add-ons if you made a change requiring a restart, or install "[https://addons.mozilla.org/firefox/addon/restartless-restart/ Restartless Restart]" ("Ctrl+Alt+R") which will allow you to take Firefox down and restart without having to check the Windows Task Manager to see if Firefox first actually ended. [http://kb.mozillazine.org/Firefox_hangs Firefox hangs]

  • When i plug the USB for my iPad into my computer it will connect then disconnect over and over again untill i wiggle the usb around alot. This is happening to all my ports. But not on the other computer.

    Hi. Whenever i plug my iPad (Happens with ipod and iphone too) to my computer usb for itunes is will connect, then disconnect over and over again. It has happened for a long time but doesnt happen on my other computer. how do i fix this?

    If you have a spare cable, try using that.  But the fact that this doesn't happen on your other computer (I assume using the same old cable) leads me to conclude that something else is at work.  Maybe even the "bad" computer.

Maybe you are looking for

  • In ABAP, if we came in from BSP or SAPGUI ?

    Hi, The question is when we are in ABAP code, is there a way to know if we came in from a BSP or from the SAP GUI. Thank you for your help in advance.

  • PCI-X support

    Is PCI-X 1.0 or later, support available in Solaris OS-SPARC? Also how about its Intel version? Pl. let me know

  • RollbackException hiding other exceptions in WL 5.1

    Hi,           over here we're using Javlin (www.exceloncorp.com) as data resource under           Weblogic 5.1.0 (latest SP). One of the characteristics of Javlin is that it           can throw a com.odi.jmtl.GlobalTransaction.AbortAndRetryException

  • Flash Player not working with IE but with Firefox

    When I go to any site <youtube.mtv,break> to view videos with IE8 it says I need to d/l the newest version of the Flash Player.  I have done this countless times with no luck.  The flash player works with Firefox on any site.  I have went through the

  • Is Print Shop 2 compatible with Mountain Lion?

    I'm considering buying Print Shop 2 (mainly for the purpose of printing labels, though I'm also generally looking for something to replace MS Publisher).  I can't find out, though, whether the current version of Print Shop 2 is compatible with Mounta