How Do I accurately measure digital Polses using a compact field point

Hi All,
My Goal Is to measure the speed of an item by measuring the difference between operation of 2 switches.
Pulse can be between 100 msec and hours.
I require > 100 uSec Accuracy @ 100 msec, 1msec @ 1 Sec etc...
This architecture is fixed, What I am looking for is a method.
I am used to using M-Series NI-DAq's with their synchronus digital sampling or counter acquisition,
I have looked at a cFP-DI-304 but it looks like it is an asynchronus sample, dependent on CPU Loading.
The cFP-50x is promising but I can't find many code examples and there are a few "sorry for the missed pulse events" notes.
Does anyone have any suggestions or helpful hints for me?
Thanks in advance.
iTm - Senior Systems Engineer
uses: LABVIEW 2012 SP1 x86 on Windows 7 x64. cFP, cRIO, PXI-RT

As I said in my post, the architecture is fixed, I understand that there are many alternatives, most of them are an "Up-Sell",
Very few have extended temperature range, LV R/T,  small form factor, fair price and industrial 24V operation.
We have an existing solution that uses custom hardware and I am looking to improve the accuracy, reduce size, improve reliability and reduce overall system cost,
Compact Rio is too expensive to achieve these goals.
I experimented with a cFP-DI-304 (on change method) yesterday an got reasonable results around the 1mSec mark.
I don't have a sig-gen capable of the 12V required to stimulate the inputs at a a precise rate, so I wasn't able to confirm it's accuracy.
What I want to find out is how accurate the on-change timestamps are? Do they go beyond the quoted 1kHz sampling mode? are they prone to event loss like other NI devices?, Does CPU load effect function.
How about cFP-500/502?
I would like to be able to help myself but I haven't been able to find much useful information on the inner architcture of the cFP backplane, or associated modules.
The most I could find was that the data is transferred a bit like a shared variable.and is subject to losing samples if cpu loading is too high.
In the case of event based acquisition, I am hoping that it capures the edges from a high accuracy timebase and places it in a shared variable /buffer for collection by the software.
Thanks
iTm - Senior Systems Engineer
uses: LABVIEW 2012 SP1 x86 on Windows 7 x64. cFP, cRIO, PXI-RT

