LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to develop a fast loop in the processor

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!

0 Kudos
Message 1 of 6
(2,725 Views)

It is a limit of the OS. 

0 Kudos
Message 2 of 6
(2,716 Views)

Doing it in the processor of the CRIO I have the same problem.

 

It is also a limit?

 

Thanks!

 

Regards

0 Kudos
Message 3 of 6
(2,694 Views)

I don't remember what the jitter of the cRIO RT OS is.  But I think it is in the us range.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 4 of 6
(2,671 Views)

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

0 Kudos
Message 5 of 6
(2,661 Views)

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.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 6 of 6
(2,655 Views)