Synchronizing the read of two timer tasks (Period and Two Edge Separation)

Hello,
I am using labview 2011 and need to latch the data from two timer tasks of a 6602 board at the same time and then perform the read. One task is a period measurement the other is a two edge speration.  It sounds pretty simple and I am sure it is, I just haven't located the correct information yet,  If someone would point point me in the correct direction.
Thanks,
Mike

While it's true that a digital edge arm start trigger can help to sync the tasks to begin together, the nature of the measurements you're making also have a big impact on whether you can depend on the buffered data remaining "synced."   Both measurement types will latch measurement data at times determined by the signal(s) being characterized.  You cannot configure either task type to sample at a known constant rate.  You can only accept samples at the rate dictated by the signals' own edges.
Ok, so having said all that, here are some implications:
1. a cumulative sum of all your period data will effectively give you timestamps for all the active edges, with t=0 set by the arm start trigger edge.
2. there is no information inherent in a two edge separation measurement that can identify the time relative to the arm start trigger.  You'll get a bunch of measured interval times with completely unknown times between those intervals
3. caveat: if you are somehow using the same signal edge for both measurements AND getting one measurement of two-edge separation for each and every period measurement, ONLY then would you be able to reconstruct the timestamps relative to the arm start trigger edge.
So I'd caution you that the idea of latching readings in sync or reconstructing relative edge times between the measurements is pretty unlikely to work except under some very specific circumstances.
-Kevin P

