public void StopMotors( ) { // prepare command TeRKIceLib.MotorCommand command = CreateCommand( ); for ( int i = 0; i < Count; i++ ) { command.motorMask[i] = true; command.motorModes[i] = TeRKIceLib.MotorMode.MotorOff; } ExecuteCommand( command ); }