continuous performance counter data

Hi all

I need assistance in the collection of data from a counter entry. I have a flow sensor that creates an output up to 600 Hz. frequency I plugged on the entry of a counter on my DAQ hardware, and in Labview, I plugged the DAQ assistant to a curve of waveform in a while loop. When I run it, it runs until it is among the samples and then gives the error 200284 and then shows the frequency over time on the chart.

However, I would like to see the frequency over time in real time on the chart, while it is running, and I would also like to run continuously until I hit the stop button. Can someone explain how this is done?

Best regards

Allard

Allard,

you stop the acquisition in the loop. This is why buy you a single package (of 1000 samples) and finish the acquisition. After that, the loop runs immediately create 100% CPU load on a carrot and basically doing nothing except waiting for the stop button to be pressed.

Learn more about the shift registers to store job and put the task to stop outside the loop. In the loop, modify the terminal to stop the loop itself to stop if the stop button has been pressed OR if an error in the acquisition took place.

Your current implementation will wait 1000 samples and display in the chart. The next update will completely replace the old conspiracy. According to the speed, you will get this behavior (@600 Hz about once every 2 seconds). You can do the following:

  • Reduce the number of samples for example 100

  • Use a graphic instead of waveform graphic waveform (for 'history')

or

  • Set up a ring buffer using a shift register to update a chart similar to a graphic waveform

Norbert

Tags: NI Software

