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?

Tags: NI Software

Similar Questions

  • 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".

  • What architecture for loop to hour of time timed with responsiveness front

    I cannot consider this application planning.  I was originally using an Event Driven Architecture with a State Machine in queue to analyse Panel UI changes and react accordingly.  (Something like the solution found here).

    Datalogging should be done in its own loop with the data passed by a queue.

    If you want, you can have multiple queues and several loops of consumer.

  • Loop in microseconds

    Hi all

    I'm still fairly new to labview and I need your help for a matter of timing:

    This is the material that I own:

    Chassis _NIPXIe-1073

    _NIPXI-6259 DAQ

    _NIPXI-6722 DAQ

    _NI5751 FPGA with digital module 2147 (analog input) and 2148 (e/s)

    The software I use is Labview 2012 64bits.

    Now, here's my question:

    For now, I use only the Council of NIPXIe-6259DAQ which has inputs and analog outputs.

    What I have to do is record an analog signal, a couple of matemathical asks about it and send it to an analog output. I do this in a while loop Labview (attached is my vi).

    However the process of acquisition and output signals must be performed in 1 microsedonds.

    For the time being with the NIPXIe-6259DAQ card when I try to run this kind of tasks, I can write only 10samples/ms... When I use probes in labview to check how many samples are written.

    Don't see an obvious solution to my problem with the material that I own?

    If not, should what kind of material I buy for my needs?

    Thank you very much

    Best regards

    For the recovery of the microsecond, I really think you want to go with an FPGA, something in the Councils of PXI R Series should work for you.  I do not trust Windows at all to be able to turn around that data in a microsecond, consistantly nevermind.

  • several loops with error handling and controll

    I have a project where I spin 4 loops at the same time and must stop all the loops with a stop button as well as all the loops if one of the loops will receive an error.

    Loop 1.

    Loop start

    control the other 3 loops

    Loop 2.

    Analog voltage reading

    Loop 3.

    Digital inputs to read

    Loop 4.

    Write digital output

    Someone knows how to do this?

    Two other methods not mentioned in the otherwise excellent document that mentioned Matt are the use of a global variable 'stop all' and a relative using a Global Variable of VIG/functional.  The reason to talk about, is that they can be used also stop 'detached' live, live which are defined to run asynchronously (and therefore a bit 'out of control') regarding the main VI.

    I use a "combination of ingredients" for some projects I'm developing using LabVIEW 2016 and its support of the channels.  For example, I use a Messenger channel to create something akin to a message in queue manager.  When the event loop detects that the exit button has been pushed back, it puts a Message "Exit" on the channel of Messenger and stops himself.  When the Message Loop sees "Exit", it sends one release Message who else has need to see (in one case, the producer of a producer/consumer model) and stops himself.  When the producer Gets the output Message, it puts a "last element is invalid" on the flow of the channel for consumers and stops himself.  When the consumer gets the message of the last element, he stops himself.  A magnificent waterfall.

    And I work (not yet 100% complete) how to extend this to start the asynchronous calls that do not (yet) support channels as easily...

    Bob Schor

  • How to exit while loop with delay schedule?

    I have a pretty heavy program that iteratively takes a series of measures from a number of channels using a variety OR-Switch and OR-DMM screws that I assembled as a result of various examples and several help pages. Each channel is sampled once during each iteration with data to be saved in a text file for later analysis, after it is imported into Excel. I added to the screen 'real time' indicators and charts to see what looks like running data.

    Each iteration is performed using a While loop with a delay timer, even if a previous version, I used a timed loop. Measures for the series of channels are collected with a loop For inside the While loop. The loop For includes screws which:

    1 cut the channel and wait as debounce.

    2 Initializes the DMM and passes the configuration information.

    3. wait for a while to make sure that the DMM is set.

    4. measure.

    5. close the DMM.

    6 disconnect all the switches.

    The terms of the election of the channels is ends in 15-20 seconds and I am currently collecting data every two minutes, so he spends "wait" time "collection". Each iteration of the loop For initializes and closes the DMM to avoid the hot switch.

    Other components of the program are configuration setting controls, etc. (in front of the While loop), a "current measurement" indicator and a writing-text inside the loop file operation For, several indicators of the iteration (inside the While loop, but outside the loop For) and a bunch of operations related to the grouping and table that provide graphics of groups of time vs measures.

    I don't know there are more elegant ways to perform many functions that I do and I'm not posting the VI here because I want to concentrate on what I know, it's a big problem with my program (for now!) - I can't figure out how to get out of the While loop. I tried the combinations of Boolean control, its conditions of latch and Stop / continuous if true to nothing does not.

    I want a 'Stop' button that ends the While loop, at the next opportunity, but it is not working properly, I think, because the stop button does not play with good timing, because the program runs either the loop For or the time delay at the beginning of the While loop. 'Next opportunity' can mean 'Immediately', 'at the end of the next iteration of the loop,"or"at the end of the next delay schedule." I think that if I get one of these scenarios to work, I can get an any of them to work!

    Help, please!


  • 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.

  • 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.

  • 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

  • Timed loops with visa

    Hi, I'm new in labview and I need help.

    I have a microscope shutter which is controlled by VISA.

    I want this component to open for X milliseconds (eg. 100 milliseconds) and then close, wait W dry (eg. 3 seconds) until it opens again expect the same milliseconds X so that it closes and wait W dry again and so on. And I want to repeat this cycle Z time (eg. 100 times). I use the shift operators in a time loop, but I can't stop the loop in the middle of the operation.

    Thank you

    Carlos

    Hi Carlos,

    Under the name of Raven suggested would be the way to go.  I have attached a first draft of this thing with the necessary documentation.  If something is not clear, feel free to ask.

  • 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.

  • Need an example of loop with sql statement in shell script values

    Hello

    I have to present a simultaneous program to each line of the table through script shell (only).

    The table has all the parameters required to pass to the concurrent program.

    I have trouble in a loop with the lines of sql statement results.

    Could someone give me an example of a shell script with a loop with the sql statement values.

    appreciate your time and your help.

    Thank you

    Ganesh

    Hello

    Here is a guide using 3 parameters:

    {

    sqlplus-s $OA_USR / $OA_PWD<>

    SET THE OFF POSITION;

    SET FEEDBACK OFF;

    SET LINESIZE 300;

    SELECT param1, param2, param3

    Of your_param_table;

    ENDOFSQL

    } | while reading line

    do

    If ['$line'] # line non-NULL

    then

    set $line

    param1 = "$1."

    param2 = "$2."

    param3 = "$3."

    # Pass parameters to a script, sql more

    sqlplus-s $apps_usr / $apps_pwd @SUBMIT_CONC_PROG.sql $param1 $param2 $param3

    FI

    fact

    }

    In your SQL * more script you run 3 parameters into variables:

    declare

    VARCHAR2 (10) param1: = ' & &1';

    VARCHAR2 (10) param2: = ' & &2';

    param3 varchar2 (10): = ' & &3';

    .....

  • Pavilion dv6636 stuck in a reboot loop with no boot

    Hello

    I have a Pavilion dv6636 purchased on Oct / 2007 which saw a reboot loop with no boot. By pressing the Start button, I can see the hood leds on, power on (as well as the port for illuminated around blue AC adapter), HD led being turned on once and can hear the pilot DVD is powered and the fan turns, then, after about 10 seconds (while the screen is always black), he stops, remains off for 5 sec , then restarts, stuck in this loop. Experiences I've already done:
    -hard reset
    -reset of memory
    -stable memory locations
    -exchanged memories
    -started with memories (sounded a beep as expected)
    -had started with HD (continued with the same symptoms)
    -F8 or F2 keys pressed during startup (black screen and continued with the same symptoms)
    -F10 key during startup (by pressing F10, it does not shut down as usually does, but rest died, with black screen and rotation of the fan)
    -external monitor plugged in when you start (black screen and continued with the same symptoms)

    Same question occurred in about 4 months ago, but at that time, after break of a week I tried to start and has been a success. Not at the moment.

    Please, any thoughts of what could be the problem?

    Thank you

    Hello Emmanuelle,

    sounded pretty good!

    I got and my laptop is working normally after failed BIOS by following the steps you suggested.

    Now, I have updated the BIOS by the F32 (current release) version and is running successfully.

    Very well.  Thanks about.

  • Using repeat with... in... Loops with lists of properties

    I am using a loop "repeat the operation with the variable in the list" with a list of properties where properties are symbols, but it doesn't seem to work; It falls right through the loop. Exactly the same code works when passed a list of properties where properties are integers.

    Of after the description of function AW7 repeat with in:
    Quote:
    Repeat with X in the list repeats the instructions in the loop with each of the elements in a list. Each time through the loop, the function sets the next item in the list or the following in a property value to the specified variable. As Authorware estimated the list with each pass through the loop, the instructions that modify the list inside the body of the repetition can affect the loop. Authorware maintains a reference to the list of origin for the duration of the loop. This means that the list persists at least for the duration of the loop.
    Syntax:
    Repeat the operation with the variable in the list
    (s)
    end repeat

Maybe you are looking for

  • Slow down execution of the program for a home network

    Can anyone help? My Satellite Pro A60 short on my network and everything is fine but when I connect it to my network wireless home any program (and anyone) takes about 1 minute to open, once the open program this program will work fine and fast. If I

  • Satellite M40x-134: my cell phone tracking stolen

    My Satellite M40x-134 with serial # 65241250K was stolen from my car yesterday. How can I track through centers of Toshiba or any other method?

  • Why the node formula Eval gives only outputs 9?

    I am allowing the user to input so values and formulas he convert raw data to data acquisition, but output from the Eval formula node values give me only 9 values in table. I don't know why, because I'm him giving 16 formulas, 16 outputs variables, v

  • camera with ICS problem

    I finally got the update for ICS on my Neo V. everything works well but the unit photo, front camera work at all (screen shows orange) and back camera lags badly when I record something. all the solutions or should I wait for an update?

  • Media card reader disappears from leading to the card not being recognized under computer

    Original title: two years with media player card hardware/software problem? When I insert my card player media the G, H, I and J readers disappear which leads to the card is not recognized. If I completely shut down my computer, they come back and th