EPOS4MATLAB icon indicating copy to clipboard operation
EPOS4MATLAB copied to clipboard

Value Range Error when selecting several modes

Open JB515 opened this issue 3 years ago • 0 comments

Hi, I'm trying to put my motor into current mode but get a "Value range error" when calling the SetOperationMode() function for CurrentMode. Minimal example below:

Motor1 = Epos4(1,0); Motor1.SetOperationMode(OperationModes.ProfileVelocityMode);

I am using the library with Matlab2019b and MinGW 19.2.0 with the MATLAB add-on. Additionally, I have found the same error when setting PositionMode and VelocityMode (ProfilePositionMode and ProfileVelocityMode both work fine).

JB515 avatar Apr 29 '21 15:04 JB515