LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

cRIO-9073 scan mode speed

I am testing scan mode speed of a cRIO module.

It seems I cannot make it operate reliable under 4 ms loops.

I'm just reading 6 parameters and writing 7 digital outputs within the timed loop.

Is this to be expected from this hardware ?

 

Martin

0 Kudos
Message 1 of 3
(2,339 Views)

Hi Martin

 

There are many factors that we need to consider programmatically, for example if you are using a while loop, timed loop, a timing VI inside of the loop (wait, wait until next ms multiple, etc). also we need to keep in mind how is reading the parameter and writing the digital output if there is any dependency or code that need or is being executed in the middle.

 

Last but not the least as you said there might also be hardware limitations in order to confirm this we might need to know which modules you are using.

 

One way to determine which is the function that is taking longer to execute, or is delaying your application, is to benchmark a part of your code or the whole code. Take a look to this forum and keep in mind that in order to disable a part of the code without deleting the code is to use the diagram disable structure.

 

Regards

Esteban R.

0 Kudos
Message 2 of 3
(2,315 Views)

Hi Martin

 

There are many factors that we need to consider programmatically, for example if you are using a while loop, timed loop, a timing VI inside of the loop (wait, wait until next ms multiple, etc). also we need to keep in mind how is reading the parameter and writing the digital output if there is any dependency or code that need or is being executed in the middle.

 

Last but not the least as you said there might also be hardware limitations in order to confirm this we might need to know which modules you are using.

 

One way to determine which is the function that is taking longer to execute, or is delaying your application, is to benchmark a part of your code or the whole code. Take a look to this forum and keep in mind that in order to disable a part of the code without deleting the code is to use the diagram disable structure.

 

Regards

Esteban R.

0 Kudos
Message 3 of 3
(2,315 Views)