Motion Control and Motor Drives

cancel
Showing results for 
Search instead for 
Did you mean: 

flex_config_inhibit_output parameter help

I need help understanding the "axis" and "enable" parameters in the above command of Flexmotion. According to the documentation they are u16's. why is that when there is only at most 8 axes. i assume you choose the axis number you want to configure and it is not an axisMap. also, what value is used in the enable parameter? is a non-zero taken as enable?
I have noticed that the axis parameter is defined as a u8 in the FlexMotn.h which doesn't align with the NI-Motion Function Hep documention.

Can anyone clear this up for me? is there a later version of the documentation? (Ver 6.1.2)
0 Kudos
Message 1 of 3
(3,290 Views)
The Axis parameter is a U8, not a U16, and this is done accounting for future products that could have mode axes in them. All of the answers to the questions you are asking are available in the attached NI-Motion C reference help file.
0 Kudos
Message 2 of 3
(3,290 Views)
The file you attached is that same as the one i was using.
It you look at the flex_config_inhibit_output command i was talking about, you will see it lists the Axis parameter as a u16. That aside, it doesn't give any more information as to what values need to be used for the enable parameter. The enable parameter is definately a u16 but there doesn't seem to be any detailed information.
0 Kudos
Message 3 of 3
(3,290 Views)