Similar Messages

  • 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?

  • Why does the iPhone Keyboard have a reversed period and comma from the normal keyboard?

    Why does the iPhone Keyboard have a reversed period and comma from the normal keyboard?

    MacinNW_Brent wrote:
    I don't mean to drive a Marine crazy, but there is no such thing as a standard keyboard. Especially tiny ones. Looks at a phone key pad, and then look at a calulator keypad. It is flipped top to bottom.
    JajLvr, if it drives you crasy, then get a BT keyboard.
    Brent
    Agreed.  Even the iPhone has multiple built-in keyboards to choose from.

  • Hi. My 2013 MacBook Air has suddenly reverted to a previous Excel spreadsheet (from May). I use the same spreadsheet several times a day and hit cmd 's' every 5-10 minutes. How can I find the version I was using yesterday?? Please help. Thanks

    Hi. My 2013 MacBook Air has suddenly reverted to a previous Excel spreadsheet (from May). I use the same spreadsheet several times a day and hit cmd 's' every 5-10 minutes. How can I find the version I was using yesterday?? Please help. Thanks

    Might be something for you here > Automatically save and recover files - mac excel

  • Two edge separation only on first 2 channels?

    Hello,
    I have encountered a strange behaviour of the NI6602 Counter/Timer.
    When I use the C# Meas2EdgeSeparation example as provided by NI, I am only able to have correct time measurement on channels 1 and 2. For the other remaining 6 channels the time will always be measured immediately when I only have a start signal, the stop signal is not required. This results in a measurement of 1.25 e-8 s, being the minimum value of this counter. It seems that the start signal is also seen as stop signal, but Two Edge Separation should not have this.
    I have tried:
    - using the wires of the other channels on channel 1 or 2: no problem
    - disconnecting all other wires apart from the start signal for a channel: still a measurement of time, stop signal not necessary.
    I have no idea what to do next, channels 1 and 2 are OK, which is bugging me the most.
    Any suggestions are more than appreciated!
    Best regards,
    Rob

    One simple idea is to parallel wire the opto signals to 2 different counters.  Let one measure the forward time and the other one measure the rebound time.
    If the edge sequence goes 1-2-2-1 (with two discrete pass-through events on opto2), you may need to set up the 2nd counter to use the trailing edge of the
    opto2 pulse as an "Arm Start" trigger.
    If you're using an M-series multifunction board, it may be easier to create a hardware-timed digital task and then figure out the timing with some post-processing.
    -Kevin P.

  • I have downloaded the new version 5 times.  Uninstalled and installed 64 bit version.  Error message 7 (Windows 126)

    I have installed the version of iTunes 5 times.  I uninstalled and started over, installed with 64-bit and still am getting an error message.  Message:  Error 7 (windows 126).  Any thoughts?

    found this:
    zhansen06
    Re: Error 7 (Windows error 126) 
    Jun 25, 2011 2:31 PM (in response to benbenx)
    Here is how I fixed the problem.
    Uninstall Apple Application Support, Apple Mobile Device Support, Apple Software Update, Bonjour, iTunes, and Quicktime. Basically any Apple software.
    Download and re-install itunes, it will install all of the above.
    Open iTunes. It now runs correctly.
    I was having the same problem until I did this, and it fixed the problem right away.
    Sit back and enjoy music.

  • I-Pod shows the same artist 10 times or over and over

    I Pod classic shows the same artist over and over

    There are many reasons this could happen, but I'll list a few possibilities:
    1) You have your iPod on manually manage, and you've dragged the same songs many times onto the iPod.
    2) You have many duplicates of the songs in iTunes and it's syncing everything to the iPod.
    3) There's something wrong with the iPod and you should restore it in iTunes and set it back up fresh and load the songs you want back onto it.  Keep in mind that restoring the iPod will lose things that are on it, so make sure you have your songs in iTunes before doing this.

  • How can I localize the text of process names, task names and user actions within a process?

    I'm very interested in using the capabilities of Adobe LiveCycle Process Management for my project, however I have one rather large concern...   I hope someone here can tell me whether there's a way to address it.
    Since I work for the Government of Canada, I have to meet certain requirements relating to bilingualism of the user interface.  It's my understanding that the Workspace portion of LiveCycle has already has support for French.
    But what about the design of my processes?  How can I display text to a user in the language of their choice when they're interacting with my processes? ... in particular, I'm thinking about the process name, task names, and user actions.
    I hope that this is possible without too much pain.  I imagine this must be a pretty common requirement!
    Thanks in advance to all who respond.

    You can completely change the content of whole pdf by using "renderPDFForm" operation under service "FormsService". in this operation there is Template category where you can set the Locale.
    And if you need to change the other workspace options like Complete, Save as Draft , you can then import workspace ui project and then change apppropriate values.
    Thanks,
    Prashast

  • Two edge separator with a NI DAQCard-6024E for PCMCIA

    Hi,
    I have two different TTL-level signals available, and I want to measure the duration of time starting when one signal goes high and stoping when the next signal goes high.
    How can I do this using LabVIEW 5.1 and a NI DAQCard-6024E (PCMCIA)?
    Thankful for every answer.
    Regards,
    Henrik

    Probably the best way to do this is to set up counter 0 to do triggered pulse generation and then do buffered period measurement on counter 1, with the second signal being the gate signal. In other words, the first TTL signal starts the first counter producing a pulse train and the second counter measures this pulse train until the second signal causes it to latch. Look at some of the examples for triggered pulse generation and buffered period measurement and this will probably help you get started.

  • How to use external timebase for Two Edge Separation measurement with PCIe 6351

    Hi
    I am working with PCIe 6351 x series DAQ card.
    counter measurements.
    Here i need to measure the time/no edges between two edges. Falling to Raising of two signals.
    I got the measurement with internal time base.
    here i need to synchronize the measurements with external clock from the external setup.
    so i need to use that external clock,timebase for the counters.
    Any solution please..
    Regards,
    Hari

    First, the VI you mention is NOT for STC timer/counters. Therefore, it won't work.
    If you want to get the time interval between two edges, you want to use the Functions -> Data Acquisition -> Counter -> Count Events or Time VI. This will do the function you are looking for.
    Mark

  • ITunes 11 no longer updates the song play count or the last played date/time on Win7 and on Macs

    I've downloaded and installed iTunes 11 on 2 Win7 PC's, on my Macbook (Mountain Lion), MacbookPro (Snow Leopard) and new Mac mini (Mountain Lion). The song "play count" and "last played date/time" do not update after playing songs on any platform. This problem needs to be corrected as I have 2 iPods and an iPhone that I like to sync every few days. I have not tried the sync yet and will not as long as this problem persists.

    I read another similar post about this same issue, where it was said the the "next play" list could be cleared to get the play count and last played date/time to update. That is true, however iTunes stops playing from the playlist entirely - all you hear is the single song. This is not any sort of upgrade or fix. For the sake of one nicety, Apple programmers have broken a fundamental feature and function. This is not good!

  • I cannot see the option for face time of open and close in iphone 4s

    Plzzz tell me no facetime option for on and off is nott comming in settings help me plzzz

    There is no FaceTime app for the iPhone if that's what you're asking.  FaceTime is accessible through your Contacts as one of the options in how to contact a person -- there is no standalone FaceTime app for iPhone.
    If you mean how to disable FaceTime, you can do that in Restrictions (Settings/General/Restrictions).

  • Trying to save a Form filled out that came in Adobe Reader format, each time I try and save it says it can only save a blank copy

    trying to save a form filled out that came in Adobe reader format, each I try and save it, it says that it can only save a blank format and I lose the data

    Is there anything in the document properties that would make it behave that way?

  • When I updated my graphics driver to version 7.15.10.1666, as suggested in troubleshooting info, it effect the way everything including my task bar and desk top icons were displayed, what can be done to correct this ?

    Everything became smaller. Page displays had wide borders, print was far too small.

    I seem to have fixed it by putting <div  class="clearfloat"></div> after the navigation bar?

  • External counter timebase source in two edge separation task

    Hi all,
    I use a NI 6220 board and want to perform something very similiar to what is described in the knowledgebase article "How Do I Count Digital Edges Between a Start and Stop Trigger on an NI 6602 Counter/Timer Board?".
    Does anybody know how I have to change the example program "TwoEdgeSep.c" to use not the internal timebase but to use an external source (the one I want to count the edges?
    Thank's for your time,
    Uli
    Solved!
    Go to Solution.

    What errors were you getting?
    The counter can count between 2 and 232-1 ticks.  So... the rate that you specify will determine the minimum and maximum value (in terms of seconds) that you can count.  These values are set when you create the channel:
    It seems intuitive to try to put "0" for the minimum value, but that will give you error -200527 (Requested values of the Minimum and Maximum properties for the counter channel are not supported...).  The real minimum value (in seconds) should be no less than 2 * (1/ timebase rate).  I'm not sure if this is your issue or not, I'm just speculating.
    EDIT:  I just realized the default (if left unwired) for the minimum value is 1 µs.  This would be below 2 ticks of your 10 kHz timebase so would give the same error.  You need a minimum value of at least 200 µs.
    The actual timebase rate itself shouldn't have a minimum or maximum value that I'm aware of (I guess maximum would be 100 MHz on your X Series, but in reality you can only pass through ~25 MHz from an external PFI line due to bandwidth limitations).  
    Best Regards,
    John Passiak

Maybe you are looking for

  • Extracting data from R/3 System table

    Hi, Currently, I am reading table data using RFC_READ_TABLE function module. but I want to achieve same thing using the Open hub services. There is so much of information about infoSpoke/open hub etc. But couldn't understand how to specify the target

  • Mini DVI Causing Aircard to Malfunction

    Hey guys, I got a small issue that hopefully someone can shed some light on. Basically, whenever I boot up my macbook with the mini-dvi adapter and an external monitor attached my aircard does not fully connect to my wireless router (i.e. doesn't get

  • Image gallery with CSS menu

    I have a image gallery (slideshow) created with Flash and XML. My website uses a css/javasript dropdown menu for navigation. The dropdown menu is hiding behind the slideshow no matter what I set it's z-index to. Is there something in flash that lets

  • 15" studio display - colored stripes

    Hi, Please excuse my lack of technical knowledge. I was just given a G4 (used to use one at work) with a 15" Apple Studio Display LCD. When I turned the display on, I got a lovely display of stripes of various colors. Each time I turn it on, the colo

  • Questions about Spark DataGrid (Header Font Styles, Header Gradient)

    Just starting out in 4.5 SDK, and just a tad confused on the Spark DataGrid. 1) Trying to set the font style for just the header, but don't see those properties in the designer....as they appear to apply to every part of the DataGrid. 2) Want to set