You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Problem

These errors occur when connecting a Joystick to be used with Automation-1. These errors may be more frequent with third-party joysticks, as they may have different configurations for buttons.

ERROR 1: The specified I/O number is not valid.

ERROR 2: The joystick interlock input is open.

Solution

Both of these issues can be resolved by configuring parameters for the Joystick. The choice of which input to configure for a joystick with less than three buttons is up to the user, but the remaining inputs must be configured.

  1. In Automation-1 Studio, navigate to the Configure tab and then into Tasks>Joystick
  2. Scroll all the way down to Inputs, and locate the following parameters:
    1. JoystickAxesSelect - Selects the next axis/pair of axes to be actively controlled by the joystick
    2. JoystickInterlock - Returns control of the axis from the joystick. 
    3. JoystickSpeedSelect - Selects the speed of the axis
  3. Click the pencil next to each, set the Input Type to Drive Digital, and choose the axis, like so:                         

 


Once configured, each of these parameters will change to a long, seemingly random number. This is normal, as long as they're set to drive digital, the I/O and Interlock errors should be cleared.

If the Interlock is not configured or not mapped to a button, the only way to pass control of the axis away from the joystick is to abort motion on that axis.

If you are using a third party joystick and the joystick is not behaving as expected, consult your joystick's manual for voltages and confirm JoystickInput0MaxVoltage and JoystickInput0MinVoltage are set accordingly.




  • No labels