Interval timer

Hi everybody, i need help!!!!!!!!! i have to measure the speed of a flywheel engine, could anybody tell me what cDAQ module i need? i think i need a counter-timer controll, or something like interval timer. a module that generates a costant 10MHz frequency with a timer.
pollon
Attachments:
Timer counter.doc ‏29 KB

Hello Pollon,
you can use any digital input hardware timed module, and use it as a counter for frequency measurements. 
Here's a link to a tutorial that explain how frequency measurements work and how to configure you cDAQ:
How to Make a Frequency Measurement
I'll suggest you to call us at National Instruments Italy for more details about your purchase. The telephone number is 02/413091.
Best regards,
Andrea N.
Andrea N.
Systems Engineer ATE & RF - Mediterranean Region
National Instruments Italy

Similar Messages

  • How to set the interval time in the   JFormattedTextField? Pls Contribute..

    Hi Frienz,
    Hi have a following code in which i want set the interval time for the TextField by 15 min
    So how it is possible please tell me out.
    DateFormatter frmtr = new DateFormatter();
                   SimpleDateFormat sdf = new SimpleDateFormat("HH:mm");
                   frmtr.setFormat(sdf);
                   frmtr.setAllowsInvalid(false);
                   DefaultFormatterFactory factory = new DefaultFormatterFactory(frmtr, frmtr, frmtr);
                   fmtToTime.setFormatterFactory(factory);

    AFAIK there is no easy (pure java) way: either you exec something (depending on your paltform) or use native code. Appropriate privileges will be necessary.

  • How to tune the interval time of keyRepeated

    Hi, I use keyRepeated to deal some keyboard events. But I want to adjust the frequency of keyRepeated event to be higher/the interval time to be smaller(the default is 100ms), how can I ? Thx

    Yes, it's a choice. If j2me can't provide it to u, so do it yourself! :-). Oh, If there is no way to do it surely, I 'll try this way. Thanks for your response.

  • Is it possible to Change the pooling interval time in XI3.0 or XI3.1

    Hi,
    For every 15 sec the CMS will check the scheduled jobs status and act accordingly ,by default the value will be 15 sec now We want to change the pooling interval time to 1 min.
    -- Where do i have to change the pooling interval time.
    -- Is it possible to change the value or not.
    Please help..
    Thanks.

    Hi Collin,
    Could you le me know the resolution
    Regards
    Alan

  • Run Ping cmd in interval time???

    hi all experts,
    I have a projrect is: I want to test some device in my network is die or not by using ping command. My purpose is run Ping cmd in interval time (for example 10 s). And I want to write a application (not applet).
    Can you tell me how do I do "my program is automatic run Ping cmd in interval time"?.
    Thank you for you help in advance.

    Runtime.exec()
    Timer
    And lots of other bad choices, too. You know, you could search the board, but I surely don't mind if you don't. A fresh answer to "how to ping in Java" is much better than 300 old ones.

  • Interval timer for nano

    I got my nano to run with but I really want an interval timer to let me know when a min or so has gone past. I have an app on my Iphone that can do it. Is there anything I can do to have something like this for my nano?

    try this application http://interval-timer.com

  • Setting the slideshow interval timer

    Does anyone know of a way to change (increase) the length of time that slideshow displays each photo? I have 2 or 3-line captions on my photos and viewers are complaining that there's not enough time to read the caption before the photo changes. I know they can pause or view photos individually ... but its nice to let viewers choose to sit back and watch my latest holiday pics without a whole bunch of mouse clicking.
    It seems logical that this interval should be user-changable and I've looked through all the documentation and the Inspector panes, can't find anything. Any ideas out there?
    How about an Apple feature upgrade coming in 2.0.2 perhaps (hint hint)?

    I could not readily find this file anywhere on my computer, I should be specific that I am using the Slideshow function build into iWeb; turned on by going to Inspector > Photos and selecting the first check-box "Emable Slideshow" and I have the last two Appearance choices selected (captions and full-screen).
    Still looking for the answer ... will try to find the file you noted, but failed so far.

  • Conversion of Interval - Time

    Hi all,
    I am not able to convert this particular Interval 8d3h18m42.185s
    into MINUTES only..
    I want the entire Interval to be converted into MINUTES only.
    I tried to find out certain methods in the Fuego API but none were really helpful..
    Does anybody know how to convert this entire Interval into MINUTEs only?

    Yes - it did not used to work that way, but it definitely does now. Sure you've done this, but try this in case you haven't.
    Get the number of days using "yourIntervalVariable.days" and convert that to minutes and then add that to the value in "yourIntervalVariable.minutes"
    difference as Interval = Interval.valueOf(t : "8d3h18m42.185s")
    days as Int = difference.days
    minutes as Int = difference.minutes + (days * 24 * 60)
    display minutesDan

  • To write data into TDMS at a interval time

     Hi, I am developing sensors (mass flow controller, thermocouple etc) and uses DAQ to read the data. Then I write the data into TDMS format.
    The problem is I need to read the data at 1sec interval but write the data into TDMS format in 10sec interval. 
    I developed the vi in a while loop which I set the timing to be 5s while I figure the sampling rate of the DAQ Assistant to 1sec. But both read and write have the speed of 5s. 
    Please kindly share your opinion.
    Thanks and regards.

    Blueberet wrote:
    I developed the vi in a while loop which I set the timing to be 5s while I figure the sampling rate of the DAQ Assistant to 1sec. But both read and write have the speed of 5s. 
    What do you exactly mean by this? Is it possible for you to post a snapshot of version of your code that isolates the issue?
    Adnan Zafar
    Certified LabVIEW Architect
    Coleman Technologies

  • Interval time to unable dbconsole

    Hello,
    My dbconsole is started then I work with it 2 minutes and after I can not access to it. So I stop the dbconsole and started it after 2 minutes again I can not access.
    IS there a parameter that I can modify to avoid this?

    Try:
    http://pondini.org/TM/Troubleshooting.html

  • Note: Due to heavy load, the latest workflow operation has been queued. It will attempt to resume at a later time

    Dear all,
    sorry for opening another thread on this.
    I think I have a performance issue with workflows attached to document sets in SharePoint. And I say “I think” because people keep telling me that this is the way it just is.
    The user creates a new document set, which triggers a workflow in which the user has to confirm/review/approve a series of tasks. The time it takes from clicking the OK button on those task form to the workflow status moving to the next step is about 4 seconds.
    And visiting that status page within those 4 seconds brings up the infamous “Note: Due to heavy load, the latest workflow operation has been queued. It will attempt to resume at a later time.” message.
    Hitting Refresh in the browser after those 4 seconds will make the new workflow status appear and the red text go away.
    Is that normal? Is that the performance that everyone else is seeing as well?
    I struggle to see why simply moving a workflow from one task to another should take that on a machine that isn’t doing anything else at the time.
    (1)   
    I have a standalone (non-clustered) SharePoint box, 4 CPUs, 8 GB of memory, more than half of that available, acting as application server and wfe; only the database is on different box.
    (2)   
    The CPU only goes up to 18 or 19%, so CPU does not seem to be the bottleneck. Half the RAM is also still free.
    (3)   
    The workflow is designed with Nintex, and has about 9 flexi and review tasks – the last 2 of them in a loop iterating over typically 3 or 4 items.
    (4)   
    Looking at the logs it looks like the processing in Nintex only takes about 1 second – I don’t know where the other 3 seconds are going.
    (5)   
    There is nothing obvious in the logs.
    (6)   
    We’ve looked at all the “theoretical” improvements around throttling and batch sizes etc. – none of them appeared make any difference. And the workflow is so small that it looks like my tasks gets executed straight away. The problem appears
    to be that the execution takes too long(?) and therefore has not finished by the time the page get redrawn.
    (7)   
    I am running perfmon and I can e.g. see one(!) workflow being loaded into memory – as expected as I am the only user.
    (8)   
    I am seeing a total of 3(?) SQL queries being executed(?). I get the Bytes Sent/sec spiking at 25K, and Bytes received at 18K. But is this good or bad or a bottleneck?
    Where do I take it from here?
    I have been told that “[…] most customers have no issue with this as they are used to the way SP operates and it can be slow at times.” Is it really that bad?
    If it is worth watching more performance counters then I’d need to know what to compare them to.
    Is there something else I am missing?
    Thanks
    Martin

    Hi,
    Before considering an additional hardware try to change following configurations for workflow:
    Increase Throttle Size
    Increase Batch Size
    Time Out
    Workflow Timer Interval
    AutoCleanUpDays
    Increase Throttle Size
    The Workflow throttle setting controls how many Workflows can be processing at any one time on the entire server farm. By increasing the throttle it will allow the number of Workflows execution or can be initiated at a time.
    Use below PowerShell command to get the current Throttle Size:
    Get-SPFarmConfig | Select WorkflowPostponeThreshold
    Use below PowerShell command to set new Throttle Size:
    Set-SPFarmConfig -WorkflowPostponeThreshold 100
    Increase Batch Size
    This is the size that determines number of events processed for a single Workflow instance. Default value is 100, but it can be range from 1 to any number.
    Use below PowerShell command to get the current Batch Size:
    Get-SPFarmConfig | Select WorkflowBatchSize
    Use below PowerShell command to set new Batch Size:
    Set-SPFarmConfig -WorkflowBatchSize 200
    Time Out
    This decides the time out of the Workflow event. The default value is 5 and can be any integer. The time is in minute.
    Use below STSADM command to get the current Time Out value:
    stsadm -o getproperty -pn workflow-eventdelivery-timeout
    Use below STSADM command to get the current Time Out value:
    stsadm -o setproperty -pn workflow-eventdelivery-timeout -pv “15″
    Workflow Timer Interval
    This setting is applicable at Web Application level and not the farm level. The workflow timer interval specifies how often the workflow SPTimer job fires to process pending workflow tasks. This interval also represents the granularity of delay timers within
    your workflow. If a timer is set to delay for one minute, but the interval timer fires only every five minutes, the workflow delays for five minutes, not one minute.
    Use below STSADM command to get the current Workflow Timer Interval value:
    stsadm -o getproperty -pn job-workflow -url <Web Application Url>
    Use below STSADM command to get the current Workflow Timer Interval value:
    stsadm -o setproperty -pn job-workflow -pv “Every 10 minutes between 0 and 30″ -url <Web Application Url>
    Here is the url for reference :
    http://praveenkasireddy.wordpress.com/2013/06/14/workflow-due-to-heavy-load-the-latest-workflow-operation-has-been-queued-it-will-attempt-to-resume-at-a-later-time/

  • Due to heavy load, the latest workflow operation has been queued. It will attempt to resume at a later time.

    I have SharePoint 2010 Enterprise running SP1. Configuration is one SharePoint server in the farm and a SQL 2008 R2 database for the backend. Our user environment is 80 users with very little load on the SharePoint server. I have the workflow timer
    set to 1 minute.
    I have a SPD workflow that starts manually on a form library. Whenever I publish a new version of the workflow, the next time I start the workflow it takes the full minute to finish. If I click on the workflow status before it finishes, I see the message
    "Due to heavy load, the latest workflow operation has been queued. It will
    attempt to resume at a later time.". After the minute completes the workflow finishes.
    Here's the weird thing, the next time I start the workflow, it runs in a couple of seconds - almost instantly. I've tried up to 15 times after the inital publishing and everything seems to work fine on initiation.
    Well, that would be fine for me, however, I intermintantly get this heavy load message during task processes that are running inside the workflow. It's probably less than 5% of the time. It's really frustrating though so I appreciate some help. I'm look
    online and haven't found anything that describes my situation.
    Thank you in advance!

    Hi,
    Before considering an additional hardware try to change following configurations for workflow:
    Increase Throttle Size
    Increase Batch Size
    Time Out
    Workflow Timer Interval
    AutoCleanUpDays
    Increase Throttle Size
    The Workflow throttle setting controls how many Workflows can be processing at any one time on the entire server farm. By increasing the throttle it will allow the number of Workflows execution or can be initiated at a time.
    Use below PowerShell command to get the current Throttle Size:
    Get-SPFarmConfig |
    Select WorkflowPostponeThreshold
    Use below PowerShell command to set new Throttle Size:
    Set-SPFarmConfig -WorkflowPostponeThreshold
    100
    Increase Batch Size
    This is the size that determines number of events processed for a single Workflow instance. Default value is 100, but it can be range from 1 to any number.
    Use below PowerShell command to get the current Batch Size:
    Get-SPFarmConfig |
    Select WorkflowBatchSize
    Use below PowerShell command to set new Batch Size:
    Set-SPFarmConfig -WorkflowBatchSize
    200
    Time Out
    This decides the time out of the Workflow event. The default value is 5 and can be any integer. The time is in minute.
    Use below STSADM command to get the current Time Out value:
    stsadm -o getproperty -pn workflow-eventdelivery-timeout
    Use below STSADM command to get the current Time Out value:
    stsadm -o setproperty -pn workflow-eventdelivery-timeout -pv “15″
    Workflow Timer Interval
    This setting is applicable at Web Application level and not the farm level. The workflow timer interval specifies how often the workflow SPTimer job fires to process pending workflow tasks. This interval also represents the granularity of delay timers within
    your workflow. If a timer is set to delay for one minute, but the interval timer fires only every five minutes, the workflow delays for five minutes, not one minute.
    Use below STSADM command to get the current Workflow Timer Interval value:
    stsadm -o getproperty -pn job-workflow -url <Web Application Url>
    Use below STSADM command to get the current Workflow Timer Interval value:
    stsadm -o setproperty -pn job-workflow -pv “Every 10 minutes between 0 and 30″ -url <Web Application Url>
    Here is the url for reference :
    http://praveenkasireddy.wordpress.com/2013/06/14/workflow-due-to-heavy-load-the-latest-workflow-operation-has-been-queued-it-will-attempt-to-resume-at-a-later-time/

  • How can I disarm the counter in a specified time?

    I am using 6602 counter. I use 2 counters to perform "Buffered Period Measurement ". I use internal time base (20MHz) as the SOURCE, and wire the signal to the Gate. The counters are triggered by a trigger signal.
    Now I just want to stop counting the signal in a specified time after the counters triggered. After that time, even the input signal is still running,the counting must be stopped. How can I implement this purpose? I don't know how to disarm the counter when the counter are still running, and how to exactly determinate the stop time.
    Thanks for any advise. I have attach my present routine here.
    Attachments:
    counters.vi ‏192 KB

    Just to expand a bit on Justin's answer to outline a few particulars.
    You mentioned using 2 counters to capture buffered periods so I'm assuming that you'll enable triggering to guarantee that they both have the same start time. Note that in this scheme, element #0 of your array of buffered periods will represent the time from the Trigger edge until the first Gate edge.
    Since your description made it sound acceptable to ignore pulse periods occurring later than the interval of interest, perhaps you can collect data for a little longer than necessary, then reset the counters and trim off the periods that came in "too late" using 'Array Subset.' A quick-and-dirty way is to loop over each array of periods, performing a cumulative sum until it exceeds the specified data collection time interval. That'll tell you the length of the subset you need to keep.
    The hard part is that after starting the measurement, you'll need to poll task attributes/properties to determine when the trigger has been received. Only after that's been determined would you start keeping track of approximate time in software.
    There are ways to do the timing in hardware if you get more of the 6602's counters involved. Here's one way:
    1. First configure your 2 counters for buffered period measurement. However, instead of using the internal timebase for a Source, use another counter's output as a Source. Under DAQmx, the internal routing details are handled for you; under traditional NI-DAQ, you'll need to make explicit routing via RTSI.
    Note that in this scheme, these 2 counters don't need to be triggered.
    2. Next, generate a finite-duration pulse train at 20 MHz (examples can be readily found under LabVIEW help or this website). This pulse train should last for your data collection time interval, and will act as the Source signal for your period measurements. It is important that the period-measuring counters are started before the finite pulse train.
    The finite pulse train uses 2 counters -- one to generate the output pulse train at 20 MHz and a "helper" that produces a single pulse whose duration equals your data collection interval time.
    If you need to synchronize to some external trigger signal, you can set the "helper" counter to be triggered, but there'll be one subtle catch. The first period measurement in your buffers will not include the time from the external trigger signal until the beginning of the single "helper" pulse, i.e., the "delay" time spec for the pulse. You can either make this very very short and ignore it, or make it any convenient duration and then add it to the first period measurements. Be careful though: the timebase for this "delay" time isn't necessarily the same as the timebase used to measure periods.
    There's quite a bit of complication there, so let me suggest an easier way that assumes no need to synchronize to an external trigger. (I'll use DAQmx terminology, since the traditional NI-DAQ would get complicated again with explicit RTSI signal routing.)
    A. As describe in #1 above, configure your period-measuring counters to use a 3rd counter's output as the timing source terminal.
    B. After starting your 2 period-measuring counters, start up the 3rd counter to generate a continuous 20 MHz pulse train.
    C. After the 3rd counter starts, call the 'Wait (ms)' function from the Time & Dialog palette. Wait for slightly longer than your desired collection time.
    D. Read all buffered periods from the counters. You may need to first query each to find out how many are waiting to be read.
    E. Reset all 3 counters.
    F. Do the cumulative sum work on the two buffered period arrays to determine where each should be truncated.
    Note that step "C" above will leave you stuck while data is being collected. A small variation would be to read a reference time ("Tick Count (ms)") right after starting your 20 MHz counter, then set up a loop that allows you to terminate early (logical OR of, say, "abort" button, data acq error cluster error, and time comparison). In that loop, you put a delay of maybe 50-200 msec using "Wait (ms)."
    "Wait (ms)" will output a tick count from which you subtract the reference time. When the difference exceeds your data collection time, you can exit the loop and continue with step D above.
    -Kevin P.

  • How to Select in a query considering key date of time-dependent characteris

    Hi, Everybody
    I have a Infoobject called CONTROL. It can be tested during the year once, twice, three times,six times  or can be not Tested.
    The Characteristic that contain the number of  test that the Control will be tested is time dependent.
    For example, one control can have the charcteristic to test twice in a year. Then 31/10/2007 it can turn "not test".
    I can have these records:
    CONTROL   VALID INIT       VALID END     TEST  
       XYZ         01/01/2007       31/01/2007       TWICE
       XYZ         01/02/2007       28/02/2007       TWICE
       XYZ         01/03/2007       31/03/2007       TWICE
       XYZ         01/04/2007       31/10/2007       TWICE
       XYZ         01/11/2007       31/12/9999       NO TEST
    I have a query that I should select the number of controls different of  "NO TEST" During the time selected.
    For example, if I select Interval Time = 01/01/2007 to 31/10/2007, This record should be Counted, because it was to be tested during this period.
    If I have selected Interval time = 01/11/2007 to 31/12/2007, it should not be selected because in this period, this control doesn´t able to be tested.
    If I put filter restricting NO TEST, the query should check the time of validity, but when I do that, BW doesn´t accept that because I can´t restrict by Validate Date.
    Anybody already had a problem like that?
    I´d like suggestions to solve that or comments that could explain that.
    Thanks a lot,
    Elisabeth
    Edited by: Elisabeth Umebara on Feb 2, 2008 12:21 AM

    Hi, everybody.
    I already solved this problem. Thanks a lot.
    For this I selected the controls in a exit variable that should be selected in from table time-dependent  from infoobject. This solution ran just for BWD and BWQ, because there was a lot of data in BWP.
    Then I made a first query that has selected the controls. After that, in the original query I defined the substitution path relating with the first query.
    Thanks again,
    Elisabeth

  • Select query, math and time

    Hi All;
    I had Table as below:
    UNIX_TIMESTAMP COUNT_VAL
    1185416330 3
    1185416355 2
    1185416356 8
    1185416357 2
    1185416359 0
    1185416361 1
    1185416362 5
    1185416363 7
    1185416367 0.16
    What I wanted to do is to get:
    1. Average in intreval time like 5 sec
    2. Highest value in interval time like 5 sec
    For case 1:
    The result should look like below:
    UNIX_TIMESTAMP COUNT_VAL
    1185416335 0.6
    1185416340 0
    1185416345 0
    1185416350 0
    1185416355 0.4
    1185416360 2
    1185416365 2.6
    1185416370 0.03
    For case 2:
    The result should look like below:
    UNIX_TIMESTAMP COUNT_VAL
    1185416335 3
    1185416340 0
    1185416345 0
    1185416350 0
    1185416355 2
    1185416356 8
    1185416363 7
    1185416367 0.16
    The query should have select between UNIX_TIMESTAMP range.
    So far I have no idea on how to do that. I really need help for above.
    Please advise. Thank you very much.
    Br
    -Khamal-

    Your Explanation is not clear atleast for me.
    Why your o/p starts with ...35, even if there is an i/p value = ...30.Why there is no
    o/p curresponding to ...60? (Second case)
    How is your range Defined..?From o/p it seems to be 26-30,31-35,36-40...(But no ..30 appears)
    Anyhow below sample code may give you a start .
    SQL> select * from test;
            TS        CNT
            30          3
            55          2
            56          8
            57          2
    SQL>  with t as
      2   (select min(ts) minimum,max(ts) maximum
      3    from test)
      4   select rn ts,sum(nvl(cnt,0))/5 avrg
      5   from test,(select minimum+(level-1)*5 rn
      6              from t
      7              connect by level <= ceil((maximum-minimum)/5)+1) t1
      8   where test.ts(+) between t1.rn-4 and t1.rn
      9   group by rn
    10   order by 1;
            TS       AVRG
            30         .6
            35          0
            40          0
            45          0
            50          0
            55         .4
            60          2
    7 rows selected.
    Message was edited by:
            jeneesh                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

Maybe you are looking for