How to read a counter value for the separation of the two edge before meter is stopped by the second edge (6602 Council)?

I use a timer/counter with DAQmx 6602. I use the separation of two - available via DAQmx cash edge. Count between the two edges works properly, however I do not know how to read the value of the counter during the counting operation (i.e. after the first edge triggered the beginning of the count, but before the second edge triggered the end of the counting). I'll have to wait for the second goes off the edge of the end of the countdown until I can get a counter value. I need to be able to access the current value of the County during the count operation. This was possible in traditional DAQ. How can it be accomplished using DAQmx?

Ah shoot - I was afraid that this might be the case (for what it's worth, my series of X returned intermediate values, but the material and the underlying driver are quite different)...

You just need to take one measure at a time or you are buffer several measures of separation of the two edges at the same time?  So just to take one measure at a time, you can set a task of edges of count using the database internal time as the source using an arm start trigger (first edge) and a sample of clock (second Board) to work around the problem.

Best regards

Tags: NI Hardware

Similar Questions

  • 10g: how to read a key/value registry, the mac address

    Dear,

    I have developed an application using Forms 10 g. I need in a certain place to read a registry key for windows server 2003 on which the application server is installed.

    I know how to read the registry on the Client computer using webutil. But is there any other utility to read registry of the application server?
    Or I have to use D2KWUTIL in my form?

    Also, I need to read different physical address on the application server.

    Help, please

    Thank you very much.

    I do not remember where, but you can download it from there.

    François

  • Count values for the leaf of a tree root

    Hello

    I have a problem to find a solution to the following situation:
    I have a tree looking like that
    table categories (c_id, c_parent_id)
    1
    |--2
       |--21
       |--22
    |--3
       |--31
       |--32
    |--4
       |--41
       |--42
    
    A table products with x rows each connected to one tree leaf
    table products (p_id, p_c_id, p_name)
    1,2,test1
    2,21,test2
    3,21,test3
    3,3,test4
    4,31,test5
    5,32,test6
    4,4,42,test7
    
    result of select should look like:
    2,3
    3,3
    4,1
    For all these leaves have '1 to 1/n' values in the products table. I want to calculate the number of rows for LEVEL 1 leaves + it sub leafs (2,3,4).
    I can't make it work...

    Thanks in advance.

    Kind regards

    Tobias

    Hello

    I'm not sure that you understand the problem.
    It would help if you could post the CREATE TABLE and INSERT statements to recreate your data.
    Be sure to use correct terms. A 'map' is a node that has no children, so we don't know what you mean by "under the roadmap." 'LEVEL 1' refers to nodes that have no parents. When you say "I want to calculate the number of rows for LEVEL 1 leaves", I think that you don't really mean "LEVEL 1 leafs": I think you mean 'nodes of LEVEL 2', whether or not they are leafs.

    If I guessed correctly, it is a simple problem of GROUP BY. The only difficult part is to find the LEVEL 2 node to GROUP BY:

    WITH       tree           AS
    (
         SELECT  c_id
         ,     REGEXP_SUBSTR ( SYS_CONNECT_BY_PATH (c.c_id, ',')
                         , '[^,]+'
                         , 1
                         , 2
                         )     AS grp_id
         FROM     categories     c
         WHERE     LEVEL     > 1
         START WITH     c_parent_id     IS NULL
         CONNECT BY     c_parent_id     = PRIOR c_id
    )
    SELECT       grp_id
    ,       COUNT (*)     AS cnt
    FROM       tree          t
    JOIN       products     p     ON t.c_id     = p.p_c_id
    GROUP BY  grp_id;
    
  • How to search by null value for the numeric values in the filter of the fable in adf 11g?

    Method of substitution of applyViewCriteria?
    But what to put as the value for ViewCriteriaRow?

    Hello

    You can add following code to your actionListener or any method call when you want to perform this operation:

    ViewObject view = getViewObject();
    ViewCriteria criteria = view.createViewCriteria();
    
    ViewCriteriaRow row = criteria.createViewCriteriaRow();
    row.setAttribute(attrName, "IS NULL");
    
    criteria.addElement(row);
    view.applyViewCriteria(criteria);
    

    ~ Ahmed

  • Help: How do reset you default values for the session and the time-out at the admin level

    Hello

    The DBA was trying to save the settings of time-out value by following the instructions and it kept him setting a default off 28800 timeout of Session Timeout and Idle of 3600.

    He saved the value 1, and now we cannot get to change.

    How do reset you the default preferences?

    Bill,

    Sorry, I missed your point. To undo this damage, try this:

    Connect as SYS

    ALTER session set current_schema = apex_030200
    /
    wwv_flow_platform.set_preference (p_preference_name-online 'MAX_SESSION_IDLE_SEC', p_preference_value-online 3600)
    /
    wwv_flow_platform.set_preference (p_preference_name-online 'MAX_SESSION_LENGTH_SEC', p_preference_value-online 28800)
    /
    Commit
    /

    Adjust 3600 and 28800 as you like.

    Scott

  • How to set a default value for the bar to EXPLORE in Office XP Explorer?

    When I explore my PC Explorer bar to the default left hand blue component with what is called frequent tasks. I ALWAYS click on the folder icon (or view > bar explore > files).

    I would like to open like that by default - is a registry setting or remove this?

    Thank you
    Neal

    1st post!

    Hey Neal.uj,

    Welcome to the forum!

    You can set the default action on a folder to explore instead of to achieve this effect. To do this:

    ·         Click Start

    ·         Click on Control Panel

    ·         Open Folder Options

    ·         Click the File Types tab

    ·         Click the folder

    ·         Click on Advanced

    ·         Click on Explorer

    ·         Click set as default

    ·         Click OK

    ·         Repeat the same process for file

    ·         When you're done, click close

    Hope that helps, I look forward to hearing from you.

    Steven
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think

  • How to create a default value for the timestamp column?

    I am trying to create a table with a default value to a timestamp column, can it be done?


    CREATE TABLE matbl
    (
    Default TIMESTAMP WITH time ZONE SCHEDULE date FutureDateTime ' 23:23:59.000 2999-12-31'
    )

    incorrect data type. try rather timestamp with time zone.

    CREATE TABLE myTbl
    (
    FutureDateTime TIMESTAMP WITH TIME ZONE  default to_timestamp ('2999-12-31 23:23:59.000','yyyy-mm-dd hh24:mi:ss.ff')
    )
    
  • Multiple values for the same column in the columns of diffétent in the same row?

    Hi all
    I wonder how you can display different values for the same column in different columns on the same line. For example, using a CASE statement, I can:

    CASE WHEN CODE IN ('1 ', ' 3') THEN COUNT (ID) AS 'Y '.
    CASE WHEN CODE NOT IN ('1 ', am') THEN COUNT (ID) AS "N".

    Yes, that will produce two columns but will produce null values to empty and also two separate registers.


    Any ideas?

    Thank you

    Are you sure that this code works for you?

    Select ID
             ,CASE WHEN MODE_CODE IN ('1', '3') THEN COUNT( No) END as "Fulltime"
             ,CASE WHEN MODE_CODE NOT IN ('1', '3') THEN COUNT( No ) END  as "Other"
    From table
    group by ID
    

    I guess the code above fails because MODE_CODE is not in your group by?

    My suggestion would be to put the CASE in the COUNT:

    Select ID
             ,COUNT(CASE WHEN MODE_CODE IN ('1', '3') THEN No END) as "Fulltime"
             ,COUNT(CASE WHEN MODE_CODE NOT IN ('1', '3') THEN No END)  as "Other"
    From table
    group by ID
    

    CASE expressions return no. when the respective conditions are true and NULL otherwise.
    COUNTY will have non-null values.

  • How to set the default value for the digital control on front panel?

    How to set a default value for a numeric control of LabVIEW 2009 Front Panel? I have several input values that are actually configuration settings I want to settle with the default values of zero. I want them to be the values displayed when the façade first appears until the code is executed.

    I really want to use the Minimum and Maximum limits by default for this because I still want to be able to define acceptable limits for values.

    I would not be able to specify a default value of zero for these entries?

    Enter the desired value, then "right click...... of default data of value to operations. Save the VI.

  • How to group by field derived for the field value below?

    Hi all

    I class field with the name of CLASS_FLD data item, I want to group by on left(CLASS_FLD,2).

    How to write him group by for the left(class_FLD,2) of expression above?

    I used earlier messages based on the syntax below but I am unable to make the Group

    <? for-each - group: row; xdoxslt:left(./CLASS_FLD,2)? > <? type: xdoxslt:left (current-group () / CLASS_FLD, 2); ' ascending '; data-type = "text"? >

    Thank you and best regards,

    1157496 wrote:

    Give me the syntax for the first group of lines BY expression counts.

    and also how the syntax would be if he is Businessunit group then group by expression (left(account,2)

    Mean you nested groups, first group BUSINESSUNIT and then other group ACCOUNT

    If yes then the internal group based on the ACCOUNT, we could watch as below

    for-each - Group: Current - Group (); xdoxslt:Left(./Account,2)? >

    For example

    . . . .

  • How to set a default email for the reader client?

    How to set a default email for the reader client?

    [Left the forum Cloud/Installer generic for program specific forum... MOD]

    In the section in the preferences e-mail accounts.

  • How can we formulize a threshold value for the maximum number of connections for LDAP?

    Hi all

    We use Sun one DS 5.2 on the Solaris platform.

    How can we define the value for the attribute config "nsslapd-maxconnections" because it depends on allocaated for each process's file descriptors.
    If you please also correcct me if the above statement is false.

    Thank you.

    Hello

    This attribute can be used to limit the number of simultaneous client connections slapd can handle. The main goal is to Cap slapd memory usage.
    By default, this limit is undefined, so slapd can handle up to the number max allowed for the slapd process file descriptor.

    Use only when necessary. You can use the ulimit command to get the limit of the OS settings.

    -Sylvain

  • How can I apply an opacity for the blending mode Script value?

    Hello

    How can I apply an opacity for the blending mode Script value?

    Is this something like?

    theLayer.blendingMode = BlendingMode.SOFT_LIGHT;  Add blendingMode with opacity for selected layers

    var opacity41 = opacity

    Thank you

    It seems that you have the right merge mode part. The other part of your question how to set the opacity of the layer value?

    It is like this:

    theLayer.property("Opacity").setValue (41);

    Dan

  • How can you specify the default value for the undefined array elements

    According to aid LV, the tables have two default values, the normal default value and the default value for the undefined array elements.

    I assume that there must be a way to specify the default value for later, but I can't find it anywhere.  Any ideas?

    I know that you can drag the item out of the table container.  Change the default value on this scalar element.  Then drag the item in table tank.

  • [ADF, JDev12.1.3] (How to set values for the attributes 1) to create a file and 2) committing to the database?

    Hallo,

    in my tables and forms (created from VO istances) there are some areas for which, insert and update, I calculate and set the value programmatically when a record is created or updated.

    In some cases, I put the necessary values using the 'CreateWithParams' in the workflow diagram...

    In some other ones, I associate an action, a bean, a created button drag-and - drop operation 'CreateWithParams' of the istance VO...

      public String cwpButton_action() {
        BindingContainer bindings = getBindings();
        OperationBinding operationBinding = bindings.getOperationBinding("CreateWithParams");
        // here I calculate and set the needed params
        // ...
        Object result = operationBinding.execute();
        if (!operationBinding.getErrors().isEmpty()) {
          return null;
        }
        return null;
      }
    

    And is ok if I can calculate the values for the attributes before a new record is created.

    But the approach that I have used to define the attributes (for new and updated records) whose value should be caluclated after the user has filled in the fields, before committing to the database?

    Thank you

    Federico

    Federico,

    Let me first tell you that our code is activity masking errors (the cache instead of working on them).

    1. If (! operationBinding.getErrors () .isEmpty ()) {}
    2. Returns a null value.
    3. }
    4. Returns a null value.

    This means that you do not check the errors at all. You must at least print a log with the error message, you receive, if you get one!

    To solve your problem, you override the method prepareForDML() of the entity or entities in question. You can calculate and set the necessary attributes until they get engaged in the doDML(). Do not use doDML() because it is too late in the life cycle.

    Timo

Maybe you are looking for

  • Download Nikon D90 photos via a cable of Photos does not work. The picture freezes and does not matter. Any ideas?

    Download photos of Nikon D90 Photos OS El Capitan 10.11.16 cable does not work. The picture freezes and does not matter. Any ideas?

  • Dictation does not

    Dictation has suddenly stopped working. Does not work for texting or doing research. I've been on several fast wifi connections (90mbit +). I turned the security setting siri/dictation/turn off and the keyboard to the dictation option.  I rebooted se

  • Characteristics of the network

    Hello! My home network is behaving oddly and I can't understand what makes. I'll try to explain. In the living room, I have a Time Capsule, connected by a cable to a modem ethernet. The TC creates a wireless network, the router Mode is off (bridge mo

  • IPhone charger

    Hey there, I have problem with load. It stops at 98%, but when I disconnect and reconnect the charger each time is displayed 100%. Where is the problem?

  • shadow of hand and side of the plain of background color / wallpaper

    Hello. I have a slate 7HD for when out and about, that I'm unable to write by hand. I'm really happy with it and use a background application to solid without any problem. However, my mother and I got ourselves a 10HD slate this week and get a boring