How cascading 2 counters for 64-bit timer?

I work with the PCI-6225 card which has several counters.  I configured CTR0 to 20 MHz.  I get the CTR0 time by calling the OR-DAQmx C function 'DAQmxReadCounterScalarU32' to get the number of frequencies and then by dividing the number of frequency of 20 MHz for a time value.   The maximum time value that may be getting is that of 214.7483648 seconds (2 ^ 32 / 20e6).    I want to stunt/link two counters (CTR0 and CTR1) to get the frequency of 64-bit values.    To be clear, CTR0 configured as CTR1 configured as 32 byte MSB and LSB 32 bits so that whenever CTR0 reached maximum values and "roll" then CTR1 would be incremented by 1.   How can I do this using the C-NOR-DAQmx features?

Thank you

Ian

Hw do will be more reliable, but here are two possible ways to approach it in sw.

1. There is a DAQmx property with a name similar to "Terminal number reached" that I have used in LabVIEW but do not know the underlying C syntax.  When you query this software, it will return a true once, is reset to false.   I'm sure that he will return a true even once on the * following * the event rollover, but you would be better double-check me on that.  Not knowing your entire application, I guess you will probably need to be prepared to manage several inversions.

2. in certain applications, rather than establishing a measure which follows the cumulative time, you can configure the hw to measure periods and then take a NAP in sw to get your 'timestamp '.   Unless an individual interval could exceed 200 + seconds, you can just do your accumulation of software with a 64-bit data type.

Technically, you can even do both.  Do a measure 32-bit intervals hw, do a query of software for the event of tc, accumulate intervals & counties of reversal in a 64-bit int.

-Kevin P

Tags: NI Hardware

