Time-loop at 1 MHz

Hello everyone,

After if you are looking for something already post on the subject, I found a lot of interesting information but no directly who can answer my question.

I have LabView with time real extension.

So far, I managed to do a time loop at 1 kHz, but the timer, MHz 1 option is gray, so I can't choose, even with the module in real time.

Issues related to the:

-J' heard that MS windows is limited to approtimatly 55 ms of precision. Is this true? I don't understand really because in this case, why NEITHER made a 1 MHz if it is not possible for MS windows to do?

D ' other hand, how can I do the timer of 1 MHz for my time loop? Is there any process to do with the real time module to do?

Thanks in advance for your help.

Vivien

What you did shows no need to have a while loop clocked at 1 MHz.  Value your ongoing samples DAQ assistant and collect many or all that is available.  Analyze and and for the file.

A few tips.

Signals of fusion is extensible by dragging the border down, so you can merge all the signals in a single step instead of having several signals fusion.

You have the risk of rapid growth of the paintings that fill your memory using the concatenation of tunnels.

You'd be better off using an architecture of producer/consumer to obtain data in a loop, then go to another loop for analysis and writing in a file.

Tags: NI Software

Similar Questions

  • Windows 1 kHz time loop limit reason

    I use a loop timed in Labview2011. I'm not able to exploit the time loop above 1 kHz or less 1 msec .i read in a reply on the forum which, due to windows, it is not possible to operate above 1 kHz, but the reason no didn't to .i want to know why windows cannot function the time loop above 1 kHz?

    Yours sincerely

    Ali211 wrote:

    I work with Labview RT and I know targeting the PC configuration, but I don't know the reason behind windows limitaion of 1 kHz at max?

    Yours sincerely

    The question is the clock source.

    I used a hardware clock (a NI DAQ device with a built-in clock) to drive a loop timed at 2 kHz, but which is possible using a hardware clock.

    For cycle rates MHz, you mentioned above, you will need to move to an FPGA to get this type of perfromance.

    As to WHY?

    Enter the "way back machine" and setting the target date to about 1979, we find that PC came equipped with keyboards but a mouse is an add-on. If you have added a mouse, you have found that 50% of your CPU is used each time that you moved the mouse. Since all what we had were at the time not big thing BACK. Go forward in time to Windows 3.1 we always run on top of BACK, but we could now use a mouse.

    Now to give the impression that the mouse cursor has keep in touch with the mouse moves, interputs were firing repeatedly and put necessary screen to update as quickly as possible. THEN it turned out that using a clock SO that trigger a 1 KHz has been fast enough to deal with the mouse.

    Windows has been designed to use a 1 kHz clock and until MS decides to use a faster clock, we need lieve in this environment... unless you give up Windows and switch to another OS.

    Ben

  • Treatment in time loop with microseconds.

    Hello

    I am make only one application in Labview where I capture the image of a camera and image processing. The camera is communicate with the Board of Directors NI PCIe-1433 in the PC with the camera link. This device can operate with a rate of 2000 frames per second. For the treatment of each image in the pc I need a time loop that work with microseconds. The problem is that this time loop only works with MS Windows. If I use the real time module, can I configure this time looping with microsecond or is there another solution?

    Thank you

    Hi xisco,.

    with LabVIEW Realtime, you could create a loop with the order of a microsecond wait States.

    BUT:

    Why do you think you have need of these wait States? What is the purpose of these expectations?

  • Order to internal model with cRIO, synchronization of time loop

    Hello

    I work with control design Simulation & toolkit and I want to implement an internal model control to a real-time target. I want to implement my simulation (as an attachment) to the real target (cRIO-9024 OR cRIO-9112). I removed the transfer function of the process, I broke the line and I added my input/output of the cRIO modules. I put a 1ms, Euler ode solver step size and synchronize the time loop. Unfortunately it does not work properly. The loop decreased the speed a lot and I can't get 1 ms response time and, finally, a good answer for my system. This means that I can not 1ms response for loop? What is the problem of the computer, windows or hardware real-time or software? Simple or I did something wrong? All the advice you will enjoy.

    Kind regards

    Kamil


  • problems with timing in a time loop in a structure of the event

    Hello

    I'm using labview to control three motors stepper, running the three stages of different translation in different axes (X, Y and Z). Please see the attached VI, focusing on the structure of the event on the RIGHT side.

    In the Z axis, I am trying to run the engine for 5 seconds, after clicking on a button. I have attampted to do by adding a sub of elapsed time VI within a while loop, located in the tab 'Mouse before Z down' the structure of the event. A similar "elapsed time while loop" is also included in tab 'Z reverse the mouse down' the structure of the event.

    Separately these "elapsed time loops" work very well, BUT when I run a Z direction after another, say 'Z Reverse' and then 'Before Z' then they annoyingly interact. The calendar is gone, with the moment where we add, rather than rebooting.

    No idea how I can reset the time elapsed while loops? Or is there another method better do?

    Thank you very much

    Charlie

    charlieryan wrote:

    I take a wire from the 'i' of the while loop at the entrance of the Sub autoreset - VI of tiem will blink?

    No, connect you to the "reset", not "autoreset".

  • Use of LabView delay in a while loop instead of use the inherent instrument of time loop.

    I have a lmg500 sez I use. It has the possibility of continuous measurement of data, with a cycle of user control loop (always using a while loop but the delay comes from the instrument). The problem is that the time of the loop is not constant. Can I use a very short time (100ms) as the cycle of the instrument of the time, but use a longer period in time loop collect data?

    I know that many instrument offers the same capabilities, so the issue is relevant to each of them.

    Thanks for any help

    You're not going to be accurate with Windows. The time between samples should be that you have programmed the instrument (i.e. the time between each value in the table 1 d) but the rate of the iteration of a while loop always will be the subject of a jig on a bone not real-time.

  • Impossible to change "first frame" and play a time/loop/Single Frame

    I work is CS3 and problems by changing the first picture on a graphic symbol. When I type in a new number, it jumps back to the former. When I try to change, play a time/loop/single frame layout jumps to the previous setting. I'm trying to simply change this option on a keyframe in the layer of the symbol on the main stage. I have experienced several times, but failed to get the workaround for the moment. I know I can do what I want. In fact, I do a couple of points earlier in the instance of that symbol without problems. Any suggestions?

    Thank you.

    Tyler

    My guess is that somewhere, you have the box checked synchronization. It sometimes seems to do your graphics to synchronize their animation so that it is always the same and other times that he seems to have no effect at all. So I don't really know what it is supposed to do.

  • "1 MHz" for the name of the source on the time loop does not work on LabVIEW Real-time 9.0

    A Loopis Timed running as expected if a time source is manually chosen in the dialog box of configuration for "1 kHz" (first digit) and "1 MHz" (second digit). If the time Source name is set through the input of the channel "1 kHz", the loop is executed, too third figure). But if the input string is "1 MHz", the loop is not executed (last figure). The channel two are created by "create constant" on the entry of the loop to exclude typos. Is it possible to set the Source of a loop time timed through the input string to the real-time clock hard Mhz?

    OK, I was a bit confused by the difference between the behavior of error...

    Now, the question is quite clear. Aid for the timed loop provides the following regarding the Source of the calendar entry:

    Specifies the name of the synchronization source to use to control the structure. The source of synchronization must be created using the create synchronization Source VI on the block diagram or selected in the dialog box Configure the timed loop .

    So, I think that you have somewhere in your code a time Source.VI create if you pass "1 kHz" as the name. But you did not do this for your clock "MHz 1"...

    hope this helps,

    Norbert

  • How to increase the resolution of the timer loop?

    Hi all

    I use myRIO 1900 for my project of Active noise cancellation. I need to process the audio signal @44. rate of 1 kHz sampling and 50 samples per image. So, I use myRIO personality of broadband.

    Now my problem is simple, I want to measure the time each iteration (loop). I went for the number of cycles normal (msec). Used as a standard [https://decibel.ni.com/content/docs/DOC-11078].

    But my value of the indicator oscillates between 1 and 2. It is supposed to be 1.13msec, but how to find the exact value of timer?

    I think, I can't increase the resolution of tick count (msec) as it is by default is 1 ms resolution and I can't use the clock source external I use myRIO.

    Help me calculate the precise time of loop.

    Thank you.

    RT has express VIs for timers.  You can use this: http://zone.ni.com/reference/en-XX/help/371361J-01/lvexpress/tick_count/

  • change the time loop from 5ms to 250 ms?

    are there ways you can replace the loop time 5ms 250 ms? While the test is running?

    sample code in the version of labview 8 are welcome...

    Are you referring to a timed loop? You can simply change the value of dt using the settings on the right.

  • While time loop clock pc

    Hi guys

    I have a code that uses a while (currently) loop to open a file and read from time to time (in its simplest form... and... the details are not German to this post)

    The requirements are now tight and the loop (While or Timed?) should play the file once every two minutes based on the computer's clock (accuracy is not too important, certainly not milliseconds)

    for example, time is 11:35... Read file

    time is 11:36... .. do nothing

    time is 11:37... read the file

    time is 11:38... do nothing

    etc.   etc.

    In simpler terms (if possible)... have the loop to execute code inside every two minutes with the coming of the pc clock time sequence.

    I watched call loops (but never used them) and they seem to be a possibility

    Then, someone could show me an example of how best to do so.

    Thanks for your help and best regards

    Ray

    You forgot to update both get into the shift register.

  • a stop time loop by using the time difference of two counts of ticks

    Hi guys,.

    I'm writing currently a code test how much time does it take for a formula node perform its operation. The program uses some time to perform the calculation in a loop, and the program stops after having calculated when the number of cycles reached 10 seconds. The program then displays the number of iterations, he does it in 10 seconds.

    If at the beginning, I created 2 images of the structure of the sequence. In my first image, I have my original number, and as part of my second, I have my final number of cycles and the while loop. I used the subtraction function and divide the result by 1000 to get jet lag. Then using the comparison function, I put if output > 10 then the program must stop, to do this, I've linked out of the comparison function to the button stop inside the while loop.

    However, when I tried to run the code, the program just didn't run. That's why I created a similar program that puts the final number of cycles in the new image sequence. When I ran this code, the program never stopped.

    Guys do you have any idea what was wrong with my codes.

    Thank you!

    Erry

    Stream!

    In the two VI the Terminal stop of the while loop is controlled by a Boolean value whose source is outside of the while loop.  If this loop will be executed once, or forever, depending on the value of the Boolean value which is calculated before the loop starts and comes to the tunnel through the loop.

    I recommend you watch the LabVIEW tutorials online
    LabVIEW Introduction course - 3 hours
    LabVIEW Introduction course - 6 hours

  • My 'stop' boolean does not stop my time looping

    I don't know why, but my program just continues even after I press the 'stop' button in the front panel.

    I can't understand why. (I'm a newb extreme of LabVIEW, so apologies if this is something extraordinarily obvious.)

    There are two ways to fix this:

    1. Add another case of pylone2 value change event. Now put the pylone2 inside the new case and it wire to the Terminal to stop the loop.

    2. Add a constant to the connection of the clock in the upper left corner of the structure of the event.

    In solution 1, that the loop runs only if one of the triggers of the case, since you don't have an event for the stop button it will not play when it is pressed. In solution 2, adding a constant of millisecond to the timer, there will be a created event timeout, the loop will run at this pace of MS, then the stop button will be seen by the program. If that's all you have in your loop, then option 1 is probably the best to use.

    When I started with LabVIEW, I went through a lot of examples, take a look to find examples in the Help menu and take a look at the fundamentals - loops and Structures.

    I hope this helps.

    Ian

  • USB6009 limitation in time loop

    LabVIEW dear colleagues,

    Hello
    I have some problems with the hardware device USB6009 and the width of an analog voltage output time.

    The algorithm (see picture) are included in a while loop and can generate a pulse for about 50ms without problem. My problem is when I chose to reduce the time (duration) of the pulse)<50ms). in="" this="" case="" the="" number="" of="" peaks="" (voltage="" pulse)="" become="" episodic="" and="" no="" pulse="" appear="" if="" i="" select="">

    If I remove all other additional calculations in the while loop (for example the algorithm of the pulse is used only for calculation) of 4ms impulses can be observed.

    I think that the problem is due to the time to calculate every while loop. I mean that the examination to check if the elapsed time is carried out at each loop itteration. If the impulse may not appear if the pulse duration is less than the iteration of a loop.

    My question is how to create a pulse controlled length less than one, while the loop iteration (50ms)?

    I tried using the structure of the event, but the result is currently not good.

    Please, if you have an idea feel free to write a comment or a suggestion.

    Thanks in advance for your help,
    Best regards

    Just for other users,

    I tried the solution that proposed to johnsold. Gain in speed is very low and is about 1 ms.
    If the frequency is not the most important parameter, add module of simple material cut to the width of the signals send after the USB6009 could solve the problem partially.

  • Why my calculation at the time loop repeats only once?

    I have a series of simple calculations (multiply, divide, add, subtract) occurring in a while loop based on input data on the front panel of the user. The results are then connected to local variables that alter the parameters of a signal generator in one another while loop.

    The while containing the iteration of repetitions one calculation, unless I turn the button "Highlight execution" in which case it repeats until the loop is stopped as I expect. With the 'performance highlight' button and using a probe to check instead of the loop does not repeat itself.

    Another while loop with the signal generator allows to reproduce, but uses only the values which were concluded before the VI began to run.

    I need the VI to be recalculated each time a value on the front panel is changed and change the output of the generator signal accordingly.

    What Miss me?

    Because local variables are fixed on the LEDs that are in the position it after the end of the VI it runs correctly the first time and only executes a forward iteration to stop, all in a loop containing calculations, if you run the VI more than once. As long as the LEDS are in the off position when the VI is launched then everything works fine.

    Thanks for the advice, everyone.

Maybe you are looking for

  • Moviephone Web site no longer works correctly.

    Use moviephone plenty o Firefox. Just last week, when I enter the website, it does not at all. Various pop ups scroll. Tried to uninstall & addition of latest version, still no solution.

  • Portege R500 - configure the parser on the Port Replicator

    The system is Portege R500 with a port replicator Port MS Vista running. Port replicator has a Philips 19 "LCD monitor System has BEEN configured so that when the system was in the duplicator monitor 19 "inches would be active and system monitor is i

  • iMac freezing during execution of Safari

    It is a continuation of this thread.  Thought, it has been fixed.  Unfortunately, the gel is back.   I was wondering if this could be a hardware problem. Newspapers in the last two console freezes referenced com.apple.WindowServer.  More precisely: "

  • HP mini 110 computer: problem on computer hp compaq mini 110

    I need help on this problem. password check failed fatal error... system halted cnu923051t Thank you very much.

  • How to save a backup of 1.3 GB on several CD?

    I'm running Windows XP on a Dell Lattitude.  I use accessories Backup on the System Tools menu.  My backup is 1.3 GB and I would like to save this backup by using sequential 750MO CDs.  How can I save this backup on several CD?