set_standard_digital_input_action(port, action)

Using this method sets the selected standard digital input register to either a "default" or "freedrive" action.

See also:

  • set_input_actions_to_default
  • set_configurable_digital_input_action
  • set_tool_digital_input_action
  • set_gp_boolean_input_action

Parameters

port: The standard digital input port number. (integer)

action: The type of action. The action can either be "default" or "freedrive". (string)

Example command: set_standard_digital_input_action(0, "freedrive")

  • Example Parameters:
    • n is the standard digital input register 0
    • f is set to "freedrive" action