Similar Questions

  • computer laptop ac-15 122tu: how to find drivers for 32-bit operating system

    Home product HP only offers drivers for 64-bit systems. How do I get the drivers for 32 bit. Help, please

    Hello:

    See if the W7 32-bit drivers and the HP Probook 450 G2 software work on your model.

    It has basically the same material.

    Do not use the BIOS or firmware files well.

    http://h20564.www2.HP.com/hpsc/SWD/public/readIndex?sp4ts.Oid=6943827&swLangOid=8&swEnvOid=4053

    According to the list of parts on the link below, your laptop equipped with a card Realtek RTL8723BE 1 x 1 802.11b/g/n Wi - Fi and Bluetooth 4.0 combination WLAN, so use the Realtek wlan and bluetooth support above page Realtek drivers.

    http://PartSurfer.HP.com/search.aspx?SearchText=N8M18PA

  • How to download DW for the 2nd time without using CC.

    My hard drive has been corrupted and I lost all my software including DW CS5.5.


    Can someone tell me how I can download this for the second time on my new HD, better yet give me a link.


    • I downloaded and bought in full, not on the CC, would be the same as before.
    • 'version' (buy / trial) can I download what I can enter my serial number, I.

    Thank you very much.

    You can get versions no - CC program Adobe here: download and Installation Help | Download and Installation Help

  • URGENT: Need to flashback table, how to find SNA for quite some time before the update that's happened?

    Hi all

    I have a new database 11G, I haven't used before flashback, but my retention time is a day... I have once the developer did a massive update to a table to corrupt.

    How can I find the RCS for this time so I can try this table of flashback?

    Thank you

    Cayenne

    Thank you.. I also found that it works:

    SQL > select timestamp_to_scn (to_timestamp('20140103152000','YYYYMMDDHH24MISS')) SNA double;

    SNA

    ----------

    98344246

    Although does NOT work all the time. But that's just what Oracle when you give him a timestamp to flashback to: it converts the timestamp of a SNA and then restores the data based on the SNA.

    See table of Flashback in the language SQL doc

    http://docs.Oracle.com/CD/B28359_01/server.111/b28286/statements_9012.htm

    TIMESTAMP CLAUSE

    Specify a value of timestamp corresponding to the point in time to which you want to return to the table. The expr must evaluate to a valid time stamp in the past. The table will flash back to a period of about 3 seconds to the specified timestamp.

    This precision "3 seconds" is because of this conversion to SNA - Oracle uses its internal table.

    YVERT is accurate, if you know, but you typically do not have.

    Read and consider these warnings in app dev guide advanced

    http://docs.Oracle.com/CD/B28359_01/AppDev.111/b28424/adfns_flashback.htm

    Guidelines for Oracle Flashback Query

    . . .

    General guidelines for Oracle Flashback Table

    . . .

    • For querying the latest data at a specific time, use a SNA. If you use a timestamp, questioned real time can be up to 3 seconds before the time you specify. Oracle database uses the SNA and assigns them to the timestamps to a granularity of 3 seconds.

    For example, suppose values SNA 1000 and 1005 are mapped on the timestamps 08:41 and 08:46, respectively. A query for a moment between 08:41 and 08:45:59 is mapped to the SCN 1000; an Oracle Flashback Query at 08:46 is mapped to the SNA 1005.

    By reason of this time-to-SNA map, if you specify a time slightly after a DDL (such as a table creation) Oracle database operation can use a SNA which is located just before the DDL operation, causing the error ORA-1466.

    . . .

  • How to set files for & quot; design time & quot; use

    If you want to use a CSS file locally for the only design 'time' function is it necessary to include it in the header of the page, in addition to using the definition of the 'use at design time' in the context menu?

    I can't get the functionality working 'use the design-time' and I want to assure you that my setup is correct.
    The help function and the forum search reveal an answer to the question of pointers to references would be appreciated.

    Thank you.

    dorich2,

    > If you want to use a CSS file locally for the only design 'time' function is
    > necessary to include it in the header of the page, in addition to using the
    > definition 'use at design time' in the context menu?

    Laughing out loud

    > I'm unable to get the work function 'use at design time' and I want to
    > to make sure that my setup is correct.

    DTC (Subcommittee) stylesheets are implemented in the form of style sheets 'user '.
    More info here:

    http://www.w3.org/TR/CSS21/cascade.html#cascade

    "By default, the rules in the stylesheet of the author override those of the user
    style sheet. However, for balance, an "!" important"statement takes
    precedence over a normal declaration. Author and user style sheets
    may contain "!" "statements and user important"! important"rules
    to override author "!" important"rules. »

    http://www.w3.org/TR/CSS21/cascade.html#important-rules

    So give your Subcommittee properties the! important modifier always substitute
    What is on your page.

    Hope this helps,
    Randy

  • How can I search for hexadecimal number of 32-bit in .csv file

    Hello

    How can I search for 32-bit in .csv file usinf labview 8.6.1 hexadecimal number

    Mathan,

    This post was not really a solution.  He just ordered Sandy to post in the appropriate forum, which we now know is LabVIEW 8.6.1 LV.

    Sandy,

    You want to read the text file, then use the search/Split String function to find the matching characters that make up your hexagonal pattern.

    What you ask is a little strange wordly since .csv files are text files, and you ask a "32-bit hexadecimal number.  Can you give an example of what you are looking for?  My response assumes you have a 8 string that consists of the characters 0-9, A - F for catch the 4 bytes.  Maybe you are dealing with just 4 bytes that present themselves as ASCII characters in a text file.  In which case you wouldn't have one. CSV file.

    If the response of research/Split String is not useful to you, you will need to provide details about what you are looking for and also an example of your. CSV file.

  • BlackBerry Smartphones how do I set up voice mail for the first time?

    I'm going to lose my mind.  I think not (even in the manual) for simple instructions on how to set up voicemail for my husband on the BB 8800.  There are all sorts of questions and answers on the voicemail, but I just need to know how to set up for the first time.  The message you get when you call the phone is "this user has not yet established by voice mail" (or something to that effect).

    Help, please!

    It's simple in Act! Go to the call log -> click on Menu , then select Options -> voice mail. In the access number put your carriers voicemail mailbox number. Some carrier requires your password which you can also put in the.

    Let know if it helps.

  • How can I use two counters to capture a pulse ttl for a specified time

    Configuration: Card counting 6062 PCI w / BNC 2121 Board running under LV 9.0 PerkinElmer Avanlance Photodiode (SPCM-AQRH-13)

    I searched through the forums and fell on the theme of framing an image while collecting signals from a source for a specified time.

    The example in terms of falkpl in 2005:

    "

    Dismal Hello,

    I'll try to point you in the right
    direction to start coding the application, but do not forget my
    suggestions have to be modified to your specific request.

    For
    the task output redeclenchables finished meter you need to
    your counter seconds in this application, I suggest to take a look
    in the Finder example in LabVIEW ('Help' are examples) and less
    DAQmx hardware entry & exit"" generating digital impulses.  Here,
    you will find some Gen dig Pulse - Retriggerable.vi.  You can use this for
    Create your door 4 pulses ms it's over (not a pulse train) and
    redeclenchables (for each time you go to the next step.

    In
    regards to the configuration of the first counter, there are several things to
    consider, and I can offer initial help to get set up.  You
    in-house allows to route internal CTR1 (4ms of pulse) output for your CTR0
    Door to measure only during the time.  Here are additional
    Info
    to do this in LabVIEW.  The source of your task of edges ABOVE County
    will be the TTL signal you are measuring and counting.  It comes
    on the PFI line that corresponds with CTR0 Source.

    When
    you make a measurement finished with CTR0, you will take only heads while
    the door is high and your source has a rising edge.  You can set the
    measure over to start on a trigger, which is not clear in this
    for example, that you have identified.  Since you know that you have a finished 4ms pulse
    time to measure, you can set the duration of your measure
    as a result.

    I found this
    Forum
    which may help some, but the coding is
    textual.   I hope this can give you a good starting point for
    programming.

  • How to run two 'County of buffered edge' using two different counters at the same time?

    Hello

    I try to use two counters at the same time count the TTL pulses for a fixed period (lets say 10 ms). I have the card PCI-6251 and PCI-6601. I am currently using PCI 6601 as counters and running a self updated the ' stamped edge County - reset.VI. Here, I have attached my VI.

    Now, during the execution of this VI, I get an error saying "error-200251 occurred at Task.vi:4 DAQmx Start" and the possible reasons are, "measures: no USB or DMA channels in loose ends are available.»

    Either stop other tasks which might be using these resources or are considering changing your mechanism for transfer of data to the interruptions if supported.

    Device: Dev2

    Task name: _unnamedTask<80>. »

    What I realized is I'm trying to use two buffers for two meters with ten samples each and this is probably not allowed. I don't know how to solve this out and bad looking for your suggestions.

    Thanks in advance.

    Hi all

    I found a solution too. This is the VI updated the "County of edge stamped" which can simultaneously run two entries-meter using a single source of door and it also uses the DMA and interrupts to save two pads.

    Have a nice weekend.

  • How to find out the max mem can be allocatedTT for 32 bit Win?

    How to find the maximum size of permanent and temporary data data size that can be allocated for the Oracle times ten for Windows 32 bit OS.

    The maximum size that can be achieved depends on three main factors:

    1 system (memory, swap file) configuration.

    2. connectivity method (direct mode compared to the server). Direct mode is more limited than client/server (but is much faster).

    3. for a DBMS direct mode, the number and type of dll that the application uses. Console mode apps can generally for example to reach a size of datatstore much larger than .NET applications.

    The maximumn size will usually be of the order of 600 MB to 1 500 MB. The only way to determine a specific value is to try it. With your application, start with a store of 1000 MB and data increase decrease until you find the breakpoint.

    In fact, 32-bit Windows is not a good platform for hosting of any significant size data warehouses. 64-bit Windows is much better (and it works almost all the 32-bit applications without any problem).

    Chris

  • I am in charge for the first time.  How long should it take?  I check battery during the charge percentage?

    I'm charging my Apple Watch 1 for the first time.  It has been more than 2 hours, and it shows the green lightning when I touch the face.  How long does take to recharge?  Is there a way to check the level of the battery during charging?  How can I tell when it is fully charged?

    You can take a look at this page of the Apple Watch user's Guide. http://help.Apple.com/watch/#/apd2b717523a

  • Time Capsule - My current Time Capsule 1 TB (Version 7.6.7) is complete and is overwhelming back more old ups. How can I migrate back existing ups for a new time Capsule (2 TB or 3 TB). El Capitan 10.11.6 OSX

    Time Capsule migration - My current Time Capsule 1 TB (Version 7.6.7) is complete and is overwhelming back more old ups. How can I migrate back existing ups of my current for a new time Capsule time capsule (2 TB or 3 TB)? El Capitan 10.11.6 OSX

    You just set up the new TC and plug the old TC... copy the sparsebundle existing old TC to the new... but we do not recommend to do this.

    It's much better to start a new backup TM on the new TC and keep the old one for several months until you have a fair story and if you need never old file the chances you decreases considerably with time.

    The instructions are here if you really want to do.

    How do I move Time Machine backups to another - Support Apple Time Capsule airport

    Instructions better although updated here.

    Q18 http://pondini.org/TM/FAQ.html

  • Windows7 64 bit. Why the desktop icons all be empty when you run Firefox nightly for the first time?

    Every time after I get a Firefox Nightly update and run it, it will display the next page:
    https://www.mozilla.org/en-US/firefox/nightly/firstrun/?oldversion=30.0 which is fine.
    But when it opens this page, all my desktop icons go clear/white and one by one, they all return with their correct icons. And all this happens in a few seconds.
    Why is the operation of Firefox every night for the first time, my desktop icons?

    I suspect that you have both nightly and Firefox version installed?

    "The Firefox 'about' shows 30.0. and I've now checked for updates and are now running 33.1.1"
    

    It's different from what you have first published here with!
    Firefox 33.1.1 represents the latest version - a 32-bit version.

    Whereas, the version you first posted here with was a generation of 64-bit channel every night from July. Every night is for "Alpha-testers" and is updated every day, where the name of "night".

    Everything that happens in the background on the Windows desktop should not be of concern right now, every night Win 64 bit is several months out.
    If you really want to test the Win 64 Nightly builds, follow and participate in the very different evenings and son of 'channels' on MozillaZine forum is based.

  • Satellite L650D: how long I leave it on charge for the first time?

    recently bought this computer series Toshiba Satellite L650D and I was wondering how long I leave on the royalties for the first time to power?

    Help, please

    Hello

    My laptop is still connected to the power adapter, so would always charge the battery.
    But usually the battery led turn green if the battery should be fully charged.
    Let the adapter connected until this witness would turn to green or blue (based on the model that you bought for)

  • How much time must be recharged Satellite Pro U200-10 b for the first time

    Hello

    How long the computer laptop Saturday Pro U200-10 b should there be for the first time?

    Kind regards
    CC

    Hi Christoph

    That s easy. You must charge the battery for laptops up to the battery LED switches to green light or blue. I put t know exactly the LED on the U200 Pro colors.

    A hint; all the details should be in the manual of the user who is always pre-installed on Toshiba laptops
    There, you will find also information about the battery and manipulation.

    Concerning

Maybe you are looking for