WristConfigC61¶
- class WristConfigC61Client¶
- Canonical
kortex_api.autogen.client_stubs.Wrist.Config.WristConfigC61ClientRpc
- __init__(router, namespace=None)¶
Constructs a WristConfigC61Client with an initialized
RouterClient
and an optional namespace.- Parameters
router (RouterClient) –
RouterClient
used for the communicationnamespace (string) – Optional namespace on which to initialize the WristConfigC61Client (defaults to
None
)
- IsAlive(timeoutMs: int = 1000)¶
Returns
True
if the Service Server is detected online beforetimeoutMs
is expired,False
otherwise.- Parameters
timeoutMs (unsigned int) – The maximum time to wait for an answer from the server
- Return type
bool
- SetDigitalIOConfiguration(digitalioconfiguration, deviceId, options=RouterClientSendOptions())¶
- The
CONFIGURE
permission is necessary to call this RPC.Configures a digital I/O channel.The arm must be powered on and the wrist’s device identifier must be supplied as an input parameter.The channel.identifier parameter must be between 1 and 8.Filling the input_configuration parameter will set the pin as input and filling the output_configuration parameter will set the pin as output.- Parameters
digitalioconfiguration (DigitalIOConfiguration) –
deviceId (int) – Device’s Id called by rpc (required)
options (RouterClientSendOptions) – Router options for sending the message
- GetDigitalIOConfiguration(digitalchannelidentifier, deviceId, options=RouterClientSendOptions())¶
- The
READ_ONLY
permission is necessary to call this RPC.Retrieves a digital I/O configuration for a specific channel.The arm must be powered on and the wrist’s device identifier must be supplied as an input parameter.The identifier parameter must be between 1 and 8.- Parameters
digitalchannelidentifier (DigitalChannelIdentifier) –
deviceId (int) – Device’s Id called by rpc (required)
options (RouterClientSendOptions) – Router options for sending the message
- Return type
- SetDigitalOutputHighState(digitalchannelidentifier, deviceId, options=RouterClientSendOptions())¶
- The
OPERATE
permission is necessary to call this RPC.Sets a digital output channel to a high state.The arm must be powered on and the wrist’s device identifier must be supplied as an input parameter.The identifier parameter must be between 1 and 8.- Parameters
digitalchannelidentifier (DigitalChannelIdentifier) –
deviceId (int) – Device’s Id called by rpc (required)
options (RouterClientSendOptions) – Router options for sending the message
- SetDigitalOutputLowState(digitalchannelidentifier, deviceId, options=RouterClientSendOptions())¶
- The
OPERATE
permission is necessary to call this RPC.Sets a digital output channel to a low state.The arm must be powered on and the wrist’s device identifier must be supplied as an input parameter.The identifier parameter must be between 1 and 8.- Parameters
digitalchannelidentifier (DigitalChannelIdentifier) –
deviceId (int) – Device’s Id called by rpc (required)
options (RouterClientSendOptions) – Router options for sending the message
- GetDigitalIOInfo(digitalchannelidentifier, deviceId, options=RouterClientSendOptions())¶
- The
READ_ONLY
permission is necessary to call this RPC.Retrieves a digital I/O channel information.The arm must be powered on and the wrist’s device identifier must be supplied as an input parameter.The identifier parameter must be between 1 and 8.- Parameters
digitalchannelidentifier (DigitalChannelIdentifier) –
deviceId (int) – Device’s Id called by rpc (required)
options (RouterClientSendOptions) – Router options for sending the message
- Return type
- GetAllDigitalIOInfo(deviceId, options = RouterClientSendOptions())¶
- The
READ_ONLY
permission is necessary to call this RPC.Retrieves all digital I/O channel information.The arm must be powered on and the wrist’s device identifier must be supplied as an input parameter.- Parameters
deviceId (int) – Device’s Id called by rpc (required)
options (RouterClientSendOptions) – Router options for sending the message
- Return type
- SetAnalogIOConfiguration(analogioconfiguration, deviceId, options=RouterClientSendOptions())¶
- The
CONFIGURE
permission is necessary to call this RPC.Configures a analog channel.The arm must be powered on and the wrist’s device identifier must be supplied as an input parameter.The channel.identifier parameter must be either ANALOG_CHANNEL_C or ANALOG_CHANNEL_D.- Parameters
analogioconfiguration (AnalogIOConfiguration) –
deviceId (int) – Device’s Id called by rpc (required)
options (RouterClientSendOptions) – Router options for sending the message
- GetAnalogIOConfiguration(analogiochannelidentifier, deviceId, options=RouterClientSendOptions())¶
- The
READ_ONLY
permission is necessary to call this RPC.Retrieves a analog input/output configuration for a specific channel.The arm must be powered on and the wrist’s device identifier must be supplied as an input parameter.The identifier parameter must be either ANALOG_CHANNEL_C or ANALOG_CHANNEL_D.- Parameters
analogiochannelidentifier (AnalogIOChannelIdentifier) –
deviceId (int) – Device’s Id called by rpc (required)
options (RouterClientSendOptions) – Router options for sending the message
- Return type
- SetAnalogValue(analogoutput, deviceId, options=RouterClientSendOptions())¶
- The
OPERATE
permission is necessary to call this RPC.Sets a analog value on a channel.The arm must be powered on and the wrist’s device identifier must be supplied as an input parameter.The identifier parameter must be either ANALOG_CHANNEL_C or ANALOG_CHANNEL_D.An UNSUPPORTED_ACTION error will be thrown when setting an analog value to a pin configured as input.Warning : sending a dac_value over the maximum value will cause a fault to be reported by the Wrist and power off the arm.- Parameters
analogoutput (AnalogOutput) –
deviceId (int) – Device’s Id called by rpc (required)
options (RouterClientSendOptions) – Router options for sending the message
- GetAnalogIOInfo(analogiochannelidentifier, deviceId, options=RouterClientSendOptions())¶
- The
READ_ONLY
permission is necessary to call this RPC.Retrieves a analog input/output channel information.The arm must be powered on and the wrist’s device identifier must be supplied as an input parameter.The identifier parameter must be either ANALOG_CHANNEL_C or ANALOG_CHANNEL_D.- Parameters
analogiochannelidentifier (AnalogIOChannelIdentifier) –
deviceId (int) – Device’s Id called by rpc (required)
options (RouterClientSendOptions) – Router options for sending the message
- Return type
- GetAllAnalogIOInfo(deviceId, options = RouterClientSendOptions())¶
- The
READ_ONLY
permission is necessary to call this RPC.Retrieves all analog input/output channels information.The arm must be powered on and the wrist’s device identifier must be supplied as an input parameter.- Parameters
deviceId (int) – Device’s Id called by rpc (required)
options (RouterClientSendOptions) – Router options for sending the message
- Return type
- ClearFaults(deviceId, options = RouterClientSendOptions())¶
- The
OPERATE
permission is necessary to call this RPC.Clears Digital and Analog I/O faults.The arm must be powered on and the wrist’s device identifier must be supplied as an input parameter.- Parameters
deviceId (int) – Device’s Id called by rpc (required)
options (RouterClientSendOptions) – Router options for sending the message
- GetRS485Configuration(rs485deviceidentification, deviceId, options=RouterClientSendOptions())¶
- The
READ_ONLY
permission is necessary to call this RPC.Retrieves RS485 configuration.The arm must be powered on and the wrist’s device identifier must be supplied as an input parameter.The port_id parameter must be set to RS485_PORT_FLANGE.- Parameters
rs485deviceidentification (RS485DeviceIdentification) –
deviceId (int) – Device’s Id called by rpc (required)
options (RouterClientSendOptions) – Router options for sending the message
- Return type
- SetRS485Configuration(rs485configuration, deviceId, options=RouterClientSendOptions())¶
- The
CONFIGURE
permission is necessary to call this RPC.Configures RS485.The arm must be powered on and the wrist’s device identifier must be supplied as an input parameter.The port_id parameter must be set to RS485_PORT_FLANGE.- Parameters
rs485configuration (RS485Configuration) –
deviceId (int) – Device’s Id called by rpc (required)
options (RouterClientSendOptions) – Router options for sending the message
- GetPowerSupply24VState(deviceId, options = RouterClientSendOptions())¶
- The
READ_ONLY
permission is necessary to call this RPC.Gets the power supply +24V state.The arm must be powered on and the wrist’s device identifier must be supplied as an input parameter.- Parameters
deviceId (int) – Device’s Id called by rpc (required)
options (RouterClientSendOptions) – Router options for sending the message
- Return type
- SetPowerSupply24VState(powersupply24vstate, deviceId, options=RouterClientSendOptions())¶
- The
OPERATE
permission is necessary to call this RPC.Sets the power supply +24V state.The arm must be powered on and the wrist’s device identifier must be supplied as an input parameter.- Parameters
powersupply24vstate (PowerSupply24VState) –
deviceId (int) – Device’s Id called by rpc (required)
options (RouterClientSendOptions) – Router options for sending the message
- GetArmSerialNumber(deviceId, options = RouterClientSendOptions())¶
- The
READ_ONLY
permission is necessary to call this RPC.Gets the arm serial number.The arm must be powered on and the wrist’s device identifier must be supplied as an input parameter.- Parameters
deviceId (int) – Device’s Id called by rpc (required)
options (RouterClientSendOptions) – Router options for sending the message
- Return type