Reading multiple PWM using a single counter

Hi everyone.
Not really sure if this goes in digital i/o or counter/timer but here it is.
I'm trying to design a system where i send out an signal from a transducer, and have other transducer measure the delta t between the 1st transducer emitting the signal and it being recived by the other transducers.
So far my best (and cheapest) guess is to use something like this
http://www.senscomp.com/minis.htm
The transducer above using a trigger and return a digital high when an "echo" (or signal i would guess) is detected.
I want to use a large number of this transducers. So i was wondering if i could use http://sine.ni.com/nips/cds/view/p/lang/en/nid/201630 (ni-6501) or if have to use something like http://sine.ni.com/nips/cds/view/p/lang/en/nid/209078 (ni-6366). 
I mean, if the 6501 doesn't work i might as well go for a purely analog DAQ that allows me full control of the signal processing but as a cost saving measure i'm looking into the digital i/o plus counter solution.
Any help is appreciated.
Thanks so much for reading.
I'm trying to measure pulse/echo times using

Hi Tanis,
So you'll have a single output pulse, and then some number of response pulses.  You'd like to measure the time between the output pulse and each of the response pulses.  Is this correct?  How many response pulses do you plan on needing?
A digital method would be more elegant and more reliable for the cost, given that you can utilize a high resolution timebase to make your measurement rather than actually having to sample the analog signal continuously.  The 6501 is software-timed only and will probably not meet your requirements, but you might look into something like the PCIe-6320 (8 clocked DI channels) or PCIe-6323 (32 clocked DI channels).  If I understand your application correctly, you should be able to use change detection to sample the digital port on each pulse.  You can use a counter to timestamp the change detection event based off of the internal 100 MHz timebase.  The counter could be armed off of the 1st transducer (the stimulus).
Best Regards,
John Passiak