Similar Messages

  • How to select data from a table using a date field in the where condition?

    How to select data from a table using a date field in the where condition?
    For eg:
    data itab like equk occurs 0 with header line.
    select * from equk into table itab where werks = 'C001'
                                                      and bdatu = '31129999'.
    thanks.

    Hi Ramesh,
    Specify the date format as YYYYMMDD in where condition.
    Dates are internally stored in SAP as YYYYMMDD only.
    Change your date format in WHERE condition as follows.
    data itab like equk occurs 0 with header line.
    select * from equk into table itab where werks = 'C001'
    and bdatu = <b>'99991231'.</b>
    I doubt check your data base table EQUK on this date for the existince of data.
    Otherwise, just change the conidition on BDATU like below to see all entries prior to this date.
    data itab like equk occurs 0 with header line.
    select * from equk into table itab where werks = 'C001'
    and <b> bdatu <= '99991231'.</b>
    Thanks,
    Vinay
    Thanks,
    Vinay

  • I have an iPad 2 and a Nikon DSLR. How can I transfer RAW/Tiff images using a compact flash card

    I have an iPad 2 and a Nikon DSLR. How can I transfer RAW/Tiff images using a compact flash card? Plugging in the camera at the ipad connector doesn't seem to work, possibly due to lack of power.

    This may apply.
    Fix (for Nikon D800)
    http://www.georgewheelhouse.com/blog/2012/10/ipad-ios-6-update---camera-connecti on-kit-fix
    Are you using an SD, SDHC, or SDXC card? And what capacity?
     Vheers, Tom

  • How do i simulate a digital instrument using FP

    Hi
    I am a new user of LabView and need to construct an application to verify the operation of data logger programs.  I need simulate data from various analogue and digital instruments using standard test data from a spreadsheet.  I have just about figured out how to take data from a CSV file and set a FP output to this value for analogue values (voltages and 4-20mA signals) but dont really know how to simulate a digital instrument.
    For example one of the instruments I need to simulate is a rotary encoder which produces a 16 bit binary string representing a value in mm this is done on the instrument as follows:
    Dataloger sets the enable line high (5V)
    Datalogger reads LSB from instrument output buffer (0V = 0, 5V=1)
    Dataloger sends 10ms pulse to instrument.
    Next bit sent to output buffer on negative edge of pulse
    Datalogger reads bit value from output buffer
    Datalogger sends 10mS pulse etc etc until all 16 bits have been recieved
    Datalogger sets enable line low
    In order to test the logger programs I have to send test data from a CSV file to mimic the operation of the encoder ie take a decimal value from the file - convert to 16bit binary - wait for enable line on logger set channel x on FP-DI-330 high - send first bit to channel n on th FP-DO-403 - wait for logger to send clock pulse  to channel y on FP-DI-330 - send next bit to channel n etc etc.
    Any idea how I might do this?

    Good morning Jeff,
    I would suggest trying to set up a "triggered" output from your FP modules.  Use FP-DI-330 line as the "trigger" and set the acquisition as a reference trigger.
    You would need to create an input line that monitors the digital input (trigger line) and once an input has been received (for 10ms) the digital out would then need to output the LSB and so on.
    It may be necessary to implement a state machine structure, that will monitor the input until the condition is met (a trigger input) and then output the desired data.  For more information on state machines refer to:
    http://forums.ni.com/ni/board/message?board.id=170&message.id=123485&requireLogin=False
    http://venus.ni.com/stage/we/niepd_web_display.DISPLAY_EPD4?p_answer=&p_guid=B123AE0CB980111EE034080...
    I hope this helps
    AdamB
    Applications Engineering Team Leader | National Instruments | UK & Ireland

  • How do I do a digital signature using the inbuilt camera

    I am using a MacBook Pro 13" and today I was shown in PC world how to use a digital signature by using the inbuilt camera. Is this possible with this model or is it only with the Retina models?

    You may find this article helpful.
    http://9to5mac.com/2014/02/15/how-to-use-preview-to-put-signatures-on-pdfs-pages -documents-and-mail-messages/
    Click the blue Reader button at the end of Safari address bar for easy viewing.

  • How do I create a digital signature using Safari 6.0.3

    Just got a refurbished macbook air , awesome, however I am realizing that it doesnt have mountain lion which had the ability to take a snapshot of your signature and save it and use it on docs/pdfs. Is there a way to do this using Safari?
    Thanks

    Just got a refurbished macbook air , awesome, however I am realizing that it doesnt have mountain lion which had the ability to take a snapshot of your signature and save it and use it on docs/pdfs. Is there a way to do this using Safari?
    Thanks

  • Could you please tell me, how can you, using Lookout and Field Point, program on/off relay actions using a calendar?

    It´s a on/off illuminating ssystem control. Shure the user will need a calendar programing tool to program weekdays, holidays, etc. on of functions.

    Hi Galileo,
    See the following for Lookout side of things:
    http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=135&HOID=506500000008000000DBE90000&USEARCHCONTEXT_CATEGORY_0=_9_&USEARCHCONTEXT_CATEGORY_S=0&UCATEGORY_0=_9_&UCATEGORY_S=0
    As for FieldPoint, you can talk to it from Lookout in couple of ways -- either directly using the native FieldPoint object, or via OPC using the OPCFieldPoint object.
    Based on the timers from above, you would turn On/Off the relays (on the RLY-420 module of your FieldPoint).
    That's in a nutshell. Write back if you have specific questions.
    Good luck!
    Khalid

  • Since itunes has been updated I can't see how to load songs onto my ipod using playlists, can anyone point me in the right direction??

    I just can't see how to move a playlist I create in Library onto a connected ipod?  How do you do that in the new itunes?

    Found it in link from https://discussions.apple.com/message/20431895#20431895,   Or press ctrl + S to get the left sidebar showing!!!

  • How to invoke a short lived process using web service start point?

    I have a custom short-lived process that does not take any input parameter. I am able to successfully invoke the process from LiveCycle Workbench ES2. I want this process to be invoked by a java client through a web service call. Apart from the web service URL of my process (which looks like
    http://<server>:<portno>/soap/services/MyApplication/MyProcess?wsdl&lc_version=9.0.0&versi on=1.0) do the java client know anything else? Any authentication is required?
    My intention is to just find out what all the consumer of this process needs to know to invoke it through a web service call.
    Was anybody able to test a short-lived process through a web service invocation from SoapUI?

    I am not a programmer but I did find this article on he Developers Resource site that might lead you in th eright direction:
    http://www.adobe.com/devnet/livecycle/articles/java_soap.html
    Paul

  • How do I set while loop priority in an RT Field Point application?

    I have a vi that I want to run in an FP2010 that contains 2 while loops, one must be Time Critical priority and the other Normal or lower priority.  I will be using RT FIFO to transfer data between the two loops. The Normal loop will be used for communication with a Host PC.
    How can I set the priorities of these 2 loops?
    Can I run 2 separate vi's in the FP with each set to a different priority And transfer data between the two with RT FIFO? How?
    I am using V6.1 and the customer does not want to spend on upgrading.
    Thanks,
    Chris

    Chris,
    You are on the right track using two separate VIs with different priorities and using RT FIFOs to communicate between the two.  Please see the following tutorial and the related links, one link of which is an example with a zip file containing the RT FIFO VIs for LabVIEW 6.1.
    Doug M
    Applications Engineer
    National Instruments
    For those unfamiliar with NBC's The Office, my icon is NOT a picture of me

  • How to filter the result by using a Quarter fields

    How can i fiter the output by using the quarter field for example I want to display the output for letting date 07060801 and quarter 1(Q1-2007) thanks
    SELECT tab.description, tab.itmenum, tab.units, tab.countyname, tab.datelet,'Q'||tab.Quarter,
           tab.contid, tab.vendor, tab.vendorname, tab.quantity, tab.EngineersPrice ,
            (tab.EngineersPrice*tab.quantity) EngineersTotal, tab.vendorsPrice,
           (tab.quantity * tab.vendorsPrice) VendorsTotal
      FROM (SELECT   INITCAP (i.idescrl || '  ' || e.isupdes) description,
                     e.isupdes, i.idescrl, SUBSTR (e.eiitem, 1, 4)|| '.'|| SUBSTR (e.eiitem, 5, 9) itmenum,
                     e.eiitem, func_get_unit_name (iunits) units,
                     INITCAP (func_get_county_name (p.ccnty1)) countyname,
                     b.datelet,TO_CHAR(b.datelet, 'Q-YYYY') Quarter, p.contid, d.vendor, l.CALL, g.csecnum, e.iplineno,                         
                     SUM (e.iqty) quantity,
                     (TRIM (d.vendor) || ' : ' || INITCAP (v.vnamel)) vendorname,
                           (SELECT br.bidprice
                        FROM bidtabs br
                             --------------------Select Letting Dates-------------------------------
                       WHERE br.letting  between '&lettingDatePlease' and  '&lettingDatePlease2'
                         AND br.lineflag = 'L'                                   
                         AND br.iplineno = e.iplineno
                         AND br.CALL = l.CALL
                         AND br.vendor = d.vendor) vendorsPrice,
                         (SELECT DISTINCT pi.price
                                 FROM propitem pi
                                WHERE pi.contid = p.contid
                                         AND pi.lineflag='L'
                                         AND trim(pi.iplineno) <> ' '
                                  AND trim(pi.iplineno) = trim(e.iplineno)) EngineersPrice
                FROM itemlist i,
                     estitem e,
                     estcatg g,
                     propproj x,
                     proposal p,
                     letprop l,
                     bidlet b,
                     bidders d,
                     vendor v
               WHERE p.contid = x.contid
                 AND x.pcn = g.pcn
                 AND e.pcn = g.pcn
                 AND e.cn = g.cn
                 AND i.item = e.eiitem
                 AND i.ispecyr = p.cspecyr
                 AND e.iplineno <> ' '
                 AND e.eiitem <> '2550601/01000'
                 AND e.eiitem <> '2565601/00031'
                 AND e.eiitem <> '2565601/00033'
                 AND e.eiitem <> '2402601/01000'
                    -----Select Item Number----------
                 AND e.eiitem = '&itemNumberPlease'
                 AND l.lcontid = p.contid
                 AND l.letting = b.letting
                 AND l.letting = d.letting
                 AND l.CALL = d.CALL
                   -- AND l.LETSTAT='A'---------------------why 6/22 is not included----------------------------work with this-------------------------
                 AND d.vendor = v.vendor
                    ------Select Letting Dates--------
                 AND b.letting between '&lettingDatePlease' and  '&lettingDatePlease2'
            GROUP BY p.contid,
                           d.vendor,
                     g.csecnum,
                     e.iplineno,
                     SUBSTR (e.eiitem, 1, 4) || '.' || SUBSTR (e.eiitem, 5, 9),
                     b.datelet,
                     l.CALL,
                     e.eiitem,
                     (i.idescrl || '  ' || e.isupdes),
                     func_get_unit_name (iunits),                
                     iunits,
                     p.ccnty1,
                     i.idescrl,
                     e.isupdes,
                     i.idescrl,
                     v.vnamel,
                     e.isupdes)  tab
    DESCRIPTION     ITMENUM     UNITS     COUNTYNAME     DATELET     'Q'||TAB.QUARTER     CONTID     VENDOR     VENDORNAME     QUANTITY     ENGINEERSPRICE     ENGINEERSTOTAL     VENDORSPRICE     VENDORSTOTAL
    Mobilization        2021.501/00010     LUMP SUM     Hennepin     3/30/2007     Q1-2007     060048              ALS0010            ALS0010 : Ames / Lunda / Shafer (Jv)     1     11376150     11376150     14357900     14357900
    Mobilization        2021.501/00010     LUMP SUM     Hennepin     3/30/2007     Q1-2007     060048              MP0001             MP0001 : Mccrossan/Pcl (Jv)     1     11376150     11376150     15600000     15600000
    Mobilization        2021.501/00010     LUMP SUM     Wright     5/18/2007     Q2-2007     070002              C320               C320 : Central Specialties Inc     1     130459     130459     637860     637860
    Mobilization        2021.501/00010     LUMP SUM     Wright     5/18/2007     Q2-2007     070002              D420               D420 : Duininck Brothers Inc     1     130459     130459     362000     362000
    Mobilization        2021.501/00010     LUMP SUM     Wright     5/18/2007     Q2-2007     070002              H151               H151 : Hardrives Inc     1     130459     130459     516000     516000
    Mobilization        2021.501/00010     LUMP SUM     Wright     5/18/2007     Q2-2007     070002              H438               H438 : Hoffman Construction Company     1     130459     130459     255000     255000
    Mobilization        2021.501/00010     LUMP SUM     Wright     5/18/2007     Q2-2007     070002              K0037              K0037 : Knife River Corporation - North Central     1     130459     130459     290953.37     290953.37
    Mobilization        2021.501/00010     LUMP SUM     Wright     5/18/2007     Q2-2007     070002              M0027              M0027 : Midwest Contracting Llc     1     130459     130459     285000     285000

    Hi gourous,
    I am sorry, my question is a little bit more complex. I hope I may repost here, without opening another thread. Thank you for your understanding.
    The EQUIPE_ID column of the table refers to a team. This id is returned by a select list named :P60_EQUIPE_ID which select all the EQUIPE_ID available. Then if one choose a team in this select list, the choosen EQUIPE_ID is returned. If nothing is selected in the select list, then a null value is returned.
    The AGENT_ID refers to a person. This id is returned by a select list named :P60_AGENT_ID, which returns all the members of the previously selected EQUIPE_ID. If nothing is selected, then a null value is returned.
    A team may have several persons belonging to that team.
    I would like that if a TEAM is selected, without selecting an agent in the :P60_AGENT_ID select list (returning a null value in this case), then all the people belonging to that theam will be retrieved by the select QUERY of a report.
    Then one could refine the query by selecting a person in the :P60_AGENT_ID select list in order to view only the people of that team in the report.
    To resume :
    IF EQUIPE_ID is NULL -> all the teams and all the persons are displayed in the report.
    IF EQUIPE_ID is NOT NULL and :P60_AGENT_ID is NULL -> All the people of that selected team appears on the report
    IF EQUIPE_ID is NOT NULL and :P60_AGENT_ID is NOT NULL -> The report displays only the results of the query for that person of that team.
    Thank you for your kind help !

  • How to write the quires using into corresponding fields?

    Hi,
      How can i write the below quires using into corresponding fields statement.
    DATA :ws_d_budat TYPE bkpf-budat,
               ws_c_artnr TYPE ce10001-artnr,
    1) SELECT SINGLE budat
                        INTO ws_d_budat
                        FROM bkpf
                        WHERE awtyp = 'VBRK'
                        AND   awkey = wa_vbeln-vbeln.
    2)SELECT vbeln posnr matnr
                   FROM vbrp
                   INTO TABLE i_matnr
                   FOR ALL ENTRIES IN i_vbeln
                   WHERE vbeln = i_vbeln-vbeln
                   AND   matnr = ws_c_artnr
                   AND   posnr NE ' '.
    3) SELECT bukrs belnr gjahr budat awkey
                   INTO TABLE i_budat
                     FROM bkpf
                     FOR ALL ENTRIES IN i_awkey
                       WHERE awtyp = 'VBRK'
                       AND   awkey = i_awkey-awkey.
    Sudhakar

    1) SELECT SINGLE budat
    INTO ws_d_budat
    FROM bkpf
    WHERE awtyp = 'VBRK'
    AND awkey = wa_vbeln-vbeln.  -
    > <b>Not possible</b>
    2)SELECT vbeln posnr matnr
    FROM vbrp
    INTO corresponding fields of TABLE i_matnr
    FOR ALL ENTRIES IN i_vbeln
    WHERE vbeln = i_vbeln-vbeln
    AND matnr = ws_c_artnr
    AND posnr NE ' '.
    3) SELECT bukrs belnr gjahr budat awkey
    INTO corresponding fields of TABLE i_budat
    FROM bkpf
    FOR ALL ENTRIES IN i_awkey
    WHERE awtyp = 'VBRK'
    AND awkey = i_awkey-awkey.
    Reward points if helpful.
    Regards.
    Srikanta Gope

  • How can I get all the options of Field Point Explorer 3.0.2 in Measuremen​t and Automation Explorer 3.1?

    I am a student using LabVIEW and Compact Field Point to implement a
    senior design project in Electrical and Computer Engineering.  We
    have LabVIEW 7.1 and a cFP-2020 and additional modules.  We are
    trying to use the CTR-500 module to output a pulse train to drive a
    stepper motor.  We have found instructions online of how to do
    this, but they all use Field Point Explorer.  The instructions
    make use of options in Field Point Explorer that are not included in
    Measurement and Automation Explorer (the software included with the
    cFP).
    I have downloaded Field Point Explorer 3.0.2 and followed the
    directions.  Now, in LabVIEW, when I using the newly created .iak
    file, I get a dialogue asking to find the SubVI: 'FP Read (Float Array
    -IO).vi'.  Included with LabVIEW are subvis for FP Read, but not
    with the float array part.  So I figure I cannot use Field Point
    Explorer created .iaks with LabVIEW 7.1.  So how cannot I access
    the same options in Measurement and Automation that I was able to find
    in Field Point Explorer?
    Thanks

    Hi,
    FieldPoint Explorer is no longer used to configure FieldPoint systems. However, I do not think that the configuring your system in FieldPoint Explorer is causing the error.
    FieldPoint systems are now setup in Measurement and Automation Explorer (MAX).  Information on setting up FieldPoint systems in MAX can be found in the MAX help under: Installed Products>> FieldPoint. Also, I recommend upgrading to the latest FieldPoint driver and version of MAX.  The FieldPoint VI's will be slightly different when you upgrade, so there is a good chance that this will eliminate the error.
    Regards,
    Hal L.

  • Can I collect the pulse data using Field Point?

    I have a water flow meter, which outputs pulses. I use a counter to connect it and read the data. Now, I want to read and save the data in the computer using LabView and Field Point. I think this can be done if I can collect the number of pulse. I am wondering how to do that.
    Thanks.

    Dear Zl,
    Counting pulses is much easier with the FP-QUAD-510 or FP-CTR-500, but can be done with the FP-AI-110.  You can't directly count the pulses with a FP-AI-110, but you can do it in software. Bring in the data by doing a normal read. Then, using shift registers, if the previous voltage is less than .8V (low) and the current voltage is more than 2.5 (high), increase the pulse count. I have attached a program that shows what to do with the data once you bring it in. I took the data from an array outside the while loop, but your data will be brought in one point at a time inside the while loop. One thing to take note of, since Fieldpoint brings in data at 1 kS/s, this will only work with pulses slower than 500 Hz. The farther the duty cycle is away from 50% duty cycle, the slower the signal must be in order to catch the pulses correctly. Please let me know if you have any questions. Have a great day!
    Sincerely,
    Marni
    PS- Please only post question once.
    Attachments:
    pulsecount.vi ‏22 KB

  • How can I implement a Digital I/O counter with a maximum source frequency of 80 MHz (like 6602 board) using CompactRIO?

    How can I implement a Digital I/O counter with a maximum source frequency of 80 MHz (like 6602 board) using CompactRIO? It appears as if the Digital I/O modules for CompactRIO are much slower than this.
    Thank you,
    --Ray

    Hi Ray,
    The highest frequency input we offer for C Series modules is 20 MHz if you are doing LVTTL and 10 MHz for 5 V TTL.  These modules are the 9402 and 9401, respectively.  Unfortunately, there is no 80 MHz input on this form-factor.
    Regards,
    Chris E.
    Applications Engineer
    National Instruments
    http://www.ni.com/support

