Discusiones sobre Productos NI

cancelar
Mostrando los resultados de 
Buscar en lugar de 
Quiere decir: 

RTOS using a Desktop PC

Hello,

 

I am very interested in knowing how much time is the minimum that a RTOS is able to do a while bucle. In spite of the fact that theoretically is 1us, I have reached only 5 ms without errors.

I  am using a DAQ PCI-6221 and a RTOS using a Desktop PC. I think that not being able to reach lower values is because of the limitaton of using a Desktop PC, could it be possible??

 

Thank you very much in advance.

 

0 kudos
Mensaje 1 de 2
2.769 Vistas

Hello,

 

The minimum loop rate depends on the CPU your RT Desktop is using. The best way to get to know the limitations of your system is testing it. If you have a piece of code, it is very easy to test it. Refer to the example in the image to benchmark your code in a RT system:

 

benchmarkRT.JPG

 

Un saludo.

0 kudos
Mensaje 2 de 2
2.754 Vistas