Acquire data continuously (buffered semiperiod) with the 6602 board

Hello,
I post this qestion again because I think in my previous thread it will be wraped. :-)
I use an PCI6602 card and 3 or 5 counters on it in buffered-semiperiod measurement.
The planned measurement can last one day or longer so there will be a lot of values.
What is the best way to process the values? Maybe calculate something and
write these results to a file.
I've read something about double buffered acquisition. Also something about
a circular buffer.
In the document "Lab VIEW Data Acquisition Basic Manual" the circular buffer is described.
But I can't find any examples for double buffered acquisition and circular buffers.
Has someone an example?
Will I need such a t
echnique? Or is there an other possible solution to handle the
amount of data continuously?
And when will be the best point of time to do the analyses of the data.
Inside the while-loop or outside?
Is it a problem to do this with the 3 counters simultaneously?
I would be thankful for any tipps.
I attached an file (library), where you can see the configuration (Measure Buffered SemiPeriod.vi).
thanks in advance
Peter
Attachments:
Measure_Buffered_SemiPeriod.llb ‏949 KB

Peter,
If your measurement will last for a day, you will need to log the data to file. Otherwise, it is very likely that you program will be unable to store that quantity of data. A double-buffered acquisition and a circular-buffered acquisition are the same operation. They refer to a continuous acquisition where a finite buffer is used in a circular fashion (new data is continually written over the current data as the buffer is filled). Of course, this requires the user to read data from the buffer before it is overwritten. In the program you attached to this post, you are already performing a double-buffered acquisition because you have the Buffer Mode controls set to "Continuous". With regards to analyzing this data, it would be best to do this
after the acquisition is complete. Furthermore, you should be able to do this with three counters without any problems. Of course, if you need to perform more than three buffered measurements simultaneously, the additional counters will need to use interrupts.
Good luck with you application.
Spencer S.

