03-25-2013 07:29 PM
Hi everyone!
Someone knows how can I develop a loop in the processor with a time loop lower than 1 ms, Im developing very simple loops only with the function ‘While until…’ (like the one that I attach), but I can’t achieve a loop with a time loop lower than 1 msec, if I write 100 microsec (by example) in the function ‘Wait until…’ I can’t go lower than 1 ms.
Instead of this, if I develop the loop in the FPGA of my compactRIO I can carry out the loop in 1microsec, (I do it writing 1 microsec in the ‘While until…’ and I can have 1 microsec in the time loop indicator).
I don’t know if this is something like the limit of the processor or simply I cant achieve my goal programing in this way.
Thanks in advance
Regards!
03-25-2013 08:15 PM
It is a limit of the OS.
03-26-2013 02:21 AM
Doing it in the processor of the CRIO I have the same problem.
It is also a limit?
Thanks!
Regards
03-26-2013 08:13 AM
I don't remember what the jitter of the cRIO RT OS is. But I think it is in the us range.
03-26-2013 08:34 AM
So, do you have any idea about how could I carry out this simple loop (by example) in the processor of my CRIO in 100usec for example, because if I establish 100 usec in the function 'While until,...' I cant achieve the 100 u sec in the time loop.
Thanks!
REgards
03-26-2013 08:48 AM
You probably really want a Timed Loop instead of a While Loop. All the timing information will be done by the loop for you then.