Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

cRIO 9074 - 50 us timed loop

Dear all,

I'm trying to run the attached VI (A void timed loop with a 50 us timer). Can somebody tell me why it doesn't work?

 

Best Regards,

Fabio

0 Kudos
Message 1 of 5
(6,149 Views)

Ciao Fabio,

 

potresti allegare il VI?

Grazie e buona giornata

 

A.P.

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

What I want is to run a timed loop @ 50us or less. Inside the timed loop (in the attached file) there is nothing (at the moment).

If I run that VI on cRIO 9074 I loose connection with the cRIO, If I run the same VI on sbRIO 9606 I haven't problems.

 

Vorrei runnare un vi composto da un timed loop avente una costante di tempo pari a 50us o meno. Nel VI che cerco di allegare c'è solo il timed loop senza alcuna operazione all'interno.

Eseguendo questo VI da sorgente, perdo immediatamente la connessione al cRIO. Se eseguo lo stesso VI su una sbRIO 9606 non ho problemi

0 Kudos
Message 3 of 5
(6,103 Views)

 

 

0 Kudos
Message 4 of 5
(6,100 Views)

Hello Fabio,

It all comes to the available memory on the devices. The sbRIO 9606 has 256 MB of DRAM and the cRIO-9074 has only 128MB. When you try to run your loop at that speed, the cRIO allocates all the resources for running at that speed, which does not leave any room for network connectivity. Try running a while loop without a wait function inside, you should experience the same behavior. If you want to go for <100 microsecond speeds on a cRIO-9074 you should use the FPGA and communicate at a lower rate to the RT side.

 

I hope this helped.

Javier Ruiz - Partner at JKI
jki.net
vipm.io
0 Kudos
Message 5 of 5
(6,074 Views)