Maybe you are looking for

  • How can i open pdf on safari with reader 11,0,07

    i've got Imac with OSX 10,9,4 and adobe reader 11,0,07. i can't read pdf on website. i've got this error message : Before proceeding you must first launch Adobe Acrobat and accept the End User License Agreement. but i don't know where i can accept th

  • COUNT(DISTINCT) WITH ORDER BY in an analytic function

    -- I create a table with three fields: Name, Amount, and a Trans_Date. CREATE TABLE TEST NAME VARCHAR2(19) NULL, AMOUNT VARCHAR2(8) NULL, TRANS_DATE DATE NULL -- I insert a few rows into my table: INSERT INTO TEST ( TEST.NAME, TEST.AMOUNT, TEST.TRANS

  • Duplicating pages in Acrobat

    Working with Acrobat documents, from time to time I would like to be able to duplicate page(s).  There doesn't seem to be a feature for this. I would like to request that it be added to a list of feature inclusions, thanks.

  • IPhoto working very slowly

    iPhoto is now working very slowly. Any editing move,keyword, or any other action, starts the ball moving and takes quite a while before the action is done. And often the program stalls and I have to force a close. I have rebuilt (command - option) an

  • Disk mode questions

    How long does it take to fully charge in disk mode? i left it on the car charger for 30 hrs. and it still was not charged because when i took it off the charger it started beeping and a battery was flashing.