Use smFastUpdateCycle call for controlling multi-axes system

Hi all,

I have been using smFastUpdateCycle to set/read the velocity setpoint/encoder position with a IONI 1-axis board and it worked pretty well.

But when I tried to use a IONICUBE board (with 2 IONI cards installed) to do the setting and reading using smFastUpdateCycle, I got a serious overhead. I simply called the function twice with different node address, something like:

  smFastUpdateCycle( mBushandle, 
                             1, 
                        write1_1, 
                        write2_1, 
                        &read1_1, 
                        &read2_1 );

  smFastUpdateCycle( mBushandle, 
                             2, 
                        write1_2, 
                        write2_2, 
                        &read1_2, 
                        &read2_2 ); 

Has anyone also tried to control multiple axes with this command and encountered similar issue?

Yes, we are doing that for many axis and it has worked as expected. What do you mean by overhead?