Similar Messages

  • I need to read multiple counters using PCI 6601 can I do this, and How?

    I am reading 4 TTL signals from a Magnetic Pickup how do I read multiple channels using PCI 6601?

    Not concerning my primary question, I would like to point out to an N.I. Rep. that there is a typo in the help section concerning "posting a message".
    I have built a large format, two axis digitizer using linear encoders, a 6601 counter/timer, and labview 8. In building my application program, I  initially am using two daq assistants, with each set up to accomplish  the task of reading two encoders simultaneously. In doing some research, It has come to my attention, that, with my current configuration, errors may result, due to one daq assistant attempting to access the cards driver while the other is acquiring data.  All attempts to get two channels working through a single daq assistant have resulted in an error message informing me that I can only have one task per counter.Thus far, I have not seen any noticeable errors, thought I would like to have this device "rock solid", as it will be used extensively.
    Is it possible, that I should have purchase  an "S" series board instead?

  • Multiple OUs using a single common WIP?

    Multiple OUs using a single common WIP?
    We have a manufacturing facility that contains tools and personnel that belong to multiple operating units (OU). Of course, the manufacturing part should work as if it is one site. Since all equipment and personnel work on all jobs there is no distinction between the higher level operating units and legal entities and books at the low level manufacturing point of view. However, costing must be costed appropriately by OU and the GL books of the seperate legal entities must be kept correctly and seperately.
    How can Oracle Applications manufacturing modules be setup to handle a common manufacturing area used by personnel and equipment that is owned and costed by seperate OUs? I am unable to locate an example or reference to this type of situation in any manufacturing manuals.
    Thanks

    Not sure that you will be able to find your example. You explain an interesting problem that is very unique. I do not think that you will find a standard system set up to meet your need. The work around solutions, that come to mind quickly, would require a standard cost environment and involve changing the period close process for manufacturing.

  • Inserting multiple rows using a single Insert statement without using dual

    Hi all,
    i am trying to insert multiple rows using a single insert statement like the below one.
    The below one works fine..
    But is there any other change that can be done in the below one without using dual...
    insert all
    into ps_hd_samp (num1,num2) values (1,1)
    into ps_hd_samp (num1,num2) values (2,2)
    into ps_hd_samp (num1,num2) values (3,3)
    select 1 from dual;

    NiranjanSe wrote:
    Hi all,
    i am trying to insert multiple rows using a single insert statement like the below one.
    The below one works fine..
    But is there any other change that can be done in the below one without using dual...
    insert all
    into ps_hd_samp (num1,num2) values (1,1)
    into ps_hd_samp (num1,num2) values (2,2)
    into ps_hd_samp (num1,num2) values (3,3)
    select 1 from dual;
    SQL> create table ps_hd_samp (num1 number,num2 number);
    Table created.
    SQL> insert all
      2  into ps_hd_samp (num1,num2) values (1,1)
      3  into ps_hd_samp (num1,num2) values (2,2)
      4  into ps_hd_samp (num1,num2) values (3,3)
      5  select count(*)
      6  from ps_hd_samp;
    3 rows created.
    SQL> select * from ps_hd_samp;
          NUM1       NUM2
             1          1
             2          2
             3          3

  • How to read multiple lines using 'REUSE_ALV_GRID_DISPLAY'

    Hi,
    In ALV report the FM 'REUSE_ALV_GRID_DISPLAY' used.
    EXPORTING
    I_CALLBACK_PROGRAM = W_REPID
    I_CALLBACK_PF_STATUS_SET = 'PF_STATUS'
    I_CALLBACK_USER_COMMAND = 'USER_COMMAND'
    How to read multiple lines in the following dynamic subroutine ?
    I am able to read single value through p_selfld.
    Nut the requirement is to change the values in more than 1 row for a fld (edit mode)
    FORM USER_COMMAND USING P_UCOMM TYPE SY-UCOMM
    P_SELFLD TYPE SLIS_SELFIELD.
    endform
    Thanks in advance

    You can get the reference by a dirty assign, but this is not offcially supported...
    But if you have some limitations.
    FORM user_command  USING fuw_ucomm LIKE sy-ucomm
                                       fuw_selfield TYPE slis_selfield.
      FIELD-SYMBOLS: <lfs_grid>  type ref to cl_gui_alv_grid,
                                   <lfs_row> type LVC_S_ROW.
      data: li_rows type lvc_t_row.
          assign ('(SAPLSLVC_FULLSCREEN)GT_GRID-GRID') to <lfs_grid>.
          check sy-subrc is initial.
          call method <lfs_grid>->get_selected_rows
            IMPORTING
              et_index_rows = li_rows.
    endform.                    "user_command

  • Getting Multiple Recordsets using A Single Connection using jdbc-odbc

    I have a java application which uses sql 7.0 database server. I want to have multiple recordsets created using a single connection using jdbc-odbc bridge. Kindly let me know the procedure.

    Well, you create a recordset, then you create another one, and so on. Are you actually having a problem or you just don't know where to start?

  • Multiple search using a single box...

    in a form i have got aroun 10 rows and 10 columns.....is it possible to search the forms for the required information(i.e 10 different columns) using a single search box

    You can use colon in any database item on runtime in entery query mode and it will prompt you to enter values/conditions on execute query where you can check any database item value. It will add the conditions in the where clause of the block. May be it will help in what you are looking for.

  • Connection to multiple databases using a single EJB

    How can I connect to multiple Databases (using @PersistenceContext) using an EJB?
    Did I need to connect various Entity Managers corresponding to the each database and simply send my Queries?
    I am using Glassfish Application Server
    Netbeans IDE
    Java Derby Database
    Oracle Database
    Java Persistence API
    Thanks in Advance

    Yes, you need a persistence context and thus entity manager per database. Depending on what you want to achieve you may also need to go to the next level in your skill set and learn all about distributed transactions.

  • How to validate multiple controls using a single Validator?

    I am trying to do an HourValidator because Flex doesn't have
    this, so i am extending from the Validator class. I read in the
    Creating and extending Flex components document the
    following:
    "A validator can validate more than one field at a time. For
    example, you could create a custom
    validator called NameValidator to validate three input
    controls that represent a person’s first,
    middle, and last names.
    To create a validator that examines multiple fields, you can
    either define properties on the
    validator that let you specify the multiple input fields, as
    does the Flex DateValidator class
    class, or you can require that the single item passed to the
    validator includes all of the fields to
    be validated."
    So according to the document i need to define properties so i
    defined 4 properties:
    startHourSource: the input control containing the starting
    hour
    startHourProperty: the control's property (in this case the
    text property)
    endHourSource: the input control containing the end hour
    endHourProperty: the control's property (in this case the
    text property)
    The thing is that when i call the doValidation of the
    superclass (to validate the required property) it does return a
    validation error but it doesn't mark the input control with the red
    frame that indicates there's a validation error. I assume that is
    because the
    source and
    property properties of the validator are null but that's ok
    because i am not using them, instead i am using the 4 properites
    mentioned above.
    So what do i need to do or override so the red frame appears
    in the input controls??

    Yeah i already know that, but when you use the doValidation
    method, which does the requiredField validation, by default marks
    the input control with the red frame, so that's why i am trying to
    do, doing it so it will do it by default.
    For example, try this:
    <mx:TextInput id="test"/>
    <mx:Validator id="validateTest" source="{test}"
    property="text" required="true" requiredFieldError="The field is
    empty"/>
    If you do
    validateTest.validate( ) and the textinput is empty, it will
    mark it with the red frame by default, that's the kind of behave i
    want for my HourValidator, but if it is not possible then the
    solution you suggested would be the only one to do this.

  • Best practice for setting up iCloud with multiple devices using a single AppleID

    Hi there
    Me and my wife have an iPhone each, and are looking at getting both of us using iCloud. The problem is that we only use one Apple ID for our music library.
    Is getting a separate Apple ID necessary for each device on iCloud, or can multiple devices have seperate settings/photos/music, etc.?

    Using different Apple ID for iCloud is not necessary, but in most cases it is recommended.
    You can however choose to use separate Apple IDs for iCloud and continue to use the same Apple ID for iTunes, thereby being able to share all your purchases of music, apps and books.

  • Multiple Columns using a single CASE

    Hi,
    I have a SQL statement:
    SELECT
    CASE WHEN
    c.code=b.code
    AND c.from_id=b.to_id
    THEN
    COLA
    ELSE
    COLB
    END "Exampl1"
    CASE WHEN
    c.code=b.code
    AND c.from_id=b.to_id
    THEN
    DATEA
    ELSE
    DATEB
    END "Exampl2"
    FROM
    table_a a,table_b b,
    SELECT *
    FROM
    table_c
    WHERE TYPE='REC') c
    WHERE
    a.code=b.code
    I want to use the CASE statement one time not twice to fetch the required for Example1 and Example 2
    Can it be possibleb?
    Kindly any help will be benefitial to me

    >
    I want to use the CASE statement one time not twice to fetch the required for Example1 and Example 2
    Can it be possibleb?
    >
    No - A CASE result is a singel statement and in a SELECT must be a single value.
    So 'COLA' is ok but 'COLA, DATEA' will not work.
    Just use the CASE once for each column like you are doing.

  • Reading Multiple lines using File Adapter in PI 7.1

    Hi Friends,
    We are using PI 7.1 Service pack 4, scenario is File to IDOC .
    I am using  Sender File Adapter with File content conversion for fixed lengths to read file from FTP XI-SAP.
       File Format :
      EDI_DC40 , A, B, C, D, E
      E1WPU01, F, G,H, I
      E1WPU02 , J,K,L
      E1WPU02 , J,K,L
    I have maintained Fcc parameters . I am able to read files for mulitple rows when manually set the count in recorset structure
    like :
    Recordset Structure : EDI_DC40,1, E1WPU01,1, E1WPU02,2...
    Problem is when I set * in  Recorset Structure  : EDI_DC40,1, E1WPU01,,E1WPU02,
    Nothing is coming .
    Could anyone help me how to resolve this issue.
    Regards,
    Vijay

    Hi Vijay,
    As u mentioned in earlier post...
    keyfieldName = TABNAM
    EDI_DC40.fieldNames :
    EDI_DC40. fieldFixedLengths:
    EDI_DC40.keyFieldValue :
    E1WPU01.fieldNames :
    E1WPU01.fieldFixedLengths:
    E1WPU01.keyFieldValue
    E1WPU02.fieldNames :
    E1WPU02.fieldFixedLengths:
    E1WPU02.keyFieldValue
    Here actually you are trying to get the key field value even from EDI_DC40 and E1WPU01 also....
    So obviously u dnt have those values in that rows so.. it cannot get the rows....
    So please u try this one..... The same FCC but remove the 2 lines.... for EDI_DC40 and  E1WPU01
    keyfieldName = TABNAM
    EDI_DC40.fieldNames :
    EDI_DC40. fieldFixedLengths:
    E1WPU01.fieldNames :
    E1WPU01.fieldFixedLengths:
    E1WPU02.fieldNames :
    E1WPU02.fieldFixedLengths:
    E1WPU02.keyFieldValue
    I hope this wil solve ur problem..
    Lemme know if any issues...
    Thanks & Regards,
    H.L.Babu

  • Read multiple rows in a single time

    Dear All,
    Does anyone has idea on how to read using java to read 10000 rows and write it to a file
    code:
    FileReader fr =
    new FileReader(fileDir + "/" + orgFiles);
    BufferedReader br = new BufferedReader(fr);
    String record = br.readLine();
    while (record != null) {
    String[] afterSplit = record.split(",");
    System.out.println("recordLength : " +afterSplit.length);
    for (int p = 0; p < 1; p++) {
    test= afterSplit[0];
    test1= afterSplit[1];
    test1 = afterSplit[2];
    it reads a single line in a test file and then write it to another file.i have 100000 rows in that file is there any possibility to read 100000 record in a time (ie) instead of record=br.readline and then split that any other way to read all the rows and assign it to afterSplit ?

    Hi kayaman,
    Thanks for ur reply.if there are 100000 records in the text file
    For Example,
    bsc,bsc1,bsc2,bsc3
    bsc4,bsc5,bsc6,bsc7
    bsc8,bsc9,bsc10,bsc11
    it reads bsc,bsc1,bsc2,bsc3 and then write it to some file
    is there any possibility to read all
    bsc,bsc1,bsc2,bsc3
    bsc4,bsc5,bsc6,bsc7
    bsc8,bsc9,bsc10,bsc11
    then write there thses 3 in a single time.

  • Regarding reading multiple records into a single internal table..

    hi experts,
    Need your help, i have a requirement like this.
    i will have a input file like this
    D 123   Suresh    12/01/2008
    E ven   sha         5432
    E ven   sha       5432
    D 153   Sachin    11/01/2008
    E ven   sha      5432
    Now all i need to consider from D to E  (i.e., before next D) as a single record and i need to preare a separate excel,
    So that E records can be max 9. So we cant expect this will be always 2 or 3 or 4.
    So how can i do this upload and process..
    give some idea.
    Thanks,
    Suresh

    Hi,
    Once you transfer the values from input file to internal table.
    loop through all records of internal table .
    check the first letter using offset
    e.g  if Itab-field+0(1)  = 'D'
           elseif  Itab-field+0(1)  = 'E'.
           endif.
         Populate the work area of internal table until you find the next 'D' once you find 'D' again ...append the work area to internal table......clear work area.
    Regards,
    Rahul

  • Updating multiple fields using a single update statement.

    Hi All,
    I am a beginner to Oracle. I have used the following Hint in an update query that is executed in Oracle 10G. We recently updated the Oracle to version 11g and when executing the query getting the following Error: ORA-01779: cannot modify a column which maps to a non key-preserved table. PFB the query. Please suggest me some ways that I can do to avoid this error.
    UPDATE /*+ bypass_ujvc */
    (SELECT t1.STG_DEL_CONDITION, t2.condition
    FROM stg_reports_membenft_latest T1 JOIN (select ods_ssn_grp,sys_id, first_value(STG_DEL_CONDITION) over(PARTITION BY ods_ssn_grp,sys_id
    ORDER BY STG_DEL_CONDITION DESC) AS
    condition from stg_reports_membenft_latest) T2
    ON T1.ods_ssn_grp = T2.ods_ssn_grp AND T1.SYS_ID=T2.SYS_ID ) x
    SET x.STG_DEL_CONDITION = x.condition;
    Thanks and Regards,
    Karthik Sivakumar.

    I used the below query and got the Result.
    Thank You all
    MERGE INTO stg_reports_membenft_latest x1
    USING (SELECT distinct ods_ssn_grp,
    sys_id,
    First_value(STG_DEL_CONDITION) OVER(partition BY ods_ssn_grp,sys_id
    ORDER BY STG_DEL_CONDITION DESC)
    AS condition
    FROM stg_reports_membenft_latest) x2
    ON ( x1.ods_ssn_grp = x2.ods_ssn_grp
    AND x1.SYS_ID = x2.sys_id )
    WHEN matched THEN
    UPDATE SET x1.STG_DEL_CONDITION=x2.condition;

Maybe you are looking for

  • How do i find my ipod that has NO battery?

    I had been studying for some tests i had and doing homework and i had no time to charge my ipod 5g. Its dead so there is no wifi or gps or anything like that. I was wondering if there is an app to find it and that i did not have to install beforehand

  • How can I see app updates in iOS 6

    Ever since a few months ago, I have been having issues with my iOS 6 iPhone.  Updating it is not an option, as it is a company device.  The numeral badge appears on the App Store icon from the home screen, and from any screen inside the App Store but

  • Is my Satellite with Win 7 capable of screen sharing?

    Is my new computer capable of screen sharing. IF so how can I accomplish this? I have a friend who wants to take over my screen to set up some areas for me - Thanks (I do this easily thru AIM-I CHAT on my MAC) Gail

  • Ipod touch 32 GB touch screen not work

    32GB  ipod touch touch screen not work  WHAT TO DO SOME BODY HELP ME MY PHONE NUMBER 09880252978

  • PLSQL Email alerts using DBMS_JOB

    I need help with a request something like this: If anyone does any changes to an existing Purchase Order i.e. add additional line items to it, the corresponding stakeholder should get an email alert notifying them of the changes. A Purchase Order usu