Similar Questions

  • How to get performance counter stats for virtual machine?

    Hi again,

    I managed to connect to the web service using VI SDK 2.5 and I can't what are virtual machines installed on the host system. I want to get the VMS performance counter values. How to get values of virtual machines performance counter?

    try {

    service = util.getConnection () .getService ();

    SIC is util.getConnection () .getServiceContent ();.

    perfMgr = sic.getPerfManager ();

    Utils VMUtils = new VMUtils (util);

    The list of virtual machines on a host

    ArrayList vmList = utils.getVMs (null,null,null,null,null, arg,new String [1] [2]);

    I havef(vmList! = null) {}

    System. .println ("Host a" + vmList.size () + "virtual machines");

    System. the.println ("name vm" + vmList.get (0) m:System.NET.SocketAddress.ToString () + "vm 2" + vmList.get (1) m:System.NET.SocketAddress.ToString ());

    }

    }

    catch (Exception ex) {

    ex.printStackTrace ();

    }

    Clues?

    ! http://communities.VMware.com/images/emoticons/sad.gif !

    Hello

    In order to obtain the performance counter for a managed entity, you must have following:

    1. get the managed object to the PerformanceManager object reference

    2 get the ProviderSummary object for this entity. It also helps determine if the current or summary statistics are supported.

    3. get performance metrics available for the entity. In a given time interval, the statistics will be available for these measures.

    4. the performance statistics for the entity desired metrics extracted from the step above queries

    5 examine the returned data object to get the statistics.

    Attached, is an example of Java, which takes the name of the virtual machine, run the steps above and print the available counters and their stats. You can take the help of this example and can improve to get statistics for all the virtual machines in your host application.

    Hope this information is useful.

    -Neha

  • How to store counter data

    Hello

    I arranged the circuit saw attached. For now the meter will change from 0 to 1 when the analog signal of the DAQ aka changes of direction from false to true. However, I want to continue to count, from 0 to 1 to 2, etc.

    What can I do to achieve this?

    Thank you.

    Your code should do what you want.  I have attached a version simulated your code.  It should continue to count.  I have two questions to ask you if.

    1. What is your false case?  It seems that your having the option "use the default if unwired" enabled for the tunnel exit case structure.  If you do not have a wire through on the case of false, you'll ruin your meter.

    2. ensure that the Subvi, which is connected to the structure of business generates correct Boolean event.

    Yik

  • The Performance counter requested is not a custom counter, it needs to be initialized read-only.

    I use SAGE ACt! database and I get this error message after loading.  The Performance counter requested is not a custom counter, it needs to be initialized read-only.

    Does anyone know how to remedy this?  I talked to the WISE and they say it's a problem of Windows registry, but I don't have the knowledge to deal with this.

    Hello

    Thanks for posting your query in Microsoft Community!

    Can I know what Windows operating system do you use?

    I would like you see below and check if that helps.

    Error message "Performance counter is not a custom counter, it needs to be initialized in ReadOnly" when you run Microsoft Dynamics CRM 4.0

    http://support.Microsoft.com/kb/958377#appliesTo

    Note: Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems can occur if you modify the registry incorrectly. Therefore, make sure that you proceed with caution. For added protection, back up the registry before you edit it. Then you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click on the number below to view the article in the Microsoft Knowledge Base: 322756 (http://support.microsoft.com/kb/322756 /) how to back up and restore the registry in Windows.

    Please report if you are still having the problem. I will be happy to provide you with the additional options that you can use to get the problem resolved.

    We can't wait to hear back on your part.

  • Eliminate duplicates while counting dates

    Hi all

    Version: Oracle Database 11g Enterprise Edition Release 11.2.0.3.0.


    How to count the dates and eliminate duplicate dates.

    For example,.

    Name from Date to Date

    AAA 31/05/2014-06/13/2014

    AAA 14/06/2014 06/27/2014

    AAA 21/06/2014 07/20/2014

    AAA 21/07/2014 08/20/2014

    We want the output as,

    County of name not days

    AAA 14

    AAA 14

    23 AAA (in this case must be eliminated 7 days from June 21, 2014-20/07/2014' because it is already counted dates previous ie.'06/14/2014 - 27/06/2014 '.) If we want the exit 23)

    AAA 31

    Thank you

    Pradeep D.

    Untested carefully... But can give you an idea:

    -----

    WITH t
         AS (SELECT 'AAA' nm,
                    TO_DATE ('05/31/2014', 'MM/DD/YYYY') from_dt,
                    TO_DATE ('06/13/2014', 'MM/DD/YYYY') TO_DT
               FROM DUAL
             UNION ALL
             SELECT 'AAA',
                    TO_DATE ('06/14/2014', 'MM/DD/YYYY'),
                    TO_DATE ('06/27/2014', 'MM/DD/YYYY')
               FROM DUAL
             UNION ALL
             SELECT 'AAA',
                    TO_DATE ('06/21/2014', 'MM/DD/YYYY'),
                    TO_DATE ('07/20/2014', 'MM/DD/YYYY')
               FROM DUAL
             UNION ALL
             SELECT 'AAA',
                    TO_DATE ('07/21/2014', 'MM/DD/YYYY'),
                    TO_DATE ('08/20/2014', 'MM/DD/YYYY')
               FROM DUAL),
         tt
         AS (SELECT nm,
                    from_dt,
                    to_dt,
                    (to_dt - from_dt) total_diff,
                    CASE
                       WHEN   LEAD (from_dt, 1)
                                 OVER (PARTITION BY nm ORDER BY from_dt)
                            - to_dt < 0
                       THEN
                            LEAD (from_dt, 1)
                               OVER (PARTITION BY nm ORDER BY from_dt)
                          - to_dt
                          - 1
                       ELSE
                          0
                    END
                       diff
               FROM t)
    SELECT nm,
           from_dt,
           to_dt,
             1
           + total_diff
           + LAG (diff, 1, 0) OVER (PARTITION BY nm ORDER BY from_dt) final_diff
      FROM tt
    

    Output:

    ------------

    NM FROM_DT TO_DT FINAL_DIFF

    AAA 2014 6/13/5/31/2014 14

    AAA 2014 6/27/6/14/2014 14

    AAA 23 6/2014 7/20/21/2014

    AAA 31 7/2014-8/20/21/2014

    See you soon,.

    Manik.

  • Continuously perform calculations on the data

    Hey guys,.

    So I have this program that generates pulses of signals using NOR-SCOPE, and I initially did so that each time that the user presses a button that they will perform certain calculations in order to generate a value that is stored in a table. My mentor now wants me to do so that it generates continuously pulse signals (not a single signal) and adds the values in a table. The signal seems so I need to use the parameter N samples on NI SCOPE as it does in the code below, although if anyone has a way to change this, it would be nice too.

    So basically, how can I calculate continuous pulse generated automatically over time signals? The user does not have to run the program and the computer does the rest.

    Thank you!

    You must migrate to a structure of producer/consumer. In the loop of the producer acquire the data contimuously and pass it to the loop of consumption. In the loop of the consumer, analyze the data and store the data as needed.

    A variation on the theme that I recommend is that instead of using a queue to pass data, use a user-defined event. The reason for this change is that your current code (which is basically what will end up in the loop of the consumer) is so pass data to loop through an event will allow him to fit into the current structure of the user interface.

    Oh, Yes, one more thing: get rid of the Express live. It's time to remove the training wheels...

    Mike...

  • IPhone-to-iPad call phone cellular continuity uses the data

    Many times I drive to work using my iPad Mini 4 WiFi + cell phones driving to work to play music of different applications via bluetooth to my car audio system.

    Whenever my phone rings, my iPad has the T-Mobile (my support for iPhone & iPad) also allows cellular continuity. My question is, if I were to answer the call on my iPad I will be charged data or the call still counts against cellular minutes? So, basically the iPad use VoIP (data) or VoLTE (phone calls / minutes) to manage the call? Thanks for any help!

    Updated - talked with my contact at T-Mobile, who is Advisor senior technical/engineering. He said phone calls on iPad via transfer cell/continuity is currently working on Facetime Audio that is essentially a VoIP service and use the cell data.

    However, T-Mobile is looking for ways to eliminate the use of data for its customers on Facetime Audio (and perhaps even Facetime video as well) through their programs free music and frenzy on. If that happens, it would be incredible!

  • Helps the acquisition of photon counter data using LabView 12

    Hey all,.

    Student graduate Chemistry here new to LabView and are looking for some help moving in the right direction.  I'm looking for help with connecting my meter to 12 LabView for data acquisition of trace-fluorescence photon PerkinElmer SPCM-AQR-14 (now owned by Excelitas Technologies).  I just want to be able to acquire number of photon counts vs. time.  Currently, I installed a PCI-6601 and use a BNC-2121 to connect the BNC of the sensor output.  The detector has a pulse output digital TTL with 30 ns pulse width, and by contacting technical support on this issue, I was told that this pulse width was too short to always detected by the 6601, but can still go ahead and give it a try.  Basically, if everyone is familiar with how to start with this configuration, ANY help would be greatly appreciated.  As I said I'm all new to LabView and am currently spend all my spare time reading manuals and help files.

    Please let me know if you need any kind of information to make me understand what I'm doing.

    I would say something like this:

    A measurement period the registry account out of the entrance of the samples as well as gives the meter.  You will basically measure the 'period' of your sample clock fixed regarding ticks of the external photon signal.

    According to the downtime, you may need to re-read several samples per loop so that the software can keep up with the incoming data.  Also, the first sample is not useful because it represents the County between the software from the task of entry of the meter and the first clock signal - you should disregard/erase the first sample (or if you want you can set up a trigger to begin arms).

    To do the same thing by using an edge County task would require using both the sample clock AND a counter reset signal - this not is not supported on 6601/6602 (even if it would be possible to set it up that way on a device of STC - 3 as a series of X).

    Best regards

  • Counter data of blackBerry Smartphones

    Can someone tell me if the Blackberry 8110 has a counter of data so I can see how many bytes have been sent or received?   I can't find one anywhere on the phone.   If there isn't one, is there more that I can control what is my use of the internet?

    Thank you

    There is no option to track usage of the BlackBerry smartphone data. Download application Mini Moni to your phone to track the use of the data.

  • Summary of resources and Performance empty data?

    Hi guys,.

    I have recently implemented a new host, G9 DL380 running ESX 5.1, 5.1 VSphere which showed already performance data in summary/resources and graphics in the performance section, but in the last two weeks, I noticed his is no longer showing any settings at all.Capture.PNG

    Capture1.PNG

    I did some reading, some say to reboot the host, but I can't afford any downtime with this to be honest. In addition, others have said to check the time that this can cause problems, the system time is fine, but ILO time is an hour out there, but I didn't think it would affect it?

    Anyone would be able to shed light on why its happening? as I said, it worked very well, but obviously not. I'm a very new starter to VMware, so if someone could let me know laymans in terms, that would be great.

    Hope to hear from someone soon

    See you soon

    Paul

    So he did not solve your problem?

  • vCenter explanation of Performance counter

    Hello people,

    I'm a little confused with the performance graph in vCenter. I have HP Proliant BL460C with 8 X 3 GHz cpu. Of which I assigned 2 cpu's to a virtual machine. Now, when I go to the graphics performance and refine the use of the processor in MHz it shows maximum CPU in MHz as 4000. In my view, that it should be 6000 MHz.

    Can someone please explain this? or I do something wrong?

    untitled.JPG

    The side MHz of the graph changes depending on the virtual machine CPU usage. This is not say that 4000 is the max, but rather keep the graphic scaling with the data that is relevant.

    It can be confusing when using MHz and % as the side % will always go up to 100, but the side MHz will not always up to the value x vCPU MHz Jepp.

  • Compression and query performance in data warehouses

    Hello

    Using Oracle 11.2.0.3 have a table made large index bitmap with dimensions would reveal.

    Understanding bitmap indexes are compressed by default, so assume it cannot compress more.

    Is this correct?

    You want to try to compress the large fact table to see if this will reduce the IO on the readings and so give performance benefits.

    Speed ETL fine want just to increase the performance of the report.

    Thoughts - someone has seen significant gains in data warehouse performance report with compression.

    In addition, current PCTFREE on table 10%.

    Insert as only tabel considering making this 1% to redesign performance report.

    Thoughts?

    Thank you

    Yes, you can't compress bitmap indexes, they are already compressed.

    Yes, Compression (obviously depends on the type of data) reduced definetely e physics / s so improves performance. We saw this in our environment.

    There ONLY inserts and updates, you can go with pctfree 0, you need to book ANYTHING for updates.

  • Performance tab data - not available

    I am running vCentre 4.0.0 with SQL Server 2008 installed on the same server. I am able to view the summary of 1 day for all virtual machines and hosts, but when you try to look at the other options, I get a message indicating that no data is available. When you go to advanced options, the received message is "performance data are currently not available for this entity."

    Concerning

    Dan

    Verify that SQL Server agent is running.

  • Problem of interactive report performance through data link

    Hi gurus,

    I have an interactive report that retrieves values from two joined tables, all two places on the same remote database. It takes 45 seconds to complete (refresh) a page after the issuance of a search. If I take the actual selection that is generated by the apex (the one with count (*) ()...) and run it from sql environment, it takes 1 or 2 seconds. What on Earth consumes the rest time and how to speed this up? I would like to awoid, create and maintain local if possible materialized views.

    Concerning
    SAMO

    Hello

    APEX should normally return the full result for the use of paging (where you put something in the sense to see the x - y of z), it changes, or the maximum number of lines can greatly affect performance.

    The site led indicator would need to refer in the name of the view, but can be a little finicky with that sort of thing. The suspicion of materialization only works for requests under weighted (in a ' WITH bla AS (SELECT / * + MATERIALIZE * / * FROM etc. etc.)). They tend to materialize in any case and its better not to use advice like this for production code unless there is absolutely no other choice, but just sub factoring without advice can often have a profound effect on performance. For example

    WITH a AS
    (
     SELECT c1,
            c2,
            c3,
            c4,
            c5
     FROM schema1.view1)
    , b AS
    (
     SELECT c1,
            c2,
            c3
     FROM schema1.view2)
    SELECT *
    FROM a, b
    WHERE a.c5 = b.c3
    

    Can produce a different plan or even just sub factoring one of the outside tables can have an effect.

    You need to try things here and experience and keep watching the execution plans. You must also replace fetch of row of toads to be all 9 to get a real idea of the performance.

    Let me know how you go.

    See you soon

    Ben
    http://www.munkyben.WordPress.com
    Don't forget to mark the answers useful or correct ;)

    Published by: Munky on September 29, 2009 13:41

  • Performance/Oracle data types

    Does anyone know how the data types can affect the performance of SQL queries? I would particularly like to know NUMBER, VARCHAR2, and DATE.

    You use the appropriate data type for the data being stored, end of story. Any hypothetical gains you are trying to do by using a data type 'faster' is deleted by bugs or performance issues using the data.

Maybe you are looking for