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

Similar Messages

  • Can we change the system date using Sql

    can we change the system date using Sql statement..
    can anyone help
    Tariq.

    There is an initialization parameter called FIXED_DATE which lets you set a fixed sysdate for testing purposes, and you can alter that date using the ALTER SYSTEM command, but as implied by the name you are setting a data/time that doesn't change. Since the normal sysdate is derived from the O/S it cannot be altered through SQL

  • How can i write the bellow code using field symbols

    data : it_mara type table of mara.
    select * from mara
                into it_mara.
    delete it_mara where matnr = '100-100'
                             and meins = 'KG'.
    if i do the same by using field symbols
    i am getting data into <it_mara>
    but
    delete <it_mara>  where matnr = '100-100'
                               and    meins = 'KG'.
    is showing syntax error
    how to correct the error ?

    I think, DELETE does not allows to dynamically define the logical expression for the WHERE clausule.
    Have you tried by filtering data in SELECT statement??
    Something like:
    if dataBase = 'MARA'.
    append 'MATNR <> '100-100'' to Itab_Where[].
    append 'AND MEINS <> 'KG'' to Itab_Where[].
    endIf.
    select * from (dataBase) where (Itab_Where) into table <my_table>.
    this is possible, but I don't know if this fits your requirements.

  • Can I Control the Pulse offset using the Counter Out?

    Hello Everyone.
    I am trying to generate the Pulse as below;
    I have seen and understood an example to generate a pulse waveform "GenDigPulseTrain_Continuous".
    However, I can not control the offset of the pulse train.
    Although the function gives me "initial delay(The amount of time in seconds to wait before generating the first pulse)",
    I can not shift "t_dead" cycle.
    /*01.Frequency Control*/
     // The units to use to define pulse frequency.
      m_pTaskWrite->COChannels.CreatePulseChannelFrequ​ency(vecstrings[0]/*LPCTSTR counter*/,
       "PWM_C0_CH_HIGH"/*LPCTSTR nameToAssignChannel*/,
       DAQmxCOPulseFrequencyUnitsHertz,
       DAQmxCOPulseIdleStateHigh,
       dDeadTime, 
       m_nFncFrequency/*frequency*/,
       prDuty.second/*dutyCycle*/);
      // The units to use to define pulse frequency.
       m_pTaskWrite->COChannels.CreatePulseChannelFreque​ncy(vecstrings[1]/*LPCTSTR counter*/,
        "PWM_C0_CH_LOW"/*LPCTSTR nameToAssignChannel*/,
        DAQmxCOPulseFrequencyUnitsHertz,
        DAQmxCOPulseIdleStateLow,
        dDeadTime/**2 + (prDuty.second *dCycleTime)*/, 
        m_nFncFrequency/*frequency*/,
        prDuty.second/*dutyCycle*/);
    Please let me know how I solve this problem.
    Thank you

    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

  • I have problem in transfeering data using field point via tcp

    I am reading the values from the filed point, which is connected, to the RT controller and transferring the values to the client PC via TCP at a specified acquisition rate.
     Case1 when the acquisition rate is 0.1 minutes I get the values from the controller correctly i.e. 5v, 5v, and the chart shows no change. The timed out of the TCP read is default value i.e. is 250ms
     But when I change the acquisition rate to .5 minutes I get the values as 5v, 0v, 5v, and 0v. The time out of the TCP read is same as first case. The inputs to the field point are at the constant 5v.
    Please tell how to solve the problem so as to see the plot in the chart continuously as inputs for the field points the read
    ing are at constant rate of input 5v.

    Suresh,
    Since this question deals with using the LabVIEW TCP/IP functions, you are better off posting it to the LabVIEW discussion forum.
    Regards,
    Aaron

  • Can I change the posting date in CO13 to cancel a confirmation?

    Hi all
    I'd like to know how can I change the posting date using CO13.
    So I have a confirmation in date 30/6 for exemple, but I'd like to cancel it in posting date 1/7, but the systems takes the date of the original confirmation. Can I change it any way?
    Thanks in advance
    Points will be given

    Dear Roger,
    this is only possible in case if the bookin periode is closed. In this case it's allowed to change the booking date in CO13 and the date field gets automatically inputable, normaly it's greyed out.
    As long as the booking periode is open, the system automatically use the date from confirmation.
    Hope this help.
    Regards,
    Sabine

  • How can we collect the contract manufacturers (OEM) POS data in SAP

    We are looking for best practices using SAP to collect, store and analyse  point of sale information in the following scenarions.
    Any ideas.
    1.  Our company ---> Sells to Distributors ---> Who in turn sells it to contract manufacturers or OEMs --> Who then sell it to end customer/trade customers
    How can we get the POS data from trade customers who buy from the contract manufacturers. What is the best practice here for electronics industry?
    Thanks Muthu.

    I am not sure about your requirement, but yet.. Did you check UserSessionData object? It encompasses all the session variables.

  • Can we set the dynamic data source when using getReportParameters() ?

    Hello!
    I have a report where one of its parameters refers to a list of values (LOVs). This list of values is an SQL Query type. When the data source used in the report is defined in the BI Publisher server, I'm able to get the report parameters using the getReportParameters() function in my application. However, if the data source is not defined the function throws an exception, which is understandable.
    I decided to dynamically set the data source so that even if the data source used by the report is not defined in the BI Publisher server, it still will be able to get the LOVs for the parameter. I tried setting the JDBCDataSource of the dynamicDataSource for the ReportRequest object that I passed to the getReportParameters() function. Please see the sample code below:
    reportRequest.dynamicDataSource = new BIP10.BIPDataSource();
    reportRequest.dynamicDataSource.JDBCDataSource = new BIP10.JDBCDataSource();
    setReportDataSource(reportRequest.dynamicDataSource.JDBCDataSource, connectstr, jdbc, dc); //function to set the values for JDBCDataSource object
    reportParams = webrs.getReportParameters(reportRequest, uid, pwd); //call the getReportParameters
    I was expecting this to work as this is what I did to dynamically set the data source before calling the runReport function. So, my question is -- can we set the dynamic data source when using getReportParameters() ? I tried this both in versions 10g and 11g. It does not seem to work on both versions.
    Regards,
    Stephanie

    report_id column of apex_application_page_ir_rpt can help us uniquely identify each saved report.
    We can assign this report_id value to a page item and this page item can be put in the Report ID Item text box of the Advanced section of the Report Attributes page of the IR.
    This should load the saved report identified by report_id and you can get rid of javascript
    Regards,
    Vishal
    http://obiee-oracledb.blogspot.com
    http://www.packtpub.com/oracle-apex-4-2-reporting/book
    Kindly mark the reply as helpful/correct if it solves your problem

  • I have a FP-1600 and a FP-AO-200 module, 0-20 ma. When I use Field Point Explorer 3.0.1, I can not command any of the channel output current. The current remains in the lowest value 0.0035 A. What is the problem ?

    I have a FP-1600 and a FP-AO-200 module, 0-20 ma. When I use Field Point Explorer 3.0.1, I can not command any of the channel output current. The current remains in the lowest value 0.0035 A. What is the problem ? The communications with the module are OK, because it shows when the current are open or closed.

    Jorg,
    I noticed that you claimed to be using the module in 0-20mA mode, yet the reading you are seeing is 3.5mA. This is the minimum value (with overranging) when the module is set to 4-20mA mode. My guess is that your module is defaulting back to 4-20mA mode, but your IAK file still thinks the module is in 0-20mA mode. You can verify this by using the find devices button in FieldPoint Explorer and then trying to write to the channel.
    To fix this problem, you should use the snapshot feature to change the default power-up mode for that channel.
    Regards,
    Michael Shasteen
    Applications Engineering
    National Instruments
    www.ni.com/ask
    1-866-ASK-MY-NI

  • How can we showup the GL date under iprocurement distribution lines?

    Hi,
    I am not able to find the GL Date under the iProcurement Distribution lines, i think we can show the GL DATE using the personalization. Can any one help how to do the personalization..?
    Note: We are using the 11.5.10.2 version.
    Please update me ASAP..we need to fix this issue Urgentlry.
    Regards,
    Kv.

    Hi Gaurav,
    Thanks for your reply.....
    i have checked the Column Header fields for GL Date.
    Please check the belwo information and suggest me accrodingly how to enable the GL Date. Plz respond ASAP..
    ============================================================
    Scope Region: /oracle/apps/icx/por/req/webui/CheckoutLinesPG.AccountsLinesR, Document Name /oracle/apps/icx/por/req/webui/CheckoutLinesPG
    =============================================================
    Column Header—
    Sortable Header: Charge Account
    Column: (GL DateCol)
    Message Text Input: (GL Date)
    Message Styled Text: (GLDateMultiple)
    --Column Header
    Sortable Header: GL Date
    Note: All the above fields are marked yes under the Shown field in the personalize page.
    From the above shown GL Date columns what are the suitable options under the personalize page to enable GL Date..
    Please respond ASAP, as it is very urgent for me..........
    Regards,
    Kv
    Edited by: Peter.Kv on Sep 8, 2009 12:23 AM
    Edited by: Peter.Kv on Sep 8, 2009 12:26 AM

  • How is the Raw data used in iPhoto. I currently shoot both jpeg and raw and import them both into iPhoto.

    How is the Raw data used in iPhoto? I currently shoot both jpeg and raw and import them both into iPhoto. What do I gain by collecting Raw data?
    Thanks

    You get more parameters for making adjustments to the image. This is not really an iPhoto question but more a general photography one. In rather simple terms here's how a digital camera works:
    You expose an image. A lot of data is gathered in by the sensor. But it's just a bug lump of data and not very useful in that form.
    In cameras that shoot jpeg that mass of data is interpreted/processed into an actual image, and the image is stored in a jpeg file. (that's a process broadly analogous to developing a film). The decisions that go into making that interpretation are all made by an engineer somewhere, back when the camera was developed.
    If you shoot Raw, then what you do is take that mass of data, and rather than working to the decisions made by that engineer, you develop the shot - you run the digital darkroom.
    Why would you do this? Take on all this extra work? Well one of three reasons: a: you think you can do a better job than that engineer. b: you just prefer the result you get when you develop yourself or c: you're a hopeless shooter and raw means you have more options to fix the mistakes you made in the camera. (That's why I do it.)
    Here endeth the two dollar tour. So, basically, if you're happy with what your camera produces in Jpeg then there's really no need to shoot Raw.
    There's no need at all to shoot Raw+Jpeg as iPhoto creates a jpeg preview when you import, so you're just wasting space.

  • Can I measure Vibrating Wire Strain Gauges using Field Point Inputs?

    Is wish to connect a Vibrating Wire Strain Gauge using Field Point.
    The sensor requires a swept frequency excitation (typically 400 to 1500 Hz) and then generates a frequency output proportional to the strain applied on the vibrating element. The frequency (roughly upto 1kHz) needs to be measured.

    What sort of resolution is needed on the frequency sweeping? There are currently four FieldPoint modules that can be used for generating pulsed outputs; the FP-CTR-500, FP-CTR-502, FP-PWM-520 and FP-PG-522. For the remained of this posting, I will use FP-CTR-50X to represent both the FP-CTR-500 and FP-CTR-502 as they are identical in functionality, different in their input/output stages.
    The FP-PWM-520 is a Pulse Width Modulation output with 12 bit resolution on duty cycle and 16 bit resolution on the pulse period. The period is adjustable from 1 to 655535 milliseconds, which makes the module slightly less than ideal for frequency sweeping as it's highest frequency is 1 kHz and it's second highest frequency is 500 Hz.
    The FP-PG-522 is a Pulse Generator module that can operate in an continuous pulse mode. The On Time, Off Time and resolution (time base) are adjustable. The smallest time base is 100 ms, for a maximum output frequency of 5 kHz. Like the FP-PWM-520, the FP-PG-522 adjusts it's output rates by changing the time rather than the frequncy, making it difficult to smoothly sweep across frequencies.
    Finally, the FP-CTR-50X modules may be used. The FP-CTR-50X modules have 8 16 bit counters, 4 Gates and 4 outputs. The module has two internal clocks, 1 kHz ad 32 kHz that can be used to feed the counters. The outputs can be configured to toggle each time an adjustable terminal count is reached, allowing output pulse generation of up to 16 kHz (32 kHz internal clock divided by 2). The FP-CTR-50X modules have the advantage over the above modules in that the counters can be cascaded and set for differing terminal counts allowing multiple pre-scalers which may allow better resolution of generated frequncies.
    For measuring the output frequency generated by the gauge, the only current modules that will allow you to directly measure the output are the FP-CTR-50X modules. However, as they were primarily designed for event counting, it takes a little bit of extra programming to allow them to be used to measure frequencies. The effectiveness of frequency measurement on the FP-CTR-50X modules varies on the sampling period, the programming and the network module. There are several KnowledgeBase and Developer Exchange articles talking about how to use a FP-CTR-50X module to measure frequencies, so I will not duplicate the information in this post.
    Regards,
    Aaron

  • Can not access the Instance Data of a Singleton class from MBean

    I am working against the deadline and i am sweating now. From past few days i have been working on a problem and now its the time to shout out.
    I have an application (let's call it "APP") and i have a "PerformanceStatistics" MBean written for APP. I also have a Singleton Data class (let's call it "SDATA") which provides some data for the MBean to access and calculate some application runtime stuff. Thus during the application startup and then in the application lifecysle, i will be adding data to the SDATA instance.So, this SDATA instance always has the data.
    Now, the problem is that i am not able to access any of the data or data structures from the PerformanceStatistics MBean. if i check the data structures when i am adding the data, all the structures contains data. But when i call this singleton instance from the MBean, am kind of having the empty data.
    Can anyone explain or have hints on what's happening ? Any help will be appreciated.
    I tried all sorts of DATA class being final and all methods being synchronized, static, ect.,, just to make sure. But no luck till now.
    Another unfortunate thing is that, i some times get different "ServicePerformanceData " instances (i.e. when i print the ServicePerformanceData.getInstance() they are different at different times). Not sure whats happening. I am running this application in WebLogic server and using the JConsole.
    Please see the detailed problem at @ http://stackoverflow.com/questions/1151117/can-not-access-the-instance-data-of-a-singleton-class-from-mbean
    I see related problems but no real solutions. Appreciate if anyone can throw in ideas.
    http://www.velocityreviews.com/forums/t135852-rmi-singletons-and-multiple-classloaders-in-weblogic.html
    http://www.theserverside.com/discussions/thread.tss?thread_id=12194
    http://www.jguru.com/faq/view.jsp?EID=1051835
    Thanks,
    Krishna

    I am working against the deadline and i am sweating now. From past few days i have been working on a problem and now its the time to shout out.
    I have an application (let's call it "APP") and i have a "PerformanceStatistics" MBean written for APP. I also have a Singleton Data class (let's call it "SDATA") which provides some data for the MBean to access and calculate some application runtime stuff. Thus during the application startup and then in the application lifecysle, i will be adding data to the SDATA instance.So, this SDATA instance always has the data.
    Now, the problem is that i am not able to access any of the data or data structures from the PerformanceStatistics MBean. if i check the data structures when i am adding the data, all the structures contains data. But when i call this singleton instance from the MBean, am kind of having the empty data.
    Can anyone explain or have hints on what's happening ? Any help will be appreciated.
    I tried all sorts of DATA class being final and all methods being synchronized, static, ect.,, just to make sure. But no luck till now.
    Another unfortunate thing is that, i some times get different "ServicePerformanceData " instances (i.e. when i print the ServicePerformanceData.getInstance() they are different at different times). Not sure whats happening. I am running this application in WebLogic server and using the JConsole.
    Please see the detailed problem at @ http://stackoverflow.com/questions/1151117/can-not-access-the-instance-data-of-a-singleton-class-from-mbean
    I see related problems but no real solutions. Appreciate if anyone can throw in ideas.
    http://www.velocityreviews.com/forums/t135852-rmi-singletons-and-multiple-classloaders-in-weblogic.html
    http://www.theserverside.com/discussions/thread.tss?thread_id=12194
    http://www.jguru.com/faq/view.jsp?EID=1051835
    Thanks,
    Krishna

  • Can i see the column DATA(BLOB type) in PM_OBJECTS of DCM schema

    we installed DCM managed clustering .it is Database repository type.
    i am trying to see the column DATA(BLOB type) in PM_OBJECTS of DCM schema .
    I wrote a program in java to read blob data type and write it into a temporary file.
    when i open temporary files all the data in junk format.
    can i see the real data of thatcolumn.Is it possible?
    first of all for what purpose DCM shema will be used?

    Hi,
    There is no option to show the comments on the diagram.
    We plan to add such feature in the next version.
    Ivan

  • How can i get the meta data from database?

    Hi, all java and db experts,
    I need to write a tool to generate java file which will be used to hold the resultset of a stored procedure of Oracle. Is there any API call or tools to connect to db and then get the meta data of the return cursor instead of reading stored procedure definition on my own?
    Please help, thanks a lot.
    Hanna

    if i execute a Oracle stored procedure, the resultset of a cursor is returned. It's easy to know the meta data at the runtime.
    However, could i get the meta data about the resultset of a cursor before runtime? Such as by connecting to the database and ask it about meta data of a specified stored procedure?
    Is it feasible?
    DatabaseMetaData dbmd = conn.getMetaData();
    ResultSet rs = dbmd.getProcedureColumns("", "%", "SP_NAME", "%");
    while (rs.next()) {
    String colName = rs.getString(4);
    int colType = rs.getInt(5);
    int colDataType = rs.getInt(6);
    int colPrecision = rs.getInt(8);
    int colLen = rs.getInt(9);
    int colScale = rs.getInt(10);
    long defaultValue = rs.getLong(11);
    But what i get is a list of stored procedure parameters. In oracle, cursor is IN OUT parameter . How can i get the meta data about the resultset of cursor?

Maybe you are looking for

  • Discoverer 4.1.37-- Printing workbooks is not possible

    Hello all, One problem arise on many computers: when trying to print any worksheet(min 4 pages) from Discoverer 4.1.37 (network client installation) on windows XP, the processor usage in task manager is 100% and the computer is dead. No printing is s

  • Mobile accounts not syncing at logout

    Hi guys, We are experiencing some synchronisation issues when attempting to use mobile accounts for the first time at our school. Synchronisation is only occurring at login and not at logout even though all options are selected under Rules>Home Sync

  • How to purchase items in the app, SvZ Defense 2?

    I'm unable to purchase any in-game items in the app, SvZ Defense 2. It keeps asking me to "Contact ITunes support to complete my transaction"

  • Can't sync ipod video

    i recently bought an ipod video. i immediatley added music to it. it synced and works fine. i can listen to all of the music on it, but when i connect it to my macbook, it isn't reconized. it doesn't even charge. i have a car charger and that works f

  • My playlists won't sync on my iPad or iPhone

    I hook my iphone 5 and ipad 2, both are updated to the newest updates to my computer, new computer and all updated to sync with itunes (updated) and i check my playlists from itunes and my playlists wont appear on my iphone 5 nor my ipad 2. Anyone el