Similar Messages

  • Acquiring data continuously with a start and stop trigger

    I am currently acquiring data continuously (1000 samples at 5k/s) using a start trigger to start the acquisition and stopping the acquisition with a digital line. The problem with this is that I want the acquisition to stop immediately on a trigger, in otherwords I don't want it to finish with 500 or 200 samples of useless data. I am using a PCI 6024 E. Any suggestions would be appreciated.

    The trick will be to minimize the number of post-trigger scans that will occur after your stop trigger. The stop (reference) trigger requires a minimum of 2 post-triggered scans. Therefore, the way to stop your acquisition as soon as possible is to configure your stop trigger to have only 2 post-triggered scans.
    I've included a little bit of code to illustrate this in LabVIEW 7.0. The number of post-trigger scans will equal the buffer size less the number of pre-trigger scans. Since the minimum number of post-triggered scans is 2, we'd have to set the number of pre-trigger scans to the buffer size less 2. This is wired as the minimum number of pre-trigger scans acquired input to the AI Control.vi in the example.
    This should do what you're
    after. Best of luck to you as you get this all put together.
    Jim Laudie
    Applications Engineer, National Instruments
    Attachments:
    example.vi ‏85 KB

  • Samples Not Acquired on NI 660x or NI 6624 Devices When using pulse width, semi-period or two-edge separation buffered measurements with the NI 660x and NI 6624 on counters 0 and 1, some samples may not be acquired under certain circumstances.

    In the DAQmx 9.4 Readme the following is stated:
    Samples Not Acquired on NI 660x or NI 6624 Devices When using pulse width, semi-period or two-edge separation buffered measurements with the NI 660x and NI 6624 on counters 0 and 1, some samples may not be acquired under certain circumstances.
    Could anyone elaborate on this? I am particularly interested in knowing under what circumstances this problem arises for the 6602 PCI devices.
    How should I understand 'NI 660x and NI 6624 on counters 0 and 1'. Is it only a problem on counter 0 and 1 for the 660x or does this only apply for the 6624 devices.
    /mola 

    Are there any NI Product Support Engineers out there who has an answer to this question and who are willing to share it with me?

  • How do I fix the buffering issues with the radio app?,

    How do I fix the buffering issues with the radio app? When I try to listen to the Hay House Radio station it buffers quite a lot for no apparent reason sometimes.  I have not been able to find any settings to adjust this. Does anyone know what I might be able to do to modify this problem?

    msbroome wrote:
    How do I fix the buffering issues with the radio app? When I try to listen to the Hay House Radio station it buffers quite a lot for no apparent reason sometimes.  I have not been able to find any settings to adjust this. Does anyone know what I might be able to do to modify this problem?
    What is your Internet data rate?

  • My macbook pro(Lion 10.7.2) continually lost connection with the magic mouse, which charged well.

    There is something wrong with my new macbook pro MD322(Lion 10.7.2). It continually lost connection with the magic mouse. I ensure that the mouse is charged well. I also looked up the matter on Web. It looks that the matter is familiar for many users.

    I have a m-audio fast track pro that I'm having a similar problem when using it with my new Macbook Air. I found changing it to 16 bit will work.
    I have a Apogee iMic that works fine so my guess is we will have to wait for Avid/M-Audio to update drivers.

  • Blackberry 10 the data isn't compatible with the version of the device software that you are currently running

    Hi,
    my update to 10.3.1.1565 messed the handwriting input up on my phone.  so I tried to downgrade to 10.2.1, upon doing so all my files were wiped,  however I thought I was being smart by doing a complete backup this morning while running 10.3.1.1565 prior to attempting the os downgrade to 10.2.1 using BlackBerry Link, 
    Anyway I had to restore my device back to 10.3.1.1565 and now when I attempt to do a restore using the .bbb ( backup ) which I created earlier on today i.e getting the following error message:
    blackberry 10 the data isn't compatible with the version of the device software that you are currently running
    the software versions on my phone now and the software version when I did my backup are exactly the same 10.3.1.1565.  I'm able to restore my user files and apps ect, as it offers to do a partial restore,., but my contacts, and remember files are now gone.  I NEED THESE.  how do I get these back..
    please help..
    Thanks,
    GeoYeo - Free Local classifieds - Built for Blackberry 10, if you like it please Rate It and Share it!
    Solved!
    Go to Solution.

    Hi,
    I figured it out.  so I figured I would post.  Apparently BlackBerry pulled the 10.3.1.1565 update.  anway not sure what happened butI ended up usng Shenshi and grabbing an update from a different carrier, upon doing so I am now able to do a complete restore using my old BBB file, 
    GeoYeo - Free Local classifieds - Built for Blackberry 10, if you like it please Rate It and Share it!

  • I got new iphone and when i connect it to my pc, it lost all my current data and replaced it with the backup on my computer, which is from april. so i have lost all my calendar information and schedule. does anyone know how i can reverse this?

    i got new iphone and when i connect it to my pc, it lost all my current data and replaced it with the backup on my computer, which is from april. so i have lost all my calendar information and schedule. does anyone know how i can reverse this and get my information back?

    Every backup replaces the old one, so, unless you included the backup folder in your computer backup routine, you can't get back your calendar info.
    The only time iTunes will not replace a backup is, when you use it to restore from, this one will stay in the backup list in iTunes.
    More info on backups here: http://support.apple.com/kb/HT1766

  • Graph Data does not align with the axis label

    Hi,
    The graph data does not align with the axis label when
    datetimeaxis is used.
    http://livedocs.adobe.com/labs/flex3/html/help.html?content=charts_displayingdata_04.html
    (in the using parseFunction property example) when you hover on the
    line graph the values do not align on the labels. Is this a bug?
    Can somebody help me with this.
    Thank you,
    Gautam.

    Hi All
    Thanks for looking into it.
    Actually we have just added a field GJAHR (was missing in the extractor) so that it takes data accoring to fiscal yr. Actually we had a issue that the Business area for a particular vendor 'X' and doc no 'Y' was showing incorrectly (similar to that of yr 2008) but it changed this yr and the extractor was still picking Business Area for yr 2008.
    So we added GJAHR field so that it takes correct Business Area. we have checked in R/3 Extractor checker and it shows correctly.
    But that change has not reflected in BW yet even after replicating datasource.
    I hope i have made you all understand the situation.
    Thanks for your help
    Ishi

  • J1INUT Error - No data exist for processing with the given selection option

    Hi Guru's,
    I am using transaction J1INUT utilization of provision of TDS on Services for which in have made the provision with the help of J1INPR, But when I am executing J1INUT transaction .The following error message is displaying:
    No data exist for processing with the given selection options
    I have followed the below steps.
    1) ME21N - OP Creation
    2) ML81N - Service Entry
    3) J1INPR - Provision of TDS
    4) MIRO -  Invoice Posting
    I have checked the Table J_1IEWTPROV In that system is updating the table also. Even I have activated table TRWCA for field IND
    But still I am getting the same error. Any suggestions to resolve this.
    Appreciate your inputs. Thanks in Advance
    Regards,
    DeepaK

    Hi Deepak,
    Refer the below link and follow the steps - Provision for Taxes on Service Recieved.
    Re: Provision for Taxes on Service Recieved
    Hope it may useful to you.
    Regards,
    Govind Bhaskaran

  • How does iCloud manage app data like whatsapp ? Does it overwrite the data everytime I backup to I cloud with the data on the phone or it merges the data from previous backups with the new data?

    How does iCloud manage app data( like whatsapp) ? Does it overwrite the data everytime I backup to I cloud with the data on the phone when i backup or it merges the data from previous backups with the new data?

    You need to subscribe to iTunes Match to store your music on iCloud:
    http://www.apple.com/itunes/itunes-match/
    To transfer iTunes Store purchases made on your phone to your computer, connect your phone then choose "Transfer purchases..." from the File menu in iTunes.
    Photostream transfers photos taken on your iOS devices to other devices and your computer. For troubleshooting Photostream see: http://support.apple.com/kb/TS3989

  • Does any one know if the iPhone camera one day will have the ability to date stamp photos taken with the iPhone

    Does any one know if the iPhone camera one day will have the ability to date stamp photos taken with the iPhone

    No one but Apple knows what will come in the future until they announce it. We are forbidden from speculating about it on these forums.

  • Dithering And Averaging With The 6025e Board

    Hi Guys,
    I'm trying to acquire a video analog signal, using the 6025e board. I've read that this board is able to dither and/or average the data stream in order to improve the signal and lower the noise.
    The problem is that I did not find how to enable/disable dithering or averaging. Can you help me out with that ?
    Also, are there any parameters for dithering and averaging that I can additionally control (dither noise level, number of points to average) ?

    Hi AnalogKid2DigitalMan, thank you very much for your reply.
    First, can you please explain why I can reliably sample only 100KHz signals maximum  ?
    Secondly, If you meant that the sampling rate of this board is too slow, then it's okay since we're using a laser scanning microscope which produces a very low rate H-Sync of about (100 - 500 Hz). Our only concern is that in the time between 2 H-Syncs, the board would be fast enough to acquire a given number of pixels. For example say we have H-Sync of 200 Hz, and we would like to have an 1000x1000 image, then the time it takes between 2 H-Syncs is 1/200 = 0.005 sec. We need 1000 pixels during this time, so 1/(0.005/1000) = 200KHZ is the sample rate required for us.
    A. Does anybody know how to activate/disable the dithering and the averaging capabilities of the 6025e board ? ( And if there are parameters that enable more control over these functions ).
    B. Does dithering/averaging lower the effective sample rate of the board ?
    Your help is kindly appreciated.

  • Having Difficulties with the Paste Board Server (PBS)

    Hello!
    I have having difficulty with the paste board server with extensive use of QuicKeys v3.1.1. I have a repetitive process that draws data from FileMaker Pro 8.0v3 to populate variables in QucKeys via the clipboard. The data is then used by QuicKeys to control automated processes in a FileMaker Pro 6.0v3 solution. After about 8,000 copies, pastes, assign variable, and use variable processes, the pbs dies and is no longer usable in any application. I cannot copy, cut, or past after that. A log out or restart is required to get the clipboard working again.
    I found an old reference to this (dating back to December of 2004) on the Mac OS X HInts website. It reads as follows:
    I may be an unusual case, but I have a repetitive problem with Apple's Paste Board Server (pbs) dying on a semi-regular basis. The main symptom is the inability to copy and paste between applications. Logging out or rebooting will fix the problem every time, but a less disruptive solution is to spawn a new copy of /System -> Library -> CoreServices -> pbs. Some apps will connect to the new server automatically, though many (notably Firefox and TextEdit) need to be quit and restarted before they start working normally again.
    How can you tell if pbs is dead? Open a Terminal window and run:
    ps x | grep pbs
    If pbs is dead, you'll see something like:
    350 ?? Z 0:00.00 (pbs)
    22200 std R+ 0:00.01 grep pbs
    If pbs is alive, you'd see:
    350 p4 S 0:00.29 /System/Library/CoreServices/pbs
    22200 std R+ 0:00.01 grep pbs
    If you see (pbs) in parentheses, it's dead! Zombied to be technical. If you see the full path to pbs listed out, then pbs is running fine. If you see both, then chances are you've already restarted pbs manually at some point since you last logged out or rebooted.
    If your pbs is dead, you can starte a new one. Just open a Terminal window and type:
    nohup /System/Library/CoreServices/pbs &
    I have tried the above to no avail. When I check the pbs using the terminal command as stated above, I get the ??, but I also get the full path and no (pbs). Starting a new pbs does not seem to work. This info, of course, being 2 years old may no longer be relevant.
    My sense is that the constant use of the automated processes eventually reaches some limitation of the pbs and it needs to be reset. I'd love to be able to do this from time to time in the form of an AppleScript or Terminal command during the process.
    Any help on this would be much appreciated
    Dual 2.3 GHz PowerPC G5   Mac OS X (10.4.4)   quicKeys v 3.1.1

    Opened a case with apple, they were able to reproduce the error.
    "Dear Marly,
    I finally was able to get it to go to the point where I could try and purchase the allowance, and I received the same error that you initially reported. Now that we have finally been able to confirm that it is something specific to the account, I am going to open an investigation into what is causing it and report back as soon as we have resolved the issue. "

  • Multiple Issues with the MSI board...

    This is my first experience with the MSI board and so far its not very smooth... I have this MSI NEO 2 standard board My specs are
    P4 2.8C
    256 MB (single module) DDR 400 RAM. (TWIN MOS)
    Geforce Ti4200..
    80 GB Maxtor SATA
    FAX
    CD-ROM
    WIth WINDOWS XP HOME Edition..
    i have done no overclocking and the problems are..
    1. First of all it takes lot of time to show the first screen... like the vga card screen comes after 4 seconds.
    2. Some time i press the power button and when the system is detecting the hard disk and CDROM it gives error message like DRAM timings are too tight. i have check the BIOS setting and everything is normal and there is no overclocking and RAM is rated to run at 400 MHz.. although not a great brand but not a bad one either..
    3. Sometime just before loading the operating system it gives an error message that No boot sector found.. insert a Bootable floppy or CDROM.. and when i restart it start going on as usual..
    So wot are the causes of these problem .. i think mainboard is the main culprit... i have scanned my system with 2 anti virus and there is no virus..
    any suggestions..?
    Thanks..

    Quote
    Originally posted by Eddio1
    I've been reading the posts here for about a week and I decided to finally ask for some assistance.  Just picked up the MSI 865PE Neo2-V from BZBOYZ.COM and 1Gb generic matched Elixir 512's and I've tried dozens of bios settings as posted here.  I was finally able to install 2003 ent. server and if I'm lucky, it will get past the 2003 splash screen to a login screen, I'll log in, then put it to work (you know browse some heavily populated folders) it freezes and a reset is necessary.  Now, I cant even get past the splash screen.  I must have booted 200 times with every bios combination and I'm tired of doing fresh installs and experiencing the same system freeze issues.  I've been in the IT business and built dozens of boxes in the past and never had such problems (using bios failsafe defaults no less!) getting an OS to install and run in a reasonably stable fashion.  Mobos these days are extremely frustrating!  I'm going to pick up some Corsair twinx RAM and hopefully this will resolve.  Any ideas would be greatly appreciated in advance of more waiting and RMAing the RAM I have for some Corsair.  Do you think I'm on the right track because I'm gonna be really pissed if new RAM doesn't do the trick.
    Bios settings:
    Bus mastering enabled
    Configured RAM manually in bios 3-4-4-7-8 (tried PSD to no avail)
    Disabled dynamic o/c
    Disabled spread spectrum
    Normal speed
    HT enabled
    All other settings bios setup defaults
    MoBO specs:
    MSI 865PE Neo2-V latest bios: Version  5.4   Update date 2004-7-5
    http://www.msi.com.tw/program/products/mainboard/mbd/pro_mbd_detail.php?UID=612
    P4 3.2 Prescott
    400 FSB
    1Gb Elixir PC3200 RAM (I suspect this cheap RAM is the issue)
    Memtest says it runs at 3-3-3-8
    I configured it manually in bios (per some previous posts) to run 3-4-4-7 (only way to get a boot)
    Native for SATA/ATA
    PS-Enermax EG365P-VE FCA-3.3V-32A, +5-32A, +12-26A
    ATI Radeon 8500 64MB
    Seagate SCSI Cheetah-36Gb 15K 160Mb/s
    Seagate SCSI Barracuda-73Gb 10K 160Mb/s
    Adaptec 29160N
    Boot to Adaptec then floppy then CD
    HI check my previous thread, entitled problem after udate of xp, or look for threads with name on  Sounds like a similar problem.

  • How to acquire data from multiple dataports at the same time

    Hi,
    I studied the multithreading section of Labview, but still have no idea
    how to make it work. Let me briefly explain my situation. I need to
    develop a program that can control and acquire data from 4 serial
    ports. I have 4 buttons to control starting or stopping acquisation
    from the corresponding port. Every acquisation process is a while loop.
    How can I start a new acquisation loop (eg. from COM2) while the loop
    for COM1 is still running? In other words, I wish the 4 loops running
    independently, and are controlled by their corresponding buttons only.
    Thanks for any suggestion.
    Jin

    Hi Anonymous,
          If I were you, I'd create one VI (call it Port.vi) to listen to one port - then make it reentrant.  Drop 4 copies of Port.vi on your Main diagram.  Port.vi inputs could include a VISA reference, a "Start/Stop" notifier and maybe a "Quit" occurance.  Wire to each copy of Port.vi a unique VISA reference and a unique "Start/Stop" [boolean] notifier - let all the copies share the same Quit Occurance.
    In Main, have one event case for each of your stop buttons.  When a button is pressed, send the appropriate Start/Stop notifier!
    ... of course you could accomplish the same thing with four identical loops right in your main diagram, but the more complex the port-handling gets, the easier it will be to manage in one place instead of four.
    Cheers!
    When they give imbeciles handicap-parking, I won't have so far to walk!

Maybe you are looking for