@zaber/motion 9.0.0 → 9.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +2 -81
- package/dist/binding/wasm/zaber-motion-core.wasm +0 -0
- package/dist/lib/ascii/alert_event.d.ts.map +1 -1
- package/dist/lib/ascii/alert_event.js +2 -1
- package/dist/lib/ascii/alert_event.js.map +1 -1
- package/dist/lib/ascii/all_axes.js +2 -2
- package/dist/lib/ascii/all_axes.js.map +1 -1
- package/dist/lib/ascii/axis.js +2 -2
- package/dist/lib/ascii/axis.js.map +1 -1
- package/dist/lib/ascii/axis_group.js +2 -2
- package/dist/lib/ascii/axis_group.js.map +1 -1
- package/dist/lib/ascii/axis_identity.d.ts.map +1 -1
- package/dist/lib/ascii/axis_identity.js +2 -1
- package/dist/lib/ascii/axis_identity.js.map +1 -1
- package/dist/lib/ascii/axis_settings.js +2 -2
- package/dist/lib/ascii/axis_settings.js.map +1 -1
- package/dist/lib/ascii/axis_storage.js +2 -2
- package/dist/lib/ascii/axis_storage.js.map +1 -1
- package/dist/lib/ascii/axis_type.d.ts.map +1 -1
- package/dist/lib/ascii/axis_type.js +2 -1
- package/dist/lib/ascii/axis_type.js.map +1 -1
- package/dist/lib/ascii/can_set_state_axis_response.d.ts.map +1 -1
- package/dist/lib/ascii/can_set_state_axis_response.js +2 -1
- package/dist/lib/ascii/can_set_state_axis_response.js.map +1 -1
- package/dist/lib/ascii/can_set_state_device_response.d.ts.map +1 -1
- package/dist/lib/ascii/can_set_state_device_response.js +2 -1
- package/dist/lib/ascii/can_set_state_device_response.js.map +1 -1
- package/dist/lib/ascii/connection.js +2 -2
- package/dist/lib/ascii/connection.js.map +1 -1
- package/dist/lib/ascii/conversion_factor.d.ts.map +1 -1
- package/dist/lib/ascii/conversion_factor.js +2 -1
- package/dist/lib/ascii/conversion_factor.js.map +1 -1
- package/dist/lib/ascii/device.js +2 -2
- package/dist/lib/ascii/device.js.map +1 -1
- package/dist/lib/ascii/device_identity.d.ts.map +1 -1
- package/dist/lib/ascii/device_identity.js +2 -1
- package/dist/lib/ascii/device_identity.js.map +1 -1
- package/dist/lib/ascii/device_io.js +2 -2
- package/dist/lib/ascii/device_io.js.map +1 -1
- package/dist/lib/ascii/device_io_info.d.ts.map +1 -1
- package/dist/lib/ascii/device_io_info.js +2 -1
- package/dist/lib/ascii/device_io_info.js.map +1 -1
- package/dist/lib/ascii/device_settings.js +2 -2
- package/dist/lib/ascii/device_settings.js.map +1 -1
- package/dist/lib/ascii/device_storage.js +2 -2
- package/dist/lib/ascii/device_storage.js.map +1 -1
- package/dist/lib/ascii/digital_output_action.d.ts.map +1 -1
- package/dist/lib/ascii/digital_output_action.js +2 -1
- package/dist/lib/ascii/digital_output_action.js.map +1 -1
- package/dist/lib/ascii/get_axis_setting.d.ts.map +1 -1
- package/dist/lib/ascii/get_axis_setting.js +2 -1
- package/dist/lib/ascii/get_axis_setting.js.map +1 -1
- package/dist/lib/ascii/get_axis_setting_result.d.ts.map +1 -1
- package/dist/lib/ascii/get_axis_setting_result.js +2 -1
- package/dist/lib/ascii/get_axis_setting_result.js.map +1 -1
- package/dist/lib/ascii/get_setting.d.ts.map +1 -1
- package/dist/lib/ascii/get_setting.js +2 -1
- package/dist/lib/ascii/get_setting.js.map +1 -1
- package/dist/lib/ascii/get_setting_result.d.ts.map +1 -1
- package/dist/lib/ascii/get_setting_result.js +2 -1
- package/dist/lib/ascii/get_setting_result.js.map +1 -1
- package/dist/lib/ascii/index.d.ts.map +1 -1
- package/dist/lib/ascii/index.js +2 -1
- package/dist/lib/ascii/index.js.map +1 -1
- package/dist/lib/ascii/io_port_label.d.ts.map +1 -1
- package/dist/lib/ascii/io_port_label.js +2 -1
- package/dist/lib/ascii/io_port_label.js.map +1 -1
- package/dist/lib/ascii/io_port_type.d.ts.map +1 -1
- package/dist/lib/ascii/io_port_type.js +2 -1
- package/dist/lib/ascii/io_port_type.js.map +1 -1
- package/dist/lib/ascii/lockstep.js +2 -2
- package/dist/lib/ascii/lockstep.js.map +1 -1
- package/dist/lib/ascii/measurement_sequence.d.ts.map +1 -1
- package/dist/lib/ascii/measurement_sequence.js +2 -1
- package/dist/lib/ascii/measurement_sequence.js.map +1 -1
- package/dist/lib/ascii/message_type.d.ts.map +1 -1
- package/dist/lib/ascii/message_type.js +2 -1
- package/dist/lib/ascii/message_type.js.map +1 -1
- package/dist/lib/ascii/mock_device.d.ts.map +1 -1
- package/dist/lib/ascii/mock_device.js +2 -1
- package/dist/lib/ascii/mock_device.js.map +1 -1
- package/dist/lib/ascii/mock_peripheral.d.ts.map +1 -1
- package/dist/lib/ascii/mock_peripheral.js +2 -1
- package/dist/lib/ascii/mock_peripheral.js.map +1 -1
- package/dist/lib/ascii/oscilloscope.js +2 -2
- package/dist/lib/ascii/oscilloscope.js.map +1 -1
- package/dist/lib/ascii/oscilloscope_capture_properties.d.ts.map +1 -1
- package/dist/lib/ascii/oscilloscope_capture_properties.js +2 -1
- package/dist/lib/ascii/oscilloscope_capture_properties.js.map +1 -1
- package/dist/lib/ascii/oscilloscope_data.js +2 -2
- package/dist/lib/ascii/oscilloscope_data.js.map +1 -1
- package/dist/lib/ascii/oscilloscope_data_source.d.ts.map +1 -1
- package/dist/lib/ascii/oscilloscope_data_source.js +2 -1
- package/dist/lib/ascii/oscilloscope_data_source.js.map +1 -1
- package/dist/lib/ascii/paramset_info.d.ts.map +1 -1
- package/dist/lib/ascii/paramset_info.js +2 -1
- package/dist/lib/ascii/paramset_info.js.map +1 -1
- package/dist/lib/ascii/pid_tuning.d.ts.map +1 -1
- package/dist/lib/ascii/pid_tuning.js +2 -1
- package/dist/lib/ascii/pid_tuning.js.map +1 -1
- package/dist/lib/ascii/pvt.js +2 -2
- package/dist/lib/ascii/pvt.js.map +1 -1
- package/dist/lib/ascii/pvt_axis_definition.d.ts.map +1 -1
- package/dist/lib/ascii/pvt_axis_definition.js +2 -1
- package/dist/lib/ascii/pvt_axis_definition.js.map +1 -1
- package/dist/lib/ascii/pvt_axis_type.d.ts.map +1 -1
- package/dist/lib/ascii/pvt_axis_type.js +2 -1
- package/dist/lib/ascii/pvt_axis_type.js.map +1 -1
- package/dist/lib/ascii/pvt_buffer.js +2 -2
- package/dist/lib/ascii/pvt_buffer.js.map +1 -1
- package/dist/lib/ascii/pvt_call_action.d.ts.map +1 -1
- package/dist/lib/ascii/pvt_call_action.js +2 -1
- package/dist/lib/ascii/pvt_call_action.js.map +1 -1
- package/dist/lib/ascii/pvt_cancel_all_outputs_schedule_action.d.ts.map +1 -1
- package/dist/lib/ascii/pvt_cancel_all_outputs_schedule_action.js +2 -1
- package/dist/lib/ascii/pvt_cancel_all_outputs_schedule_action.js.map +1 -1
- package/dist/lib/ascii/pvt_cancel_output_schedule_action.d.ts.map +1 -1
- package/dist/lib/ascii/pvt_cancel_output_schedule_action.js +2 -1
- package/dist/lib/ascii/pvt_cancel_output_schedule_action.js.map +1 -1
- package/dist/lib/ascii/pvt_csv_data.d.ts.map +1 -1
- package/dist/lib/ascii/pvt_csv_data.js +2 -1
- package/dist/lib/ascii/pvt_csv_data.js.map +1 -1
- package/dist/lib/ascii/pvt_io.js +2 -2
- package/dist/lib/ascii/pvt_io.js.map +1 -1
- package/dist/lib/ascii/pvt_mode.d.ts.map +1 -1
- package/dist/lib/ascii/pvt_mode.js +2 -1
- package/dist/lib/ascii/pvt_mode.js.map +1 -1
- package/dist/lib/ascii/pvt_partial_csv_data.d.ts.map +1 -1
- package/dist/lib/ascii/pvt_partial_csv_data.js +2 -1
- package/dist/lib/ascii/pvt_partial_csv_data.js.map +1 -1
- package/dist/lib/ascii/pvt_partial_point.d.ts.map +1 -1
- package/dist/lib/ascii/pvt_partial_point.js +2 -1
- package/dist/lib/ascii/pvt_partial_point.js.map +1 -1
- package/dist/lib/ascii/pvt_partial_sequence_item.d.ts.map +1 -1
- package/dist/lib/ascii/pvt_partial_sequence_item.js.map +1 -1
- package/dist/lib/ascii/pvt_point.d.ts.map +1 -1
- package/dist/lib/ascii/pvt_point.js +2 -1
- package/dist/lib/ascii/pvt_point.js.map +1 -1
- package/dist/lib/ascii/pvt_sequence.js +2 -2
- package/dist/lib/ascii/pvt_sequence.js.map +1 -1
- package/dist/lib/ascii/pvt_sequence_item.d.ts.map +1 -1
- package/dist/lib/ascii/pvt_sequence_item.js.map +1 -1
- package/dist/lib/ascii/pvt_set_all_analog_outputs_action.d.ts.map +1 -1
- package/dist/lib/ascii/pvt_set_all_analog_outputs_action.js +2 -1
- package/dist/lib/ascii/pvt_set_all_analog_outputs_action.js.map +1 -1
- package/dist/lib/ascii/pvt_set_all_digital_outputs_action.d.ts.map +1 -1
- package/dist/lib/ascii/pvt_set_all_digital_outputs_action.js +2 -1
- package/dist/lib/ascii/pvt_set_all_digital_outputs_action.js.map +1 -1
- package/dist/lib/ascii/pvt_set_analog_output_action.d.ts.map +1 -1
- package/dist/lib/ascii/pvt_set_analog_output_action.js +2 -1
- package/dist/lib/ascii/pvt_set_analog_output_action.js.map +1 -1
- package/dist/lib/ascii/pvt_set_digital_output_action.d.ts.map +1 -1
- package/dist/lib/ascii/pvt_set_digital_output_action.js +2 -1
- package/dist/lib/ascii/pvt_set_digital_output_action.js.map +1 -1
- package/dist/lib/ascii/response.d.ts.map +1 -1
- package/dist/lib/ascii/response.js +2 -1
- package/dist/lib/ascii/response.js.map +1 -1
- package/dist/lib/ascii/servo_tuner.d.ts +5 -0
- package/dist/lib/ascii/servo_tuner.d.ts.map +1 -1
- package/dist/lib/ascii/servo_tuner.js +5 -3
- package/dist/lib/ascii/servo_tuner.js.map +1 -1
- package/dist/lib/ascii/servo_tuning_param.d.ts.map +1 -1
- package/dist/lib/ascii/servo_tuning_param.js +2 -1
- package/dist/lib/ascii/servo_tuning_param.js.map +1 -1
- package/dist/lib/ascii/servo_tuning_paramset.d.ts.map +1 -1
- package/dist/lib/ascii/servo_tuning_paramset.js +2 -1
- package/dist/lib/ascii/servo_tuning_paramset.js.map +1 -1
- package/dist/lib/ascii/set_state_axis_response.d.ts.map +1 -1
- package/dist/lib/ascii/set_state_axis_response.js +2 -1
- package/dist/lib/ascii/set_state_axis_response.js.map +1 -1
- package/dist/lib/ascii/set_state_device_response.d.ts.map +1 -1
- package/dist/lib/ascii/set_state_device_response.js +2 -1
- package/dist/lib/ascii/set_state_device_response.js.map +1 -1
- package/dist/lib/ascii/setting_constants.d.ts +12 -0
- package/dist/lib/ascii/setting_constants.d.ts.map +1 -1
- package/dist/lib/ascii/setting_constants.js +14 -2
- package/dist/lib/ascii/setting_constants.js.map +1 -1
- package/dist/lib/ascii/simple_tuning.d.ts +4 -0
- package/dist/lib/ascii/simple_tuning.d.ts.map +1 -1
- package/dist/lib/ascii/simple_tuning.js +7 -2
- package/dist/lib/ascii/simple_tuning.js.map +1 -1
- package/dist/lib/ascii/simple_tuning_param_definition.d.ts.map +1 -1
- package/dist/lib/ascii/simple_tuning_param_definition.js +2 -1
- package/dist/lib/ascii/simple_tuning_param_definition.js.map +1 -1
- package/dist/lib/ascii/stream.js +2 -2
- package/dist/lib/ascii/stream.js.map +1 -1
- package/dist/lib/ascii/stream_axis_definition.d.ts.map +1 -1
- package/dist/lib/ascii/stream_axis_definition.js +2 -1
- package/dist/lib/ascii/stream_axis_definition.js.map +1 -1
- package/dist/lib/ascii/stream_axis_type.d.ts.map +1 -1
- package/dist/lib/ascii/stream_axis_type.js +2 -1
- package/dist/lib/ascii/stream_axis_type.js.map +1 -1
- package/dist/lib/ascii/stream_buffer.js +2 -2
- package/dist/lib/ascii/stream_buffer.js.map +1 -1
- package/dist/lib/ascii/stream_io.js +2 -2
- package/dist/lib/ascii/stream_io.js.map +1 -1
- package/dist/lib/ascii/stream_mode.d.ts.map +1 -1
- package/dist/lib/ascii/stream_mode.js +2 -1
- package/dist/lib/ascii/stream_mode.js.map +1 -1
- package/dist/lib/ascii/streams.js +2 -2
- package/dist/lib/ascii/streams.js.map +1 -1
- package/dist/lib/ascii/transport.js +2 -2
- package/dist/lib/ascii/transport.js.map +1 -1
- package/dist/lib/ascii/trigger.js +2 -2
- package/dist/lib/ascii/trigger.js.map +1 -1
- package/dist/lib/ascii/trigger_action.d.ts.map +1 -1
- package/dist/lib/ascii/trigger_action.js +2 -1
- package/dist/lib/ascii/trigger_action.js.map +1 -1
- package/dist/lib/ascii/trigger_condition.d.ts.map +1 -1
- package/dist/lib/ascii/trigger_condition.js +2 -1
- package/dist/lib/ascii/trigger_condition.js.map +1 -1
- package/dist/lib/ascii/trigger_enabled_state.d.ts.map +1 -1
- package/dist/lib/ascii/trigger_enabled_state.js +2 -1
- package/dist/lib/ascii/trigger_enabled_state.js.map +1 -1
- package/dist/lib/ascii/trigger_operation.d.ts.map +1 -1
- package/dist/lib/ascii/trigger_operation.js +2 -1
- package/dist/lib/ascii/trigger_operation.js.map +1 -1
- package/dist/lib/ascii/trigger_state.d.ts.map +1 -1
- package/dist/lib/ascii/trigger_state.js +2 -1
- package/dist/lib/ascii/trigger_state.js.map +1 -1
- package/dist/lib/ascii/triggers.js +2 -2
- package/dist/lib/ascii/triggers.js.map +1 -1
- package/dist/lib/ascii/unknown_response_event.d.ts.map +1 -1
- package/dist/lib/ascii/unknown_response_event.js +2 -1
- package/dist/lib/ascii/unknown_response_event.js.map +1 -1
- package/dist/lib/ascii/warning_flags.js +2 -2
- package/dist/lib/ascii/warning_flags.js.map +1 -1
- package/dist/lib/ascii/warnings.js +2 -2
- package/dist/lib/ascii/warnings.js.map +1 -1
- package/dist/lib/axis_address.d.ts.map +1 -1
- package/dist/lib/axis_address.js +2 -1
- package/dist/lib/axis_address.js.map +1 -1
- package/dist/lib/binary/binary_settings.d.ts.map +1 -1
- package/dist/lib/binary/binary_settings.js +2 -1
- package/dist/lib/binary/binary_settings.js.map +1 -1
- package/dist/lib/binary/command_code.d.ts.map +1 -1
- package/dist/lib/binary/command_code.js +2 -1
- package/dist/lib/binary/command_code.js.map +1 -1
- package/dist/lib/binary/connection.js +2 -2
- package/dist/lib/binary/connection.js.map +1 -1
- package/dist/lib/binary/device.js +2 -2
- package/dist/lib/binary/device.js.map +1 -1
- package/dist/lib/binary/device_identity.d.ts.map +1 -1
- package/dist/lib/binary/device_identity.js +2 -1
- package/dist/lib/binary/device_identity.js.map +1 -1
- package/dist/lib/binary/device_settings.js +2 -2
- package/dist/lib/binary/device_settings.js.map +1 -1
- package/dist/lib/binary/device_type.d.ts.map +1 -1
- package/dist/lib/binary/device_type.js +2 -1
- package/dist/lib/binary/device_type.js.map +1 -1
- package/dist/lib/binary/error_code.d.ts.map +1 -1
- package/dist/lib/binary/error_code.js +2 -1
- package/dist/lib/binary/error_code.js.map +1 -1
- package/dist/lib/binary/index.d.ts.map +1 -1
- package/dist/lib/binary/index.js +2 -1
- package/dist/lib/binary/index.js.map +1 -1
- package/dist/lib/binary/message.d.ts.map +1 -1
- package/dist/lib/binary/message.js +2 -1
- package/dist/lib/binary/message.js.map +1 -1
- package/dist/lib/binary/reply_code.d.ts.map +1 -1
- package/dist/lib/binary/reply_code.js +2 -1
- package/dist/lib/binary/reply_code.js.map +1 -1
- package/dist/lib/binary/reply_only_event.d.ts.map +1 -1
- package/dist/lib/binary/reply_only_event.js +2 -1
- package/dist/lib/binary/reply_only_event.js.map +1 -1
- package/dist/lib/binary/unknown_response_event.d.ts.map +1 -1
- package/dist/lib/binary/unknown_response_event.js +2 -1
- package/dist/lib/binary/unknown_response_event.js.map +1 -1
- package/dist/lib/channel_address.d.ts.map +1 -1
- package/dist/lib/channel_address.js +2 -1
- package/dist/lib/channel_address.js.map +1 -1
- package/dist/lib/cyclic_direction.d.ts.map +1 -1
- package/dist/lib/cyclic_direction.js +2 -1
- package/dist/lib/cyclic_direction.js.map +1 -1
- package/dist/lib/device_db_source.d.ts.map +1 -1
- package/dist/lib/device_db_source.js +2 -1
- package/dist/lib/device_db_source.js.map +1 -1
- package/dist/lib/device_db_source_type.d.ts.map +1 -1
- package/dist/lib/device_db_source_type.js +2 -1
- package/dist/lib/device_db_source_type.js.map +1 -1
- package/dist/lib/device_discovery_result.d.ts.map +1 -1
- package/dist/lib/device_discovery_result.js +2 -1
- package/dist/lib/device_discovery_result.js.map +1 -1
- package/dist/lib/device_port_type.d.ts.map +1 -1
- package/dist/lib/device_port_type.js +2 -1
- package/dist/lib/device_port_type.js.map +1 -1
- package/dist/lib/exceptions/bad_command_exception.js +2 -2
- package/dist/lib/exceptions/bad_command_exception.js.map +1 -1
- package/dist/lib/exceptions/bad_data_exception.js +2 -2
- package/dist/lib/exceptions/bad_data_exception.js.map +1 -1
- package/dist/lib/exceptions/binary_command_failed_exception.js +2 -2
- package/dist/lib/exceptions/binary_command_failed_exception.js.map +1 -1
- package/dist/lib/exceptions/binary_command_failed_exception_data.d.ts.map +1 -1
- package/dist/lib/exceptions/binary_command_failed_exception_data.js +2 -1
- package/dist/lib/exceptions/binary_command_failed_exception_data.js.map +1 -1
- package/dist/lib/exceptions/command_failed_exception.js +2 -2
- package/dist/lib/exceptions/command_failed_exception.js.map +1 -1
- package/dist/lib/exceptions/command_failed_exception_data.d.ts.map +1 -1
- package/dist/lib/exceptions/command_failed_exception_data.js +2 -1
- package/dist/lib/exceptions/command_failed_exception_data.js.map +1 -1
- package/dist/lib/exceptions/command_preempted_exception.js +2 -2
- package/dist/lib/exceptions/command_preempted_exception.js.map +1 -1
- package/dist/lib/exceptions/command_too_long_exception.js +2 -2
- package/dist/lib/exceptions/command_too_long_exception.js.map +1 -1
- package/dist/lib/exceptions/command_too_long_exception_data.d.ts.map +1 -1
- package/dist/lib/exceptions/command_too_long_exception_data.js +2 -1
- package/dist/lib/exceptions/command_too_long_exception_data.js.map +1 -1
- package/dist/lib/exceptions/connection_closed_exception.js +2 -2
- package/dist/lib/exceptions/connection_closed_exception.js.map +1 -1
- package/dist/lib/exceptions/connection_failed_exception.js +2 -2
- package/dist/lib/exceptions/connection_failed_exception.js.map +1 -1
- package/dist/lib/exceptions/conversion_failed_exception.js +2 -2
- package/dist/lib/exceptions/conversion_failed_exception.js.map +1 -1
- package/dist/lib/exceptions/device_address_conflict_exception.js +2 -2
- package/dist/lib/exceptions/device_address_conflict_exception.js.map +1 -1
- package/dist/lib/exceptions/device_address_conflict_exception_data.d.ts.map +1 -1
- package/dist/lib/exceptions/device_address_conflict_exception_data.js +2 -1
- package/dist/lib/exceptions/device_address_conflict_exception_data.js.map +1 -1
- package/dist/lib/exceptions/device_busy_exception.js +2 -2
- package/dist/lib/exceptions/device_busy_exception.js.map +1 -1
- package/dist/lib/exceptions/device_db_failed_exception.js +2 -2
- package/dist/lib/exceptions/device_db_failed_exception.js.map +1 -1
- package/dist/lib/exceptions/device_db_failed_exception_data.d.ts.map +1 -1
- package/dist/lib/exceptions/device_db_failed_exception_data.js +2 -1
- package/dist/lib/exceptions/device_db_failed_exception_data.js.map +1 -1
- package/dist/lib/exceptions/device_db_inner_error.d.ts.map +1 -1
- package/dist/lib/exceptions/device_db_inner_error.js +2 -1
- package/dist/lib/exceptions/device_db_inner_error.js.map +1 -1
- package/dist/lib/exceptions/device_detection_failed_exception.js +2 -2
- package/dist/lib/exceptions/device_detection_failed_exception.js.map +1 -1
- package/dist/lib/exceptions/device_failed_exception.js +2 -2
- package/dist/lib/exceptions/device_failed_exception.js.map +1 -1
- package/dist/lib/exceptions/device_not_identified_exception.js +2 -2
- package/dist/lib/exceptions/device_not_identified_exception.js.map +1 -1
- package/dist/lib/exceptions/driver_disabled_exception.js +2 -2
- package/dist/lib/exceptions/driver_disabled_exception.js.map +1 -1
- package/dist/lib/exceptions/g_code_execution_exception.js +2 -2
- package/dist/lib/exceptions/g_code_execution_exception.js.map +1 -1
- package/dist/lib/exceptions/g_code_execution_exception_data.d.ts.map +1 -1
- package/dist/lib/exceptions/g_code_execution_exception_data.js +2 -1
- package/dist/lib/exceptions/g_code_execution_exception_data.js.map +1 -1
- package/dist/lib/exceptions/g_code_syntax_exception.js +2 -2
- package/dist/lib/exceptions/g_code_syntax_exception.js.map +1 -1
- package/dist/lib/exceptions/g_code_syntax_exception_data.d.ts.map +1 -1
- package/dist/lib/exceptions/g_code_syntax_exception_data.js +2 -1
- package/dist/lib/exceptions/g_code_syntax_exception_data.js.map +1 -1
- package/dist/lib/exceptions/ge_1_x_gripper_movement_failed_exception.d.ts +8 -0
- package/dist/lib/exceptions/ge_1_x_gripper_movement_failed_exception.d.ts.map +1 -0
- package/dist/lib/exceptions/ge_1_x_gripper_movement_failed_exception.js +17 -0
- package/dist/lib/exceptions/ge_1_x_gripper_movement_failed_exception.js.map +1 -0
- package/dist/lib/exceptions/incompatible_shared_library_exception.js +2 -2
- package/dist/lib/exceptions/incompatible_shared_library_exception.js.map +1 -1
- package/dist/lib/exceptions/index.d.ts +1 -1
- package/dist/lib/exceptions/index.d.ts.map +1 -1
- package/dist/lib/exceptions/index.js +3 -2
- package/dist/lib/exceptions/index.js.map +1 -1
- package/dist/lib/exceptions/internal_error_exception.js +2 -2
- package/dist/lib/exceptions/internal_error_exception.js.map +1 -1
- package/dist/lib/exceptions/invalid_argument_exception.js +2 -2
- package/dist/lib/exceptions/invalid_argument_exception.js.map +1 -1
- package/dist/lib/exceptions/invalid_csv_data_exception.js +2 -2
- package/dist/lib/exceptions/invalid_csv_data_exception.js.map +1 -1
- package/dist/lib/exceptions/invalid_data_exception.js +2 -2
- package/dist/lib/exceptions/invalid_data_exception.js.map +1 -1
- package/dist/lib/exceptions/invalid_operation_exception.js +2 -2
- package/dist/lib/exceptions/invalid_operation_exception.js.map +1 -1
- package/dist/lib/exceptions/invalid_packet_exception.js +2 -2
- package/dist/lib/exceptions/invalid_packet_exception.js.map +1 -1
- package/dist/lib/exceptions/invalid_packet_exception_data.d.ts.map +1 -1
- package/dist/lib/exceptions/invalid_packet_exception_data.js +2 -1
- package/dist/lib/exceptions/invalid_packet_exception_data.js.map +1 -1
- package/dist/lib/exceptions/invalid_park_state_exception.js +2 -2
- package/dist/lib/exceptions/invalid_park_state_exception.js.map +1 -1
- package/dist/lib/exceptions/invalid_pvt_point.d.ts.map +1 -1
- package/dist/lib/exceptions/invalid_pvt_point.js +2 -1
- package/dist/lib/exceptions/invalid_pvt_point.js.map +1 -1
- package/dist/lib/exceptions/invalid_request_data_exception.js +2 -2
- package/dist/lib/exceptions/invalid_request_data_exception.js.map +1 -1
- package/dist/lib/exceptions/invalid_response_exception.js +2 -2
- package/dist/lib/exceptions/invalid_response_exception.js.map +1 -1
- package/dist/lib/exceptions/invalid_response_exception_data.d.ts.map +1 -1
- package/dist/lib/exceptions/invalid_response_exception_data.js +2 -1
- package/dist/lib/exceptions/invalid_response_exception_data.js.map +1 -1
- package/dist/lib/exceptions/io_channel_out_of_range_exception.js +2 -2
- package/dist/lib/exceptions/io_channel_out_of_range_exception.js.map +1 -1
- package/dist/lib/exceptions/io_failed_exception.js +2 -2
- package/dist/lib/exceptions/io_failed_exception.js.map +1 -1
- package/dist/lib/exceptions/lockstep_enabled_exception.js +2 -2
- package/dist/lib/exceptions/lockstep_enabled_exception.js.map +1 -1
- package/dist/lib/exceptions/lockstep_not_enabled_exception.js +2 -2
- package/dist/lib/exceptions/lockstep_not_enabled_exception.js.map +1 -1
- package/dist/lib/exceptions/movement_failed_exception.js +2 -2
- package/dist/lib/exceptions/movement_failed_exception.js.map +1 -1
- package/dist/lib/exceptions/movement_failed_exception_data.d.ts.map +1 -1
- package/dist/lib/exceptions/movement_failed_exception_data.js +2 -1
- package/dist/lib/exceptions/movement_failed_exception_data.js.map +1 -1
- package/dist/lib/exceptions/movement_interrupted_exception.js +2 -2
- package/dist/lib/exceptions/movement_interrupted_exception.js.map +1 -1
- package/dist/lib/exceptions/movement_interrupted_exception_data.d.ts.map +1 -1
- package/dist/lib/exceptions/movement_interrupted_exception_data.js +2 -1
- package/dist/lib/exceptions/movement_interrupted_exception_data.js.map +1 -1
- package/dist/lib/exceptions/no_device_found_exception.js +2 -2
- package/dist/lib/exceptions/no_device_found_exception.js.map +1 -1
- package/dist/lib/exceptions/no_value_for_key_exception.js +2 -2
- package/dist/lib/exceptions/no_value_for_key_exception.js.map +1 -1
- package/dist/lib/exceptions/not_supported_exception.js +2 -2
- package/dist/lib/exceptions/not_supported_exception.js.map +1 -1
- package/dist/lib/exceptions/operation_failed_exception.js +2 -2
- package/dist/lib/exceptions/operation_failed_exception.js.map +1 -1
- package/dist/lib/exceptions/operation_failed_exception_data.d.ts.map +1 -1
- package/dist/lib/exceptions/operation_failed_exception_data.js +2 -1
- package/dist/lib/exceptions/operation_failed_exception_data.js.map +1 -1
- package/dist/lib/exceptions/os_failed_exception.js +2 -2
- package/dist/lib/exceptions/os_failed_exception.js.map +1 -1
- package/dist/lib/exceptions/out_of_request_ids_exception.js +2 -2
- package/dist/lib/exceptions/out_of_request_ids_exception.js.map +1 -1
- package/dist/lib/exceptions/pvt_discontinuity_exception.js +2 -2
- package/dist/lib/exceptions/pvt_discontinuity_exception.js.map +1 -1
- package/dist/lib/exceptions/pvt_execution_exception.js +2 -2
- package/dist/lib/exceptions/pvt_execution_exception.js.map +1 -1
- package/dist/lib/exceptions/pvt_execution_exception_data.d.ts.map +1 -1
- package/dist/lib/exceptions/pvt_execution_exception_data.js +2 -1
- package/dist/lib/exceptions/pvt_execution_exception_data.js.map +1 -1
- package/dist/lib/exceptions/pvt_mode_exception.js +2 -2
- package/dist/lib/exceptions/pvt_mode_exception.js.map +1 -1
- package/dist/lib/exceptions/pvt_movement_failed_exception.js +2 -2
- package/dist/lib/exceptions/pvt_movement_failed_exception.js.map +1 -1
- package/dist/lib/exceptions/pvt_movement_failed_exception_data.d.ts.map +1 -1
- package/dist/lib/exceptions/pvt_movement_failed_exception_data.js +2 -1
- package/dist/lib/exceptions/pvt_movement_failed_exception_data.js.map +1 -1
- package/dist/lib/exceptions/pvt_movement_interrupted_exception.js +2 -2
- package/dist/lib/exceptions/pvt_movement_interrupted_exception.js.map +1 -1
- package/dist/lib/exceptions/pvt_movement_interrupted_exception_data.d.ts.map +1 -1
- package/dist/lib/exceptions/pvt_movement_interrupted_exception_data.js +2 -1
- package/dist/lib/exceptions/pvt_movement_interrupted_exception_data.js.map +1 -1
- package/dist/lib/exceptions/pvt_sequence_generation_failed_exception.js +2 -2
- package/dist/lib/exceptions/pvt_sequence_generation_failed_exception.js.map +1 -1
- package/dist/lib/exceptions/pvt_setup_failed_exception.js +2 -2
- package/dist/lib/exceptions/pvt_setup_failed_exception.js.map +1 -1
- package/dist/lib/exceptions/remote_mode_exception.js +2 -2
- package/dist/lib/exceptions/remote_mode_exception.js.map +1 -1
- package/dist/lib/exceptions/request_timeout_exception.js +2 -2
- package/dist/lib/exceptions/request_timeout_exception.js.map +1 -1
- package/dist/lib/exceptions/serial_port_busy_exception.js +2 -2
- package/dist/lib/exceptions/serial_port_busy_exception.js.map +1 -1
- package/dist/lib/exceptions/set_device_state_exception_data.d.ts.map +1 -1
- package/dist/lib/exceptions/set_device_state_exception_data.js +2 -1
- package/dist/lib/exceptions/set_device_state_exception_data.js.map +1 -1
- package/dist/lib/exceptions/set_device_state_failed_exception.js +2 -2
- package/dist/lib/exceptions/set_device_state_failed_exception.js.map +1 -1
- package/dist/lib/exceptions/set_peripheral_state_exception_data.d.ts.map +1 -1
- package/dist/lib/exceptions/set_peripheral_state_exception_data.js +2 -1
- package/dist/lib/exceptions/set_peripheral_state_exception_data.js.map +1 -1
- package/dist/lib/exceptions/set_peripheral_state_failed_exception.js +2 -2
- package/dist/lib/exceptions/set_peripheral_state_failed_exception.js.map +1 -1
- package/dist/lib/exceptions/stream_discontinuity_exception.js +2 -2
- package/dist/lib/exceptions/stream_discontinuity_exception.js.map +1 -1
- package/dist/lib/exceptions/stream_execution_exception.js +2 -2
- package/dist/lib/exceptions/stream_execution_exception.js.map +1 -1
- package/dist/lib/exceptions/stream_execution_exception_data.d.ts.map +1 -1
- package/dist/lib/exceptions/stream_execution_exception_data.js +2 -1
- package/dist/lib/exceptions/stream_execution_exception_data.js.map +1 -1
- package/dist/lib/exceptions/stream_mode_exception.js +2 -2
- package/dist/lib/exceptions/stream_mode_exception.js.map +1 -1
- package/dist/lib/exceptions/stream_movement_failed_exception.js +2 -2
- package/dist/lib/exceptions/stream_movement_failed_exception.js.map +1 -1
- package/dist/lib/exceptions/stream_movement_failed_exception_data.d.ts.map +1 -1
- package/dist/lib/exceptions/stream_movement_failed_exception_data.js +2 -1
- package/dist/lib/exceptions/stream_movement_failed_exception_data.js.map +1 -1
- package/dist/lib/exceptions/stream_movement_interrupted_exception.js +2 -2
- package/dist/lib/exceptions/stream_movement_interrupted_exception.js.map +1 -1
- package/dist/lib/exceptions/stream_movement_interrupted_exception_data.d.ts.map +1 -1
- package/dist/lib/exceptions/stream_movement_interrupted_exception_data.js +2 -1
- package/dist/lib/exceptions/stream_movement_interrupted_exception_data.js.map +1 -1
- package/dist/lib/exceptions/stream_setup_failed_exception.js +2 -2
- package/dist/lib/exceptions/stream_setup_failed_exception.js.map +1 -1
- package/dist/lib/exceptions/timeout_exception.js +2 -2
- package/dist/lib/exceptions/timeout_exception.js.map +1 -1
- package/dist/lib/exceptions/transport_already_used_exception.js +2 -2
- package/dist/lib/exceptions/transport_already_used_exception.js.map +1 -1
- package/dist/lib/exceptions/unknown_request_exception.js +2 -2
- package/dist/lib/exceptions/unknown_request_exception.js.map +1 -1
- package/dist/lib/firmware_version.d.ts.map +1 -1
- package/dist/lib/firmware_version.js +2 -1
- package/dist/lib/firmware_version.js.map +1 -1
- package/dist/lib/gateway/constants.js +1 -1
- package/dist/lib/gateway/constants.js.map +1 -1
- package/dist/lib/gateway/convert_exceptions.js +3 -3
- package/dist/lib/gateway/convert_exceptions.js.map +1 -1
- package/dist/lib/gcode/axis_definition.d.ts.map +1 -1
- package/dist/lib/gcode/axis_definition.js +2 -1
- package/dist/lib/gcode/axis_definition.js.map +1 -1
- package/dist/lib/gcode/axis_mapping.d.ts.map +1 -1
- package/dist/lib/gcode/axis_mapping.js +2 -1
- package/dist/lib/gcode/axis_mapping.js.map +1 -1
- package/dist/lib/gcode/axis_transformation.d.ts.map +1 -1
- package/dist/lib/gcode/axis_transformation.js +2 -1
- package/dist/lib/gcode/axis_transformation.js.map +1 -1
- package/dist/lib/gcode/device_definition.d.ts.map +1 -1
- package/dist/lib/gcode/device_definition.js +2 -1
- package/dist/lib/gcode/device_definition.js.map +1 -1
- package/dist/lib/gcode/index.d.ts.map +1 -1
- package/dist/lib/gcode/index.js +2 -1
- package/dist/lib/gcode/index.js.map +1 -1
- package/dist/lib/gcode/offline_translator.js +2 -2
- package/dist/lib/gcode/offline_translator.js.map +1 -1
- package/dist/lib/gcode/translate_message.d.ts.map +1 -1
- package/dist/lib/gcode/translate_message.js +2 -1
- package/dist/lib/gcode/translate_message.js.map +1 -1
- package/dist/lib/gcode/translate_result.d.ts.map +1 -1
- package/dist/lib/gcode/translate_result.js +2 -1
- package/dist/lib/gcode/translate_result.js.map +1 -1
- package/dist/lib/gcode/translator.js +2 -2
- package/dist/lib/gcode/translator.js.map +1 -1
- package/dist/lib/gcode/translator_config.d.ts.map +1 -1
- package/dist/lib/gcode/translator_config.js +2 -1
- package/dist/lib/gcode/translator_config.js.map +1 -1
- package/dist/lib/index.d.ts.map +1 -1
- package/dist/lib/index.js +2 -1
- package/dist/lib/index.js.map +1 -1
- package/dist/lib/library.js +2 -2
- package/dist/lib/library.js.map +1 -1
- package/dist/lib/log_output_mode.d.ts.map +1 -1
- package/dist/lib/log_output_mode.js +2 -1
- package/dist/lib/log_output_mode.js.map +1 -1
- package/dist/lib/measurement.d.ts.map +1 -1
- package/dist/lib/measurement.js +2 -1
- package/dist/lib/measurement.js.map +1 -1
- package/dist/lib/microscopy/autofocus.js +2 -2
- package/dist/lib/microscopy/autofocus.js.map +1 -1
- package/dist/lib/microscopy/autofocus_status.d.ts.map +1 -1
- package/dist/lib/microscopy/autofocus_status.js +2 -1
- package/dist/lib/microscopy/autofocus_status.js.map +1 -1
- package/dist/lib/microscopy/camera_trigger.js +2 -2
- package/dist/lib/microscopy/camera_trigger.js.map +1 -1
- package/dist/lib/microscopy/filter_changer.js +2 -2
- package/dist/lib/microscopy/filter_changer.js.map +1 -1
- package/dist/lib/microscopy/illuminator.js +2 -2
- package/dist/lib/microscopy/illuminator.js.map +1 -1
- package/dist/lib/microscopy/illuminator_channel.js +2 -2
- package/dist/lib/microscopy/illuminator_channel.js.map +1 -1
- package/dist/lib/microscopy/index.d.ts.map +1 -1
- package/dist/lib/microscopy/index.js +2 -1
- package/dist/lib/microscopy/index.js.map +1 -1
- package/dist/lib/microscopy/microscope.js +2 -2
- package/dist/lib/microscopy/microscope.js.map +1 -1
- package/dist/lib/microscopy/microscope_config.d.ts.map +1 -1
- package/dist/lib/microscopy/microscope_config.js +2 -1
- package/dist/lib/microscopy/microscope_config.js.map +1 -1
- package/dist/lib/microscopy/objective_changer.js +2 -2
- package/dist/lib/microscopy/objective_changer.js.map +1 -1
- package/dist/lib/microscopy/third_party_components.d.ts.map +1 -1
- package/dist/lib/microscopy/third_party_components.js +2 -1
- package/dist/lib/microscopy/third_party_components.js.map +1 -1
- package/dist/lib/microscopy/wdi_autofocus_provider.js +2 -2
- package/dist/lib/microscopy/wdi_autofocus_provider.js.map +1 -1
- package/dist/lib/microscopy/wdi_autofocus_provider_status.d.ts.map +1 -1
- package/dist/lib/microscopy/wdi_autofocus_provider_status.js +2 -1
- package/dist/lib/microscopy/wdi_autofocus_provider_status.js.map +1 -1
- package/dist/lib/named_parameter.d.ts.map +1 -1
- package/dist/lib/named_parameter.js +2 -1
- package/dist/lib/named_parameter.js.map +1 -1
- package/dist/lib/product/{ge_1_gripper.d.ts → ge_1_x_gripper.d.ts} +27 -27
- package/dist/lib/product/ge_1_x_gripper.d.ts.map +1 -0
- package/dist/lib/product/{ge_1_gripper.js → ge_1_x_gripper.js} +104 -104
- package/dist/lib/product/ge_1_x_gripper.js.map +1 -0
- package/dist/lib/product/ge_1_x_gripper_direction.d.ts +15 -0
- package/dist/lib/product/ge_1_x_gripper_direction.d.ts.map +1 -0
- package/dist/lib/product/ge_1_x_gripper_direction.js +24 -0
- package/dist/lib/product/ge_1_x_gripper_direction.js.map +1 -0
- package/dist/lib/product/{ge_1_gripper_error.d.ts → ge_1_x_gripper_error.d.ts} +5 -5
- package/dist/lib/product/ge_1_x_gripper_error.d.ts.map +1 -0
- package/dist/lib/product/ge_1_x_gripper_error.js +46 -0
- package/dist/lib/product/ge_1_x_gripper_error.js.map +1 -0
- package/dist/lib/product/{ge_1_gripper_state.d.ts → ge_1_x_gripper_state.d.ts} +5 -5
- package/dist/lib/product/ge_1_x_gripper_state.d.ts.map +1 -0
- package/dist/lib/product/ge_1_x_gripper_state.js +32 -0
- package/dist/lib/product/ge_1_x_gripper_state.js.map +1 -0
- package/dist/lib/product/index.d.ts +4 -4
- package/dist/lib/product/index.d.ts.map +1 -1
- package/dist/lib/product/index.js +6 -5
- package/dist/lib/product/index.js.map +1 -1
- package/dist/lib/product/process.js +2 -2
- package/dist/lib/product/process.js.map +1 -1
- package/dist/lib/product/process_controller.js +2 -2
- package/dist/lib/product/process_controller.js.map +1 -1
- package/dist/lib/product/process_controller_mode.d.ts.map +1 -1
- package/dist/lib/product/process_controller_mode.js +2 -1
- package/dist/lib/product/process_controller_mode.js.map +1 -1
- package/dist/lib/product/process_controller_source.d.ts.map +1 -1
- package/dist/lib/product/process_controller_source.js +2 -1
- package/dist/lib/product/process_controller_source.js.map +1 -1
- package/dist/lib/product/process_controller_source_sensor.d.ts.map +1 -1
- package/dist/lib/product/process_controller_source_sensor.js +2 -1
- package/dist/lib/product/process_controller_source_sensor.js.map +1 -1
- package/dist/lib/requests/alert_event_wrapper.d.ts.map +1 -1
- package/dist/lib/requests/alert_event_wrapper.js +2 -1
- package/dist/lib/requests/alert_event_wrapper.js.map +1 -1
- package/dist/lib/requests/autofocus_focus_request.d.ts.map +1 -1
- package/dist/lib/requests/autofocus_focus_request.js +2 -1
- package/dist/lib/requests/autofocus_focus_request.js.map +1 -1
- package/dist/lib/requests/autofocus_get_objective_params_request.d.ts.map +1 -1
- package/dist/lib/requests/autofocus_get_objective_params_request.js +2 -1
- package/dist/lib/requests/autofocus_get_objective_params_request.js.map +1 -1
- package/dist/lib/requests/autofocus_get_objective_params_response.d.ts.map +1 -1
- package/dist/lib/requests/autofocus_get_objective_params_response.js +2 -1
- package/dist/lib/requests/autofocus_get_objective_params_response.js.map +1 -1
- package/dist/lib/requests/autofocus_get_status_response.d.ts.map +1 -1
- package/dist/lib/requests/autofocus_get_status_response.js +2 -1
- package/dist/lib/requests/autofocus_get_status_response.js.map +1 -1
- package/dist/lib/requests/autofocus_set_objective_params_request.d.ts.map +1 -1
- package/dist/lib/requests/autofocus_set_objective_params_request.js +2 -1
- package/dist/lib/requests/autofocus_set_objective_params_request.js.map +1 -1
- package/dist/lib/requests/axes_empty_request.d.ts.map +1 -1
- package/dist/lib/requests/axes_empty_request.js +2 -1
- package/dist/lib/requests/axes_empty_request.js.map +1 -1
- package/dist/lib/requests/axes_get_setting_request.d.ts.map +1 -1
- package/dist/lib/requests/axes_get_setting_request.js +2 -1
- package/dist/lib/requests/axes_get_setting_request.js.map +1 -1
- package/dist/lib/requests/axes_move_request.d.ts.map +1 -1
- package/dist/lib/requests/axes_move_request.js +2 -1
- package/dist/lib/requests/axes_move_request.js.map +1 -1
- package/dist/lib/requests/axis_empty_request.d.ts.map +1 -1
- package/dist/lib/requests/axis_empty_request.js +2 -1
- package/dist/lib/requests/axis_empty_request.js.map +1 -1
- package/dist/lib/requests/axis_move_type.d.ts.map +1 -1
- package/dist/lib/requests/axis_move_type.js +2 -1
- package/dist/lib/requests/axis_move_type.js.map +1 -1
- package/dist/lib/requests/axis_to_string_request.d.ts.map +1 -1
- package/dist/lib/requests/axis_to_string_request.js +2 -1
- package/dist/lib/requests/axis_to_string_request.js.map +1 -1
- package/dist/lib/requests/binary_device_detect_request.d.ts.map +1 -1
- package/dist/lib/requests/binary_device_detect_request.js +2 -1
- package/dist/lib/requests/binary_device_detect_request.js.map +1 -1
- package/dist/lib/requests/binary_device_detect_response.d.ts.map +1 -1
- package/dist/lib/requests/binary_device_detect_response.js +2 -1
- package/dist/lib/requests/binary_device_detect_response.js.map +1 -1
- package/dist/lib/requests/binary_device_get_setting_request.d.ts.map +1 -1
- package/dist/lib/requests/binary_device_get_setting_request.js +2 -1
- package/dist/lib/requests/binary_device_get_setting_request.js.map +1 -1
- package/dist/lib/requests/binary_device_home_request.d.ts.map +1 -1
- package/dist/lib/requests/binary_device_home_request.js +2 -1
- package/dist/lib/requests/binary_device_home_request.js.map +1 -1
- package/dist/lib/requests/binary_device_move_request.d.ts.map +1 -1
- package/dist/lib/requests/binary_device_move_request.js +2 -1
- package/dist/lib/requests/binary_device_move_request.js.map +1 -1
- package/dist/lib/requests/binary_device_set_setting_request.d.ts.map +1 -1
- package/dist/lib/requests/binary_device_set_setting_request.js +2 -1
- package/dist/lib/requests/binary_device_set_setting_request.js.map +1 -1
- package/dist/lib/requests/binary_device_stop_request.d.ts.map +1 -1
- package/dist/lib/requests/binary_device_stop_request.js +2 -1
- package/dist/lib/requests/binary_device_stop_request.js.map +1 -1
- package/dist/lib/requests/binary_generic_with_units_request.d.ts.map +1 -1
- package/dist/lib/requests/binary_generic_with_units_request.js +2 -1
- package/dist/lib/requests/binary_generic_with_units_request.js.map +1 -1
- package/dist/lib/requests/binary_message_collection.d.ts.map +1 -1
- package/dist/lib/requests/binary_message_collection.js +2 -1
- package/dist/lib/requests/binary_message_collection.js.map +1 -1
- package/dist/lib/requests/binary_reply_only_event_wrapper.d.ts.map +1 -1
- package/dist/lib/requests/binary_reply_only_event_wrapper.js +2 -1
- package/dist/lib/requests/binary_reply_only_event_wrapper.js.map +1 -1
- package/dist/lib/requests/bool_response.d.ts.map +1 -1
- package/dist/lib/requests/bool_response.js +2 -1
- package/dist/lib/requests/bool_response.js.map +1 -1
- package/dist/lib/requests/can_set_state_axis_response.d.ts.map +1 -1
- package/dist/lib/requests/can_set_state_axis_response.js +2 -1
- package/dist/lib/requests/can_set_state_axis_response.js.map +1 -1
- package/dist/lib/requests/can_set_state_request.d.ts.map +1 -1
- package/dist/lib/requests/can_set_state_request.js +2 -1
- package/dist/lib/requests/can_set_state_request.js.map +1 -1
- package/dist/lib/requests/channel_on.d.ts.map +1 -1
- package/dist/lib/requests/channel_on.js +2 -1
- package/dist/lib/requests/channel_on.js.map +1 -1
- package/dist/lib/requests/channel_set_intensity.d.ts.map +1 -1
- package/dist/lib/requests/channel_set_intensity.js +2 -1
- package/dist/lib/requests/channel_set_intensity.js.map +1 -1
- package/dist/lib/requests/check_version_request.d.ts.map +1 -1
- package/dist/lib/requests/check_version_request.js +2 -1
- package/dist/lib/requests/check_version_request.js.map +1 -1
- package/dist/lib/requests/custom_interface_close_request.d.ts.map +1 -1
- package/dist/lib/requests/custom_interface_close_request.js +2 -1
- package/dist/lib/requests/custom_interface_close_request.js.map +1 -1
- package/dist/lib/requests/custom_interface_open_response.d.ts.map +1 -1
- package/dist/lib/requests/custom_interface_open_response.js +2 -1
- package/dist/lib/requests/custom_interface_open_response.js.map +1 -1
- package/dist/lib/requests/custom_interface_read_request.d.ts.map +1 -1
- package/dist/lib/requests/custom_interface_read_request.js +2 -1
- package/dist/lib/requests/custom_interface_read_request.js.map +1 -1
- package/dist/lib/requests/custom_interface_write_request.d.ts.map +1 -1
- package/dist/lib/requests/custom_interface_write_request.js +2 -1
- package/dist/lib/requests/custom_interface_write_request.js.map +1 -1
- package/dist/lib/requests/device_cancel_all_outputs_schedule_request.d.ts.map +1 -1
- package/dist/lib/requests/device_cancel_all_outputs_schedule_request.js +2 -1
- package/dist/lib/requests/device_cancel_all_outputs_schedule_request.js.map +1 -1
- package/dist/lib/requests/device_cancel_output_schedule_request.d.ts.map +1 -1
- package/dist/lib/requests/device_cancel_output_schedule_request.js +2 -1
- package/dist/lib/requests/device_cancel_output_schedule_request.js.map +1 -1
- package/dist/lib/requests/device_convert_setting_request.d.ts.map +1 -1
- package/dist/lib/requests/device_convert_setting_request.js +2 -1
- package/dist/lib/requests/device_convert_setting_request.js.map +1 -1
- package/dist/lib/requests/device_detect_request.d.ts.map +1 -1
- package/dist/lib/requests/device_detect_request.js +2 -1
- package/dist/lib/requests/device_detect_request.js.map +1 -1
- package/dist/lib/requests/device_detect_response.d.ts.map +1 -1
- package/dist/lib/requests/device_detect_response.js +2 -1
- package/dist/lib/requests/device_detect_response.js.map +1 -1
- package/dist/lib/requests/device_empty_request.d.ts.map +1 -1
- package/dist/lib/requests/device_empty_request.js +2 -1
- package/dist/lib/requests/device_empty_request.js.map +1 -1
- package/dist/lib/requests/device_get_all_analog_io_request.d.ts.map +1 -1
- package/dist/lib/requests/device_get_all_analog_io_request.js +2 -1
- package/dist/lib/requests/device_get_all_analog_io_request.js.map +1 -1
- package/dist/lib/requests/device_get_all_analog_io_response.d.ts.map +1 -1
- package/dist/lib/requests/device_get_all_analog_io_response.js +2 -1
- package/dist/lib/requests/device_get_all_analog_io_response.js.map +1 -1
- package/dist/lib/requests/device_get_all_digital_io_request.d.ts.map +1 -1
- package/dist/lib/requests/device_get_all_digital_io_request.js +2 -1
- package/dist/lib/requests/device_get_all_digital_io_request.js.map +1 -1
- package/dist/lib/requests/device_get_all_digital_io_response.d.ts.map +1 -1
- package/dist/lib/requests/device_get_all_digital_io_response.js +2 -1
- package/dist/lib/requests/device_get_all_digital_io_response.js.map +1 -1
- package/dist/lib/requests/device_get_analog_io_request.d.ts.map +1 -1
- package/dist/lib/requests/device_get_analog_io_request.js +2 -1
- package/dist/lib/requests/device_get_analog_io_request.js.map +1 -1
- package/dist/lib/requests/device_get_digital_io_request.d.ts.map +1 -1
- package/dist/lib/requests/device_get_digital_io_request.js +2 -1
- package/dist/lib/requests/device_get_digital_io_request.js.map +1 -1
- package/dist/lib/requests/device_get_setting_request.d.ts.map +1 -1
- package/dist/lib/requests/device_get_setting_request.js +2 -1
- package/dist/lib/requests/device_get_setting_request.js.map +1 -1
- package/dist/lib/requests/device_get_storage_request.d.ts.map +1 -1
- package/dist/lib/requests/device_get_storage_request.js +2 -1
- package/dist/lib/requests/device_get_storage_request.js.map +1 -1
- package/dist/lib/requests/device_get_warnings_request.d.ts.map +1 -1
- package/dist/lib/requests/device_get_warnings_request.js +2 -1
- package/dist/lib/requests/device_get_warnings_request.js.map +1 -1
- package/dist/lib/requests/device_get_warnings_response.d.ts.map +1 -1
- package/dist/lib/requests/device_get_warnings_response.js +2 -1
- package/dist/lib/requests/device_get_warnings_response.js.map +1 -1
- package/dist/lib/requests/device_home_request.d.ts.map +1 -1
- package/dist/lib/requests/device_home_request.js +2 -1
- package/dist/lib/requests/device_home_request.js.map +1 -1
- package/dist/lib/requests/device_identify_request.d.ts.map +1 -1
- package/dist/lib/requests/device_identify_request.js +2 -1
- package/dist/lib/requests/device_identify_request.js.map +1 -1
- package/dist/lib/requests/device_move_request.d.ts.map +1 -1
- package/dist/lib/requests/device_move_request.js +2 -1
- package/dist/lib/requests/device_move_request.js.map +1 -1
- package/dist/lib/requests/device_move_sin_request.d.ts.map +1 -1
- package/dist/lib/requests/device_move_sin_request.js +2 -1
- package/dist/lib/requests/device_move_sin_request.js.map +1 -1
- package/dist/lib/requests/device_multi_get_setting_request.d.ts.map +1 -1
- package/dist/lib/requests/device_multi_get_setting_request.js +2 -1
- package/dist/lib/requests/device_multi_get_setting_request.js.map +1 -1
- package/dist/lib/requests/device_on_all_request.d.ts.map +1 -1
- package/dist/lib/requests/device_on_all_request.js +2 -1
- package/dist/lib/requests/device_on_all_request.js.map +1 -1
- package/dist/lib/requests/device_on_all_response.d.ts.map +1 -1
- package/dist/lib/requests/device_on_all_response.js +2 -1
- package/dist/lib/requests/device_on_all_response.js.map +1 -1
- package/dist/lib/requests/device_restore_request.d.ts.map +1 -1
- package/dist/lib/requests/device_restore_request.js +2 -1
- package/dist/lib/requests/device_restore_request.js.map +1 -1
- package/dist/lib/requests/device_set_all_analog_outputs_request.d.ts.map +1 -1
- package/dist/lib/requests/device_set_all_analog_outputs_request.js +2 -1
- package/dist/lib/requests/device_set_all_analog_outputs_request.js.map +1 -1
- package/dist/lib/requests/device_set_all_analog_outputs_schedule_request.d.ts.map +1 -1
- package/dist/lib/requests/device_set_all_analog_outputs_schedule_request.js +2 -1
- package/dist/lib/requests/device_set_all_analog_outputs_schedule_request.js.map +1 -1
- package/dist/lib/requests/device_set_all_digital_outputs_request.d.ts.map +1 -1
- package/dist/lib/requests/device_set_all_digital_outputs_request.js +2 -1
- package/dist/lib/requests/device_set_all_digital_outputs_request.js.map +1 -1
- package/dist/lib/requests/device_set_all_digital_outputs_schedule_request.d.ts.map +1 -1
- package/dist/lib/requests/device_set_all_digital_outputs_schedule_request.js +2 -1
- package/dist/lib/requests/device_set_all_digital_outputs_schedule_request.js.map +1 -1
- package/dist/lib/requests/device_set_analog_output_request.d.ts.map +1 -1
- package/dist/lib/requests/device_set_analog_output_request.js +2 -1
- package/dist/lib/requests/device_set_analog_output_request.js.map +1 -1
- package/dist/lib/requests/device_set_analog_output_schedule_request.d.ts.map +1 -1
- package/dist/lib/requests/device_set_analog_output_schedule_request.js +2 -1
- package/dist/lib/requests/device_set_analog_output_schedule_request.js.map +1 -1
- package/dist/lib/requests/device_set_digital_output_request.d.ts.map +1 -1
- package/dist/lib/requests/device_set_digital_output_request.js +2 -1
- package/dist/lib/requests/device_set_digital_output_request.js.map +1 -1
- package/dist/lib/requests/device_set_digital_output_schedule_request.d.ts.map +1 -1
- package/dist/lib/requests/device_set_digital_output_schedule_request.js +2 -1
- package/dist/lib/requests/device_set_digital_output_schedule_request.js.map +1 -1
- package/dist/lib/requests/device_set_lowpass_filter_request.d.ts.map +1 -1
- package/dist/lib/requests/device_set_lowpass_filter_request.js +2 -1
- package/dist/lib/requests/device_set_lowpass_filter_request.js.map +1 -1
- package/dist/lib/requests/device_set_setting_bool_request.d.ts.map +1 -1
- package/dist/lib/requests/device_set_setting_bool_request.js +2 -1
- package/dist/lib/requests/device_set_setting_bool_request.js.map +1 -1
- package/dist/lib/requests/device_set_setting_int_request.d.ts.map +1 -1
- package/dist/lib/requests/device_set_setting_int_request.js +2 -1
- package/dist/lib/requests/device_set_setting_int_request.js.map +1 -1
- package/dist/lib/requests/device_set_setting_request.d.ts.map +1 -1
- package/dist/lib/requests/device_set_setting_request.js +2 -1
- package/dist/lib/requests/device_set_setting_request.js.map +1 -1
- package/dist/lib/requests/device_set_setting_str_request.d.ts.map +1 -1
- package/dist/lib/requests/device_set_setting_str_request.js +2 -1
- package/dist/lib/requests/device_set_setting_str_request.js.map +1 -1
- package/dist/lib/requests/device_set_storage_bool_request.d.ts.map +1 -1
- package/dist/lib/requests/device_set_storage_bool_request.js +2 -1
- package/dist/lib/requests/device_set_storage_bool_request.js.map +1 -1
- package/dist/lib/requests/device_set_storage_number_request.d.ts.map +1 -1
- package/dist/lib/requests/device_set_storage_number_request.js +2 -1
- package/dist/lib/requests/device_set_storage_number_request.js.map +1 -1
- package/dist/lib/requests/device_set_storage_request.d.ts.map +1 -1
- package/dist/lib/requests/device_set_storage_request.js +2 -1
- package/dist/lib/requests/device_set_storage_request.js.map +1 -1
- package/dist/lib/requests/device_set_unit_conversions_request.d.ts.map +1 -1
- package/dist/lib/requests/device_set_unit_conversions_request.js +2 -1
- package/dist/lib/requests/device_set_unit_conversions_request.js.map +1 -1
- package/dist/lib/requests/device_stop_request.d.ts.map +1 -1
- package/dist/lib/requests/device_stop_request.js +2 -1
- package/dist/lib/requests/device_stop_request.js.map +1 -1
- package/dist/lib/requests/device_storage_list_keys_request.d.ts.map +1 -1
- package/dist/lib/requests/device_storage_list_keys_request.js +2 -1
- package/dist/lib/requests/device_storage_list_keys_request.js.map +1 -1
- package/dist/lib/requests/device_storage_request.d.ts.map +1 -1
- package/dist/lib/requests/device_storage_request.js +2 -1
- package/dist/lib/requests/device_storage_request.js.map +1 -1
- package/dist/lib/requests/device_type.d.ts.map +1 -1
- package/dist/lib/requests/device_type.js +2 -1
- package/dist/lib/requests/device_type.js.map +1 -1
- package/dist/lib/requests/device_wait_until_idle_request.d.ts.map +1 -1
- package/dist/lib/requests/device_wait_until_idle_request.js +2 -1
- package/dist/lib/requests/device_wait_until_idle_request.js.map +1 -1
- package/dist/lib/requests/disconnected_event.d.ts.map +1 -1
- package/dist/lib/requests/disconnected_event.js +2 -1
- package/dist/lib/requests/disconnected_event.js.map +1 -1
- package/dist/lib/requests/discover_mdns_request.d.ts.map +1 -1
- package/dist/lib/requests/discover_mdns_request.js +2 -1
- package/dist/lib/requests/discover_mdns_request.js.map +1 -1
- package/dist/lib/requests/discover_tcp_devices_response.d.ts.map +1 -1
- package/dist/lib/requests/discover_tcp_devices_response.js +2 -1
- package/dist/lib/requests/discover_tcp_devices_response.js.map +1 -1
- package/dist/lib/requests/double_array_response.d.ts.map +1 -1
- package/dist/lib/requests/double_array_response.js +2 -1
- package/dist/lib/requests/double_array_response.js.map +1 -1
- package/dist/lib/requests/double_response.d.ts.map +1 -1
- package/dist/lib/requests/double_response.js +2 -1
- package/dist/lib/requests/double_response.js.map +1 -1
- package/dist/lib/requests/driver_enable_request.d.ts.map +1 -1
- package/dist/lib/requests/driver_enable_request.js +2 -1
- package/dist/lib/requests/driver_enable_request.js.map +1 -1
- package/dist/lib/requests/empty_autofocus_request.d.ts.map +1 -1
- package/dist/lib/requests/empty_autofocus_request.js +2 -1
- package/dist/lib/requests/empty_autofocus_request.js.map +1 -1
- package/dist/lib/requests/empty_request.d.ts.map +1 -1
- package/dist/lib/requests/empty_request.js +2 -1
- package/dist/lib/requests/empty_request.js.map +1 -1
- package/dist/lib/requests/errors.d.ts +2 -2
- package/dist/lib/requests/errors.d.ts.map +1 -1
- package/dist/lib/requests/errors.js +4 -3
- package/dist/lib/requests/errors.js.map +1 -1
- package/dist/lib/requests/find_device_request.d.ts.map +1 -1
- package/dist/lib/requests/find_device_request.js +2 -1
- package/dist/lib/requests/find_device_request.js.map +1 -1
- package/dist/lib/requests/find_device_response.d.ts.map +1 -1
- package/dist/lib/requests/find_device_response.js +2 -1
- package/dist/lib/requests/find_device_response.js.map +1 -1
- package/dist/lib/requests/forget_devices_request.d.ts.map +1 -1
- package/dist/lib/requests/forget_devices_request.js +2 -1
- package/dist/lib/requests/forget_devices_request.js.map +1 -1
- package/dist/lib/requests/gateway_event.d.ts.map +1 -1
- package/dist/lib/requests/gateway_event.js +2 -1
- package/dist/lib/requests/gateway_event.js.map +1 -1
- package/dist/lib/requests/gateway_request.d.ts.map +1 -1
- package/dist/lib/requests/gateway_request.js +2 -1
- package/dist/lib/requests/gateway_request.js.map +1 -1
- package/dist/lib/requests/gateway_response.d.ts.map +1 -1
- package/dist/lib/requests/gateway_response.js +2 -1
- package/dist/lib/requests/gateway_response.js.map +1 -1
- package/dist/lib/requests/ge_1_x_gripper_activate_preset_request.d.ts +15 -0
- package/dist/lib/requests/ge_1_x_gripper_activate_preset_request.d.ts.map +1 -0
- package/dist/lib/requests/{ge_1_gripper_activate_preset_request.js → ge_1_x_gripper_activate_preset_request.js} +9 -8
- package/dist/lib/requests/ge_1_x_gripper_activate_preset_request.js.map +1 -0
- package/dist/lib/requests/ge_1_x_gripper_calibrate_request.d.ts +14 -0
- package/dist/lib/requests/ge_1_x_gripper_calibrate_request.d.ts.map +1 -0
- package/dist/lib/requests/{ge_1_gripper_calibrate_request.js → ge_1_x_gripper_calibrate_request.js} +9 -8
- package/dist/lib/requests/ge_1_x_gripper_calibrate_request.js.map +1 -0
- package/dist/lib/requests/ge_1_x_gripper_empty_request.d.ts +13 -0
- package/dist/lib/requests/ge_1_x_gripper_empty_request.d.ts.map +1 -0
- package/dist/lib/requests/{ge_1_gripper_empty_request.js → ge_1_x_gripper_empty_request.js} +9 -8
- package/dist/lib/requests/ge_1_x_gripper_empty_request.js.map +1 -0
- package/dist/lib/requests/ge_1_x_gripper_get_error_response.d.ts +14 -0
- package/dist/lib/requests/ge_1_x_gripper_get_error_response.d.ts.map +1 -0
- package/dist/lib/requests/ge_1_x_gripper_get_error_response.js +36 -0
- package/dist/lib/requests/ge_1_x_gripper_get_error_response.js.map +1 -0
- package/dist/lib/requests/ge_1_x_gripper_get_state_response.d.ts +14 -0
- package/dist/lib/requests/ge_1_x_gripper_get_state_response.d.ts.map +1 -0
- package/dist/lib/requests/ge_1_x_gripper_get_state_response.js +36 -0
- package/dist/lib/requests/ge_1_x_gripper_get_state_response.js.map +1 -0
- package/dist/lib/requests/ge_1_x_gripper_move_request.d.ts +15 -0
- package/dist/lib/requests/ge_1_x_gripper_move_request.d.ts.map +1 -0
- package/dist/lib/requests/{ge_1_gripper_move_request.js → ge_1_x_gripper_move_request.js} +9 -8
- package/dist/lib/requests/ge_1_x_gripper_move_request.js.map +1 -0
- package/dist/lib/requests/ge_1_x_gripper_open_connection_request.d.ts +15 -0
- package/dist/lib/requests/ge_1_x_gripper_open_connection_request.d.ts.map +1 -0
- package/dist/lib/requests/{ge_1_gripper_open_connection_request.js → ge_1_x_gripper_open_connection_request.js} +9 -8
- package/dist/lib/requests/ge_1_x_gripper_open_connection_request.js.map +1 -0
- package/dist/lib/requests/ge_1_x_gripper_read_register_request.d.ts +14 -0
- package/dist/lib/requests/ge_1_x_gripper_read_register_request.d.ts.map +1 -0
- package/dist/lib/requests/{ge_1_gripper_write_register_request.js → ge_1_x_gripper_read_register_request.js} +10 -13
- package/dist/lib/requests/ge_1_x_gripper_read_register_request.js.map +1 -0
- package/dist/lib/requests/ge_1_x_gripper_set_auto_home_request.d.ts +15 -0
- package/dist/lib/requests/ge_1_x_gripper_set_auto_home_request.d.ts.map +1 -0
- package/dist/lib/requests/{ge_1_gripper_set_io_enabled_request.js → ge_1_x_gripper_set_auto_home_request.js} +9 -8
- package/dist/lib/requests/ge_1_x_gripper_set_auto_home_request.js.map +1 -0
- package/dist/lib/requests/ge_1_x_gripper_set_force_request.d.ts +14 -0
- package/dist/lib/requests/ge_1_x_gripper_set_force_request.d.ts.map +1 -0
- package/dist/lib/requests/{ge_1_gripper_set_force_request.js → ge_1_x_gripper_set_force_request.js} +9 -8
- package/dist/lib/requests/ge_1_x_gripper_set_force_request.js.map +1 -0
- package/dist/lib/requests/ge_1_x_gripper_set_home_direction_request.d.ts +16 -0
- package/dist/lib/requests/ge_1_x_gripper_set_home_direction_request.d.ts.map +1 -0
- package/dist/lib/requests/{ge_1_gripper_set_home_direction_request.js → ge_1_x_gripper_set_home_direction_request.js} +12 -11
- package/dist/lib/requests/ge_1_x_gripper_set_home_direction_request.js.map +1 -0
- package/dist/lib/requests/ge_1_x_gripper_set_io_enabled_request.d.ts +15 -0
- package/dist/lib/requests/ge_1_x_gripper_set_io_enabled_request.d.ts.map +1 -0
- package/dist/lib/requests/{ge_1_gripper_set_auto_home_request.js → ge_1_x_gripper_set_io_enabled_request.js} +9 -8
- package/dist/lib/requests/ge_1_x_gripper_set_io_enabled_request.js.map +1 -0
- package/dist/lib/requests/ge_1_x_gripper_set_io_input_filter_request.d.ts +15 -0
- package/dist/lib/requests/ge_1_x_gripper_set_io_input_filter_request.d.ts.map +1 -0
- package/dist/lib/requests/{ge_1_gripper_set_io_input_filter_request.js → ge_1_x_gripper_set_io_input_filter_request.js} +9 -8
- package/dist/lib/requests/ge_1_x_gripper_set_io_input_filter_request.js.map +1 -0
- package/dist/lib/requests/ge_1_x_gripper_set_preset_request.d.ts +18 -0
- package/dist/lib/requests/ge_1_x_gripper_set_preset_request.d.ts.map +1 -0
- package/dist/lib/requests/{ge_1_gripper_set_preset_request.js → ge_1_x_gripper_set_preset_request.js} +9 -8
- package/dist/lib/requests/ge_1_x_gripper_set_preset_request.js.map +1 -0
- package/dist/lib/requests/ge_1_x_gripper_set_speed_request.d.ts +14 -0
- package/dist/lib/requests/ge_1_x_gripper_set_speed_request.d.ts.map +1 -0
- package/dist/lib/requests/{ge_1_gripper_set_speed_request.js → ge_1_x_gripper_set_speed_request.js} +9 -8
- package/dist/lib/requests/ge_1_x_gripper_set_speed_request.js.map +1 -0
- package/dist/lib/requests/ge_1_x_gripper_wait_until_idle_request.d.ts +14 -0
- package/dist/lib/requests/ge_1_x_gripper_wait_until_idle_request.d.ts.map +1 -0
- package/dist/lib/requests/{ge_1_gripper_wait_until_idle_request.js → ge_1_x_gripper_wait_until_idle_request.js} +9 -8
- package/dist/lib/requests/ge_1_x_gripper_wait_until_idle_request.js.map +1 -0
- package/dist/lib/requests/ge_1_x_gripper_write_register_request.d.ts +15 -0
- package/dist/lib/requests/ge_1_x_gripper_write_register_request.d.ts.map +1 -0
- package/dist/lib/requests/{ge_1_gripper_read_register_request.js → ge_1_x_gripper_write_register_request.js} +14 -9
- package/dist/lib/requests/ge_1_x_gripper_write_register_request.js.map +1 -0
- package/dist/lib/requests/generic_binary_request.d.ts.map +1 -1
- package/dist/lib/requests/generic_binary_request.js +2 -1
- package/dist/lib/requests/generic_binary_request.js.map +1 -1
- package/dist/lib/requests/generic_command_request.d.ts.map +1 -1
- package/dist/lib/requests/generic_command_request.js +2 -1
- package/dist/lib/requests/generic_command_request.js.map +1 -1
- package/dist/lib/requests/generic_command_response_collection.d.ts.map +1 -1
- package/dist/lib/requests/generic_command_response_collection.js +2 -1
- package/dist/lib/requests/generic_command_response_collection.js.map +1 -1
- package/dist/lib/requests/get_all_io_port_labels_response.d.ts.map +1 -1
- package/dist/lib/requests/get_all_io_port_labels_response.js +2 -1
- package/dist/lib/requests/get_all_io_port_labels_response.js.map +1 -1
- package/dist/lib/requests/get_axis_setting_results.d.ts.map +1 -1
- package/dist/lib/requests/get_axis_setting_results.js +2 -1
- package/dist/lib/requests/get_axis_setting_results.js.map +1 -1
- package/dist/lib/requests/get_command_unit_conversion_response.d.ts.map +1 -1
- package/dist/lib/requests/get_command_unit_conversion_response.js +2 -1
- package/dist/lib/requests/get_command_unit_conversion_response.js.map +1 -1
- package/dist/lib/requests/get_io_port_label_request.d.ts.map +1 -1
- package/dist/lib/requests/get_io_port_label_request.js +2 -1
- package/dist/lib/requests/get_io_port_label_request.js.map +1 -1
- package/dist/lib/requests/get_setting_results.d.ts.map +1 -1
- package/dist/lib/requests/get_setting_results.js +2 -1
- package/dist/lib/requests/get_setting_results.js.map +1 -1
- package/dist/lib/requests/get_simple_tuning_param_definition_response.d.ts.map +1 -1
- package/dist/lib/requests/get_simple_tuning_param_definition_response.js +2 -1
- package/dist/lib/requests/get_simple_tuning_param_definition_response.js.map +1 -1
- package/dist/lib/requests/index.d.ts +17 -17
- package/dist/lib/requests/index.d.ts.map +1 -1
- package/dist/lib/requests/index.js +19 -18
- package/dist/lib/requests/index.js.map +1 -1
- package/dist/lib/requests/int_64_response.d.ts.map +1 -1
- package/dist/lib/requests/int_64_response.js +2 -1
- package/dist/lib/requests/int_64_response.js.map +1 -1
- package/dist/lib/requests/int_array_response.d.ts.map +1 -1
- package/dist/lib/requests/int_array_response.js +2 -1
- package/dist/lib/requests/int_array_response.js.map +1 -1
- package/dist/lib/requests/int_request.d.ts.map +1 -1
- package/dist/lib/requests/int_request.js +2 -1
- package/dist/lib/requests/int_request.js.map +1 -1
- package/dist/lib/requests/int_response.d.ts.map +1 -1
- package/dist/lib/requests/int_response.js +2 -1
- package/dist/lib/requests/int_response.js.map +1 -1
- package/dist/lib/requests/interface_empty_request.d.ts.map +1 -1
- package/dist/lib/requests/interface_empty_request.js +2 -1
- package/dist/lib/requests/interface_empty_request.js.map +1 -1
- package/dist/lib/requests/interface_type.d.ts.map +1 -1
- package/dist/lib/requests/interface_type.js +2 -1
- package/dist/lib/requests/interface_type.js.map +1 -1
- package/dist/lib/requests/load_paramset.d.ts.map +1 -1
- package/dist/lib/requests/load_paramset.js +2 -1
- package/dist/lib/requests/load_paramset.js.map +1 -1
- package/dist/lib/requests/lockstep_disable_request.d.ts.map +1 -1
- package/dist/lib/requests/lockstep_disable_request.js +2 -1
- package/dist/lib/requests/lockstep_disable_request.js.map +1 -1
- package/dist/lib/requests/lockstep_empty_request.d.ts.map +1 -1
- package/dist/lib/requests/lockstep_empty_request.js +2 -1
- package/dist/lib/requests/lockstep_empty_request.js.map +1 -1
- package/dist/lib/requests/lockstep_enable_request.d.ts.map +1 -1
- package/dist/lib/requests/lockstep_enable_request.js +2 -1
- package/dist/lib/requests/lockstep_enable_request.js.map +1 -1
- package/dist/lib/requests/lockstep_get_axis_numbers_response.d.ts.map +1 -1
- package/dist/lib/requests/lockstep_get_axis_numbers_response.js +2 -1
- package/dist/lib/requests/lockstep_get_axis_numbers_response.js.map +1 -1
- package/dist/lib/requests/lockstep_get_request.d.ts.map +1 -1
- package/dist/lib/requests/lockstep_get_request.js +2 -1
- package/dist/lib/requests/lockstep_get_request.js.map +1 -1
- package/dist/lib/requests/lockstep_home_request.d.ts.map +1 -1
- package/dist/lib/requests/lockstep_home_request.js +2 -1
- package/dist/lib/requests/lockstep_home_request.js.map +1 -1
- package/dist/lib/requests/lockstep_move_request.d.ts.map +1 -1
- package/dist/lib/requests/lockstep_move_request.js +2 -1
- package/dist/lib/requests/lockstep_move_request.js.map +1 -1
- package/dist/lib/requests/lockstep_move_sin_request.d.ts.map +1 -1
- package/dist/lib/requests/lockstep_move_sin_request.js +2 -1
- package/dist/lib/requests/lockstep_move_sin_request.js.map +1 -1
- package/dist/lib/requests/lockstep_set_request.d.ts.map +1 -1
- package/dist/lib/requests/lockstep_set_request.js +2 -1
- package/dist/lib/requests/lockstep_set_request.js.map +1 -1
- package/dist/lib/requests/lockstep_stop_request.d.ts.map +1 -1
- package/dist/lib/requests/lockstep_stop_request.js +2 -1
- package/dist/lib/requests/lockstep_stop_request.js.map +1 -1
- package/dist/lib/requests/lockstep_wait_until_idle_request.d.ts.map +1 -1
- package/dist/lib/requests/lockstep_wait_until_idle_request.js +2 -1
- package/dist/lib/requests/lockstep_wait_until_idle_request.js.map +1 -1
- package/dist/lib/requests/microscope_config_response.d.ts.map +1 -1
- package/dist/lib/requests/microscope_config_response.js +2 -1
- package/dist/lib/requests/microscope_config_response.js.map +1 -1
- package/dist/lib/requests/microscope_empty_request.d.ts.map +1 -1
- package/dist/lib/requests/microscope_empty_request.js +2 -1
- package/dist/lib/requests/microscope_empty_request.js.map +1 -1
- package/dist/lib/requests/microscope_find_request.d.ts.map +1 -1
- package/dist/lib/requests/microscope_find_request.js +2 -1
- package/dist/lib/requests/microscope_find_request.js.map +1 -1
- package/dist/lib/requests/microscope_init_request.d.ts.map +1 -1
- package/dist/lib/requests/microscope_init_request.js +2 -1
- package/dist/lib/requests/microscope_init_request.js.map +1 -1
- package/dist/lib/requests/microscope_trigger_camera_request.d.ts.map +1 -1
- package/dist/lib/requests/microscope_trigger_camera_request.js +2 -1
- package/dist/lib/requests/microscope_trigger_camera_request.js.map +1 -1
- package/dist/lib/requests/objective_changer_change_request.d.ts.map +1 -1
- package/dist/lib/requests/objective_changer_change_request.js +2 -1
- package/dist/lib/requests/objective_changer_change_request.js.map +1 -1
- package/dist/lib/requests/objective_changer_create_response.d.ts.map +1 -1
- package/dist/lib/requests/objective_changer_create_response.js +2 -1
- package/dist/lib/requests/objective_changer_create_response.js.map +1 -1
- package/dist/lib/requests/objective_changer_get_current_response.d.ts.map +1 -1
- package/dist/lib/requests/objective_changer_get_current_response.js +2 -1
- package/dist/lib/requests/objective_changer_get_current_response.js.map +1 -1
- package/dist/lib/requests/objective_changer_request.d.ts.map +1 -1
- package/dist/lib/requests/objective_changer_request.js +2 -1
- package/dist/lib/requests/objective_changer_request.js.map +1 -1
- package/dist/lib/requests/objective_changer_set_request.d.ts.map +1 -1
- package/dist/lib/requests/objective_changer_set_request.js +2 -1
- package/dist/lib/requests/objective_changer_set_request.js.map +1 -1
- package/dist/lib/requests/open_binary_interface_request.d.ts.map +1 -1
- package/dist/lib/requests/open_binary_interface_request.js +2 -1
- package/dist/lib/requests/open_binary_interface_request.js.map +1 -1
- package/dist/lib/requests/open_interface_request.d.ts.map +1 -1
- package/dist/lib/requests/open_interface_request.js +2 -1
- package/dist/lib/requests/open_interface_request.js.map +1 -1
- package/dist/lib/requests/open_interface_response.d.ts.map +1 -1
- package/dist/lib/requests/open_interface_response.js +2 -1
- package/dist/lib/requests/open_interface_response.js.map +1 -1
- package/dist/lib/requests/oscilloscope_add_io_channel_request.d.ts.map +1 -1
- package/dist/lib/requests/oscilloscope_add_io_channel_request.js +2 -1
- package/dist/lib/requests/oscilloscope_add_io_channel_request.js.map +1 -1
- package/dist/lib/requests/oscilloscope_add_setting_channel_request.d.ts.map +1 -1
- package/dist/lib/requests/oscilloscope_add_setting_channel_request.js +2 -1
- package/dist/lib/requests/oscilloscope_add_setting_channel_request.js.map +1 -1
- package/dist/lib/requests/oscilloscope_data_get_request.d.ts.map +1 -1
- package/dist/lib/requests/oscilloscope_data_get_request.js +2 -1
- package/dist/lib/requests/oscilloscope_data_get_request.js.map +1 -1
- package/dist/lib/requests/oscilloscope_data_get_sample_time_request.d.ts.map +1 -1
- package/dist/lib/requests/oscilloscope_data_get_sample_time_request.js +2 -1
- package/dist/lib/requests/oscilloscope_data_get_sample_time_request.js.map +1 -1
- package/dist/lib/requests/oscilloscope_data_get_samples_response.d.ts.map +1 -1
- package/dist/lib/requests/oscilloscope_data_get_samples_response.js +2 -1
- package/dist/lib/requests/oscilloscope_data_get_samples_response.js.map +1 -1
- package/dist/lib/requests/oscilloscope_data_identifier.d.ts.map +1 -1
- package/dist/lib/requests/oscilloscope_data_identifier.js +2 -1
- package/dist/lib/requests/oscilloscope_data_identifier.js.map +1 -1
- package/dist/lib/requests/oscilloscope_read_response.d.ts.map +1 -1
- package/dist/lib/requests/oscilloscope_read_response.js +2 -1
- package/dist/lib/requests/oscilloscope_read_response.js.map +1 -1
- package/dist/lib/requests/oscilloscope_request.d.ts.map +1 -1
- package/dist/lib/requests/oscilloscope_request.js +2 -1
- package/dist/lib/requests/oscilloscope_request.js.map +1 -1
- package/dist/lib/requests/oscilloscope_start_request.d.ts.map +1 -1
- package/dist/lib/requests/oscilloscope_start_request.js +2 -1
- package/dist/lib/requests/oscilloscope_start_request.js.map +1 -1
- package/dist/lib/requests/prepare_command_request.d.ts.map +1 -1
- package/dist/lib/requests/prepare_command_request.js +2 -1
- package/dist/lib/requests/prepare_command_request.js.map +1 -1
- package/dist/lib/requests/process_on.d.ts.map +1 -1
- package/dist/lib/requests/process_on.js +2 -1
- package/dist/lib/requests/process_on.js.map +1 -1
- package/dist/lib/requests/pvt_buffer_get_sequence_data_request.d.ts.map +1 -1
- package/dist/lib/requests/pvt_buffer_get_sequence_data_request.js +2 -1
- package/dist/lib/requests/pvt_buffer_get_sequence_data_request.js.map +1 -1
- package/dist/lib/requests/pvt_buffer_get_sequence_data_response.d.ts.map +1 -1
- package/dist/lib/requests/pvt_buffer_get_sequence_data_response.js +2 -1
- package/dist/lib/requests/pvt_buffer_get_sequence_data_response.js.map +1 -1
- package/dist/lib/requests/pvt_convert_time_request.d.ts.map +1 -1
- package/dist/lib/requests/pvt_convert_time_request.js +2 -1
- package/dist/lib/requests/pvt_convert_time_request.js.map +1 -1
- package/dist/lib/requests/pvt_convert_time_response.d.ts.map +1 -1
- package/dist/lib/requests/pvt_convert_time_response.js +2 -1
- package/dist/lib/requests/pvt_convert_time_response.js.map +1 -1
- package/dist/lib/requests/pvt_generate_positions_request.d.ts.map +1 -1
- package/dist/lib/requests/pvt_generate_positions_request.js +2 -1
- package/dist/lib/requests/pvt_generate_positions_request.js.map +1 -1
- package/dist/lib/requests/pvt_generate_sequence_response.d.ts.map +1 -1
- package/dist/lib/requests/pvt_generate_sequence_response.js +2 -1
- package/dist/lib/requests/pvt_generate_sequence_response.js.map +1 -1
- package/dist/lib/requests/pvt_generate_velocities_and_times_request.d.ts.map +1 -1
- package/dist/lib/requests/pvt_generate_velocities_and_times_request.js +2 -1
- package/dist/lib/requests/pvt_generate_velocities_and_times_request.js.map +1 -1
- package/dist/lib/requests/pvt_generate_velocities_request.d.ts.map +1 -1
- package/dist/lib/requests/pvt_generate_velocities_request.js +2 -1
- package/dist/lib/requests/pvt_generate_velocities_request.js.map +1 -1
- package/dist/lib/requests/pvt_items_request.d.ts.map +1 -1
- package/dist/lib/requests/pvt_items_request.js +2 -1
- package/dist/lib/requests/pvt_items_request.js.map +1 -1
- package/dist/lib/requests/pvt_load_csv_request.d.ts.map +1 -1
- package/dist/lib/requests/pvt_load_csv_request.js +2 -1
- package/dist/lib/requests/pvt_load_csv_request.js.map +1 -1
- package/dist/lib/requests/pvt_partial_convert_time_request.d.ts.map +1 -1
- package/dist/lib/requests/pvt_partial_convert_time_request.js +2 -1
- package/dist/lib/requests/pvt_partial_convert_time_request.js.map +1 -1
- package/dist/lib/requests/pvt_partial_convert_time_response.d.ts.map +1 -1
- package/dist/lib/requests/pvt_partial_convert_time_response.js +2 -1
- package/dist/lib/requests/pvt_partial_convert_time_response.js.map +1 -1
- package/dist/lib/requests/pvt_point_request.d.ts.map +1 -1
- package/dist/lib/requests/pvt_point_request.js +2 -1
- package/dist/lib/requests/pvt_point_request.js.map +1 -1
- package/dist/lib/requests/pvt_points_request.d.ts.map +1 -1
- package/dist/lib/requests/pvt_points_request.js +2 -1
- package/dist/lib/requests/pvt_points_request.js.map +1 -1
- package/dist/lib/requests/pvt_save_csv_request.d.ts.map +1 -1
- package/dist/lib/requests/pvt_save_csv_request.js +2 -1
- package/dist/lib/requests/pvt_save_csv_request.js.map +1 -1
- package/dist/lib/requests/pvt_submit_sequence_data_request.d.ts.map +1 -1
- package/dist/lib/requests/pvt_submit_sequence_data_request.js +2 -1
- package/dist/lib/requests/pvt_submit_sequence_data_request.js.map +1 -1
- package/dist/lib/requests/renumber_request.d.ts.map +1 -1
- package/dist/lib/requests/renumber_request.js +2 -1
- package/dist/lib/requests/renumber_request.js.map +1 -1
- package/dist/lib/requests/response_type.d.ts.map +1 -1
- package/dist/lib/requests/response_type.js +2 -1
- package/dist/lib/requests/response_type.js.map +1 -1
- package/dist/lib/requests/servo_tuning_paramset_response.d.ts.map +1 -1
- package/dist/lib/requests/servo_tuning_paramset_response.js +2 -1
- package/dist/lib/requests/servo_tuning_paramset_response.js.map +1 -1
- package/dist/lib/requests/servo_tuning_request.d.ts.map +1 -1
- package/dist/lib/requests/servo_tuning_request.js +2 -1
- package/dist/lib/requests/servo_tuning_request.js.map +1 -1
- package/dist/lib/requests/set_device_db_layered_sources_request.d.ts.map +1 -1
- package/dist/lib/requests/set_device_db_layered_sources_request.js +2 -1
- package/dist/lib/requests/set_device_db_layered_sources_request.js.map +1 -1
- package/dist/lib/requests/set_device_db_source_request.d.ts.map +1 -1
- package/dist/lib/requests/set_device_db_source_request.js +2 -1
- package/dist/lib/requests/set_device_db_source_request.js.map +1 -1
- package/dist/lib/requests/set_interface_checksum_enabled_request.d.ts.map +1 -1
- package/dist/lib/requests/set_interface_checksum_enabled_request.js +2 -1
- package/dist/lib/requests/set_interface_checksum_enabled_request.js.map +1 -1
- package/dist/lib/requests/set_interface_timeout_request.d.ts.map +1 -1
- package/dist/lib/requests/set_interface_timeout_request.js +2 -1
- package/dist/lib/requests/set_interface_timeout_request.js.map +1 -1
- package/dist/lib/requests/set_internal_mode_request.d.ts.map +1 -1
- package/dist/lib/requests/set_internal_mode_request.js +2 -1
- package/dist/lib/requests/set_internal_mode_request.js.map +1 -1
- package/dist/lib/requests/set_io_port_label_request.d.ts.map +1 -1
- package/dist/lib/requests/set_io_port_label_request.js +2 -1
- package/dist/lib/requests/set_io_port_label_request.js.map +1 -1
- package/dist/lib/requests/set_log_output_request.d.ts.map +1 -1
- package/dist/lib/requests/set_log_output_request.js +2 -1
- package/dist/lib/requests/set_log_output_request.js.map +1 -1
- package/dist/lib/requests/set_process_controller_source.d.ts.map +1 -1
- package/dist/lib/requests/set_process_controller_source.js +2 -1
- package/dist/lib/requests/set_process_controller_source.js.map +1 -1
- package/dist/lib/requests/set_servo_tuning_pid_request.d.ts.map +1 -1
- package/dist/lib/requests/set_servo_tuning_pid_request.js +2 -1
- package/dist/lib/requests/set_servo_tuning_pid_request.js.map +1 -1
- package/dist/lib/requests/set_servo_tuning_request.d.ts.map +1 -1
- package/dist/lib/requests/set_servo_tuning_request.js +2 -1
- package/dist/lib/requests/set_servo_tuning_request.js.map +1 -1
- package/dist/lib/requests/set_simple_tuning.d.ts +1 -0
- package/dist/lib/requests/set_simple_tuning.d.ts.map +1 -1
- package/dist/lib/requests/set_simple_tuning.js +7 -2
- package/dist/lib/requests/set_simple_tuning.js.map +1 -1
- package/dist/lib/requests/set_state_request.d.ts.map +1 -1
- package/dist/lib/requests/set_state_request.js +2 -1
- package/dist/lib/requests/set_state_request.js.map +1 -1
- package/dist/lib/requests/stream_arc_request.d.ts.map +1 -1
- package/dist/lib/requests/stream_arc_request.js +2 -1
- package/dist/lib/requests/stream_arc_request.js.map +1 -1
- package/dist/lib/requests/stream_buffer_erase_request.d.ts.map +1 -1
- package/dist/lib/requests/stream_buffer_erase_request.js +2 -1
- package/dist/lib/requests/stream_buffer_erase_request.js.map +1 -1
- package/dist/lib/requests/stream_buffer_get_content_request.d.ts.map +1 -1
- package/dist/lib/requests/stream_buffer_get_content_request.js +2 -1
- package/dist/lib/requests/stream_buffer_get_content_request.js.map +1 -1
- package/dist/lib/requests/stream_buffer_get_content_response.d.ts.map +1 -1
- package/dist/lib/requests/stream_buffer_get_content_response.js +2 -1
- package/dist/lib/requests/stream_buffer_get_content_response.js.map +1 -1
- package/dist/lib/requests/stream_buffer_list.d.ts.map +1 -1
- package/dist/lib/requests/stream_buffer_list.js +2 -1
- package/dist/lib/requests/stream_buffer_list.js.map +1 -1
- package/dist/lib/requests/stream_call_request.d.ts.map +1 -1
- package/dist/lib/requests/stream_call_request.js +2 -1
- package/dist/lib/requests/stream_call_request.js.map +1 -1
- package/dist/lib/requests/stream_cancel_all_outputs_schedule_request.d.ts.map +1 -1
- package/dist/lib/requests/stream_cancel_all_outputs_schedule_request.js +2 -1
- package/dist/lib/requests/stream_cancel_all_outputs_schedule_request.js.map +1 -1
- package/dist/lib/requests/stream_cancel_output_schedule_request.d.ts.map +1 -1
- package/dist/lib/requests/stream_cancel_output_schedule_request.js +2 -1
- package/dist/lib/requests/stream_cancel_output_schedule_request.js.map +1 -1
- package/dist/lib/requests/stream_circle_request.d.ts.map +1 -1
- package/dist/lib/requests/stream_circle_request.js +2 -1
- package/dist/lib/requests/stream_circle_request.js.map +1 -1
- package/dist/lib/requests/stream_empty_request.d.ts.map +1 -1
- package/dist/lib/requests/stream_empty_request.js +2 -1
- package/dist/lib/requests/stream_empty_request.js.map +1 -1
- package/dist/lib/requests/stream_generic_command_batch_request.d.ts.map +1 -1
- package/dist/lib/requests/stream_generic_command_batch_request.js +2 -1
- package/dist/lib/requests/stream_generic_command_batch_request.js.map +1 -1
- package/dist/lib/requests/stream_generic_command_request.d.ts.map +1 -1
- package/dist/lib/requests/stream_generic_command_request.js +2 -1
- package/dist/lib/requests/stream_generic_command_request.js.map +1 -1
- package/dist/lib/requests/stream_get_axes_response.d.ts.map +1 -1
- package/dist/lib/requests/stream_get_axes_response.js +2 -1
- package/dist/lib/requests/stream_get_axes_response.js.map +1 -1
- package/dist/lib/requests/stream_get_max_centripetal_acceleration_request.d.ts.map +1 -1
- package/dist/lib/requests/stream_get_max_centripetal_acceleration_request.js +2 -1
- package/dist/lib/requests/stream_get_max_centripetal_acceleration_request.js.map +1 -1
- package/dist/lib/requests/stream_get_max_speed_request.d.ts.map +1 -1
- package/dist/lib/requests/stream_get_max_speed_request.js +2 -1
- package/dist/lib/requests/stream_get_max_speed_request.js.map +1 -1
- package/dist/lib/requests/stream_get_max_tangential_acceleration_request.d.ts.map +1 -1
- package/dist/lib/requests/stream_get_max_tangential_acceleration_request.js +2 -1
- package/dist/lib/requests/stream_get_max_tangential_acceleration_request.js.map +1 -1
- package/dist/lib/requests/stream_line_request.d.ts.map +1 -1
- package/dist/lib/requests/stream_line_request.js +2 -1
- package/dist/lib/requests/stream_line_request.js.map +1 -1
- package/dist/lib/requests/stream_mode_response.d.ts.map +1 -1
- package/dist/lib/requests/stream_mode_response.js +2 -1
- package/dist/lib/requests/stream_mode_response.js.map +1 -1
- package/dist/lib/requests/stream_segment_type.d.ts.map +1 -1
- package/dist/lib/requests/stream_segment_type.js +2 -1
- package/dist/lib/requests/stream_segment_type.js.map +1 -1
- package/dist/lib/requests/stream_set_all_analog_outputs_request.d.ts.map +1 -1
- package/dist/lib/requests/stream_set_all_analog_outputs_request.js +2 -1
- package/dist/lib/requests/stream_set_all_analog_outputs_request.js.map +1 -1
- package/dist/lib/requests/stream_set_all_analog_outputs_schedule_request.d.ts.map +1 -1
- package/dist/lib/requests/stream_set_all_analog_outputs_schedule_request.js +2 -1
- package/dist/lib/requests/stream_set_all_analog_outputs_schedule_request.js.map +1 -1
- package/dist/lib/requests/stream_set_all_digital_outputs_request.d.ts.map +1 -1
- package/dist/lib/requests/stream_set_all_digital_outputs_request.js +2 -1
- package/dist/lib/requests/stream_set_all_digital_outputs_request.js.map +1 -1
- package/dist/lib/requests/stream_set_all_digital_outputs_schedule_request.d.ts.map +1 -1
- package/dist/lib/requests/stream_set_all_digital_outputs_schedule_request.js +2 -1
- package/dist/lib/requests/stream_set_all_digital_outputs_schedule_request.js.map +1 -1
- package/dist/lib/requests/stream_set_analog_output_request.d.ts.map +1 -1
- package/dist/lib/requests/stream_set_analog_output_request.js +2 -1
- package/dist/lib/requests/stream_set_analog_output_request.js.map +1 -1
- package/dist/lib/requests/stream_set_analog_output_schedule_request.d.ts.map +1 -1
- package/dist/lib/requests/stream_set_analog_output_schedule_request.js +2 -1
- package/dist/lib/requests/stream_set_analog_output_schedule_request.js.map +1 -1
- package/dist/lib/requests/stream_set_digital_output_request.d.ts.map +1 -1
- package/dist/lib/requests/stream_set_digital_output_request.js +2 -1
- package/dist/lib/requests/stream_set_digital_output_request.js.map +1 -1
- package/dist/lib/requests/stream_set_digital_output_schedule_request.d.ts.map +1 -1
- package/dist/lib/requests/stream_set_digital_output_schedule_request.js +2 -1
- package/dist/lib/requests/stream_set_digital_output_schedule_request.js.map +1 -1
- package/dist/lib/requests/stream_set_hold_request.d.ts.map +1 -1
- package/dist/lib/requests/stream_set_hold_request.js +2 -1
- package/dist/lib/requests/stream_set_hold_request.js.map +1 -1
- package/dist/lib/requests/stream_set_max_centripetal_acceleration_request.d.ts.map +1 -1
- package/dist/lib/requests/stream_set_max_centripetal_acceleration_request.js +2 -1
- package/dist/lib/requests/stream_set_max_centripetal_acceleration_request.js.map +1 -1
- package/dist/lib/requests/stream_set_max_speed_request.d.ts.map +1 -1
- package/dist/lib/requests/stream_set_max_speed_request.js +2 -1
- package/dist/lib/requests/stream_set_max_speed_request.js.map +1 -1
- package/dist/lib/requests/stream_set_max_tangential_acceleration_request.d.ts.map +1 -1
- package/dist/lib/requests/stream_set_max_tangential_acceleration_request.js +2 -1
- package/dist/lib/requests/stream_set_max_tangential_acceleration_request.js.map +1 -1
- package/dist/lib/requests/stream_setup_live_composite_request.d.ts.map +1 -1
- package/dist/lib/requests/stream_setup_live_composite_request.js +2 -1
- package/dist/lib/requests/stream_setup_live_composite_request.js.map +1 -1
- package/dist/lib/requests/stream_setup_live_request.d.ts.map +1 -1
- package/dist/lib/requests/stream_setup_live_request.js +2 -1
- package/dist/lib/requests/stream_setup_live_request.js.map +1 -1
- package/dist/lib/requests/stream_setup_store_arbitrary_axes_request.d.ts.map +1 -1
- package/dist/lib/requests/stream_setup_store_arbitrary_axes_request.js +2 -1
- package/dist/lib/requests/stream_setup_store_arbitrary_axes_request.js.map +1 -1
- package/dist/lib/requests/stream_setup_store_composite_request.d.ts.map +1 -1
- package/dist/lib/requests/stream_setup_store_composite_request.js +2 -1
- package/dist/lib/requests/stream_setup_store_composite_request.js.map +1 -1
- package/dist/lib/requests/stream_setup_store_request.d.ts.map +1 -1
- package/dist/lib/requests/stream_setup_store_request.js +2 -1
- package/dist/lib/requests/stream_setup_store_request.js.map +1 -1
- package/dist/lib/requests/stream_wait_analog_input_request.d.ts.map +1 -1
- package/dist/lib/requests/stream_wait_analog_input_request.js +2 -1
- package/dist/lib/requests/stream_wait_analog_input_request.js.map +1 -1
- package/dist/lib/requests/stream_wait_digital_input_request.d.ts.map +1 -1
- package/dist/lib/requests/stream_wait_digital_input_request.js +2 -1
- package/dist/lib/requests/stream_wait_digital_input_request.js.map +1 -1
- package/dist/lib/requests/stream_wait_request.d.ts.map +1 -1
- package/dist/lib/requests/stream_wait_request.js +2 -1
- package/dist/lib/requests/stream_wait_request.js.map +1 -1
- package/dist/lib/requests/stream_wait_until_idle_request.d.ts.map +1 -1
- package/dist/lib/requests/stream_wait_until_idle_request.js +2 -1
- package/dist/lib/requests/stream_wait_until_idle_request.js.map +1 -1
- package/dist/lib/requests/string_array_response.d.ts.map +1 -1
- package/dist/lib/requests/string_array_response.js +2 -1
- package/dist/lib/requests/string_array_response.js.map +1 -1
- package/dist/lib/requests/string_response.d.ts.map +1 -1
- package/dist/lib/requests/string_response.js +2 -1
- package/dist/lib/requests/string_response.js.map +1 -1
- package/dist/lib/requests/test_dto_with_variants.d.ts.map +1 -1
- package/dist/lib/requests/test_dto_with_variants.js +2 -1
- package/dist/lib/requests/test_dto_with_variants.js.map +1 -1
- package/dist/lib/requests/test_event.d.ts.map +1 -1
- package/dist/lib/requests/test_event.js +2 -1
- package/dist/lib/requests/test_event.js.map +1 -1
- package/dist/lib/requests/test_request.d.ts.map +1 -1
- package/dist/lib/requests/test_request.js +2 -1
- package/dist/lib/requests/test_request.js.map +1 -1
- package/dist/lib/requests/test_request_complex.d.ts +2 -0
- package/dist/lib/requests/test_request_complex.d.ts.map +1 -1
- package/dist/lib/requests/test_request_complex.js +15 -3
- package/dist/lib/requests/test_request_complex.js.map +1 -1
- package/dist/lib/requests/test_response.d.ts.map +1 -1
- package/dist/lib/requests/test_response.js +2 -1
- package/dist/lib/requests/test_response.js.map +1 -1
- package/dist/lib/requests/test_response_long.d.ts.map +1 -1
- package/dist/lib/requests/test_response_long.js +2 -1
- package/dist/lib/requests/test_response_long.js.map +1 -1
- package/dist/lib/requests/test_variant.d.ts.map +1 -1
- package/dist/lib/requests/test_variant.js.map +1 -1
- package/dist/lib/requests/toggle_device_db_store_request.d.ts.map +1 -1
- package/dist/lib/requests/toggle_device_db_store_request.js +2 -1
- package/dist/lib/requests/toggle_device_db_store_request.js.map +1 -1
- package/dist/lib/requests/tools_list_serial_ports_response.d.ts.map +1 -1
- package/dist/lib/requests/tools_list_serial_ports_response.js +2 -1
- package/dist/lib/requests/tools_list_serial_ports_response.js.map +1 -1
- package/dist/lib/requests/translator_create_from_device_request.d.ts.map +1 -1
- package/dist/lib/requests/translator_create_from_device_request.js +2 -1
- package/dist/lib/requests/translator_create_from_device_request.js.map +1 -1
- package/dist/lib/requests/translator_create_live_request.d.ts.map +1 -1
- package/dist/lib/requests/translator_create_live_request.js +2 -1
- package/dist/lib/requests/translator_create_live_request.js.map +1 -1
- package/dist/lib/requests/translator_create_request.d.ts.map +1 -1
- package/dist/lib/requests/translator_create_request.js +2 -1
- package/dist/lib/requests/translator_create_request.js.map +1 -1
- package/dist/lib/requests/translator_create_response.d.ts.map +1 -1
- package/dist/lib/requests/translator_create_response.js +2 -1
- package/dist/lib/requests/translator_create_response.js.map +1 -1
- package/dist/lib/requests/translator_empty_request.d.ts.map +1 -1
- package/dist/lib/requests/translator_empty_request.js +2 -1
- package/dist/lib/requests/translator_empty_request.js.map +1 -1
- package/dist/lib/requests/translator_flush_live_request.d.ts.map +1 -1
- package/dist/lib/requests/translator_flush_live_request.js +2 -1
- package/dist/lib/requests/translator_flush_live_request.js.map +1 -1
- package/dist/lib/requests/translator_flush_response.d.ts.map +1 -1
- package/dist/lib/requests/translator_flush_response.js +2 -1
- package/dist/lib/requests/translator_flush_response.js.map +1 -1
- package/dist/lib/requests/translator_get_axis_offset_request.d.ts.map +1 -1
- package/dist/lib/requests/translator_get_axis_offset_request.js +2 -1
- package/dist/lib/requests/translator_get_axis_offset_request.js.map +1 -1
- package/dist/lib/requests/translator_get_axis_position_request.d.ts.map +1 -1
- package/dist/lib/requests/translator_get_axis_position_request.js +2 -1
- package/dist/lib/requests/translator_get_axis_position_request.js.map +1 -1
- package/dist/lib/requests/translator_set_axis_position_request.d.ts.map +1 -1
- package/dist/lib/requests/translator_set_axis_position_request.js +2 -1
- package/dist/lib/requests/translator_set_axis_position_request.js.map +1 -1
- package/dist/lib/requests/translator_set_feed_rate_override_request.d.ts.map +1 -1
- package/dist/lib/requests/translator_set_feed_rate_override_request.js +2 -1
- package/dist/lib/requests/translator_set_feed_rate_override_request.js.map +1 -1
- package/dist/lib/requests/translator_set_traverse_rate_request.d.ts.map +1 -1
- package/dist/lib/requests/translator_set_traverse_rate_request.js +2 -1
- package/dist/lib/requests/translator_set_traverse_rate_request.js.map +1 -1
- package/dist/lib/requests/translator_translate_request.d.ts.map +1 -1
- package/dist/lib/requests/translator_translate_request.js +2 -1
- package/dist/lib/requests/translator_translate_request.js.map +1 -1
- package/dist/lib/requests/trigger_clear_action_request.d.ts.map +1 -1
- package/dist/lib/requests/trigger_clear_action_request.js +2 -1
- package/dist/lib/requests/trigger_clear_action_request.js.map +1 -1
- package/dist/lib/requests/trigger_empty_request.d.ts.map +1 -1
- package/dist/lib/requests/trigger_empty_request.js +2 -1
- package/dist/lib/requests/trigger_empty_request.js.map +1 -1
- package/dist/lib/requests/trigger_enable_request.d.ts.map +1 -1
- package/dist/lib/requests/trigger_enable_request.js +2 -1
- package/dist/lib/requests/trigger_enable_request.js.map +1 -1
- package/dist/lib/requests/trigger_enabled_states.d.ts.map +1 -1
- package/dist/lib/requests/trigger_enabled_states.js +2 -1
- package/dist/lib/requests/trigger_enabled_states.js.map +1 -1
- package/dist/lib/requests/trigger_fire_at_interval_request.d.ts.map +1 -1
- package/dist/lib/requests/trigger_fire_at_interval_request.js +2 -1
- package/dist/lib/requests/trigger_fire_at_interval_request.js.map +1 -1
- package/dist/lib/requests/trigger_fire_when_distance_travelled_request.d.ts.map +1 -1
- package/dist/lib/requests/trigger_fire_when_distance_travelled_request.js +2 -1
- package/dist/lib/requests/trigger_fire_when_distance_travelled_request.js.map +1 -1
- package/dist/lib/requests/trigger_fire_when_io_request.d.ts.map +1 -1
- package/dist/lib/requests/trigger_fire_when_io_request.js +2 -1
- package/dist/lib/requests/trigger_fire_when_io_request.js.map +1 -1
- package/dist/lib/requests/trigger_fire_when_request.d.ts.map +1 -1
- package/dist/lib/requests/trigger_fire_when_request.js +2 -1
- package/dist/lib/requests/trigger_fire_when_request.js.map +1 -1
- package/dist/lib/requests/trigger_fire_when_setting_request.d.ts.map +1 -1
- package/dist/lib/requests/trigger_fire_when_setting_request.js +2 -1
- package/dist/lib/requests/trigger_fire_when_setting_request.js.map +1 -1
- package/dist/lib/requests/trigger_on_fire_request.d.ts.map +1 -1
- package/dist/lib/requests/trigger_on_fire_request.js +2 -1
- package/dist/lib/requests/trigger_on_fire_request.js.map +1 -1
- package/dist/lib/requests/trigger_on_fire_set_request.d.ts.map +1 -1
- package/dist/lib/requests/trigger_on_fire_set_request.js +2 -1
- package/dist/lib/requests/trigger_on_fire_set_request.js.map +1 -1
- package/dist/lib/requests/trigger_on_fire_set_to_setting_request.d.ts.map +1 -1
- package/dist/lib/requests/trigger_on_fire_set_to_setting_request.js +2 -1
- package/dist/lib/requests/trigger_on_fire_set_to_setting_request.js.map +1 -1
- package/dist/lib/requests/trigger_set_label_request.d.ts.map +1 -1
- package/dist/lib/requests/trigger_set_label_request.js +2 -1
- package/dist/lib/requests/trigger_set_label_request.js.map +1 -1
- package/dist/lib/requests/trigger_states.d.ts.map +1 -1
- package/dist/lib/requests/trigger_states.js +2 -1
- package/dist/lib/requests/trigger_states.js.map +1 -1
- package/dist/lib/requests/unit_convert_native_request.d.ts.map +1 -1
- package/dist/lib/requests/unit_convert_native_request.js +2 -1
- package/dist/lib/requests/unit_convert_native_request.js.map +1 -1
- package/dist/lib/requests/unit_convert_unit_request.d.ts.map +1 -1
- package/dist/lib/requests/unit_convert_unit_request.js +2 -1
- package/dist/lib/requests/unit_convert_unit_request.js.map +1 -1
- package/dist/lib/requests/unit_get_enum_request.d.ts.map +1 -1
- package/dist/lib/requests/unit_get_enum_request.js +2 -1
- package/dist/lib/requests/unit_get_enum_request.js.map +1 -1
- package/dist/lib/requests/unit_get_enum_response.d.ts.map +1 -1
- package/dist/lib/requests/unit_get_enum_response.js +2 -1
- package/dist/lib/requests/unit_get_enum_response.js.map +1 -1
- package/dist/lib/requests/unit_get_symbol_request.d.ts.map +1 -1
- package/dist/lib/requests/unit_get_symbol_request.js +2 -1
- package/dist/lib/requests/unit_get_symbol_request.js.map +1 -1
- package/dist/lib/requests/unit_get_symbol_response.d.ts.map +1 -1
- package/dist/lib/requests/unit_get_symbol_response.js +2 -1
- package/dist/lib/requests/unit_get_symbol_response.js.map +1 -1
- package/dist/lib/requests/unknown_binary_response_event_wrapper.d.ts.map +1 -1
- package/dist/lib/requests/unknown_binary_response_event_wrapper.js +2 -1
- package/dist/lib/requests/unknown_binary_response_event_wrapper.js.map +1 -1
- package/dist/lib/requests/unknown_response_event_wrapper.d.ts.map +1 -1
- package/dist/lib/requests/unknown_response_event_wrapper.js +2 -1
- package/dist/lib/requests/unknown_response_event_wrapper.js.map +1 -1
- package/dist/lib/requests/wait_to_clear_warnings_request.d.ts.map +1 -1
- package/dist/lib/requests/wait_to_clear_warnings_request.js +2 -1
- package/dist/lib/requests/wait_to_clear_warnings_request.js.map +1 -1
- package/dist/lib/requests/wait_to_respond_request.d.ts.map +1 -1
- package/dist/lib/requests/wait_to_respond_request.js +2 -1
- package/dist/lib/requests/wait_to_respond_request.js.map +1 -1
- package/dist/lib/requests/wdi_generic_float_request.d.ts.map +1 -1
- package/dist/lib/requests/wdi_generic_float_request.js +2 -1
- package/dist/lib/requests/wdi_generic_float_request.js.map +1 -1
- package/dist/lib/requests/wdi_generic_request.d.ts.map +1 -1
- package/dist/lib/requests/wdi_generic_request.js +2 -1
- package/dist/lib/requests/wdi_generic_request.js.map +1 -1
- package/dist/lib/requests/wdi_get_status_response.d.ts.map +1 -1
- package/dist/lib/requests/wdi_get_status_response.js +2 -1
- package/dist/lib/requests/wdi_get_status_response.js.map +1 -1
- package/dist/lib/rotation_direction.d.ts.map +1 -1
- package/dist/lib/rotation_direction.js +2 -1
- package/dist/lib/rotation_direction.js.map +1 -1
- package/dist/lib/tools.js +2 -2
- package/dist/lib/tools.js.map +1 -1
- package/dist/lib/unit_conversion_descriptor.d.ts.map +1 -1
- package/dist/lib/unit_conversion_descriptor.js +2 -1
- package/dist/lib/unit_conversion_descriptor.js.map +1 -1
- package/dist/lib/unit_table.js +2 -2
- package/dist/lib/unit_table.js.map +1 -1
- package/dist/lib/variant_test_api.js +2 -2
- package/dist/lib/variant_test_api.js.map +1 -1
- package/package.json +1 -1
- package/dist/lib/exceptions/ge_1_gripper_movement_failed_exception.d.ts +0 -8
- package/dist/lib/exceptions/ge_1_gripper_movement_failed_exception.d.ts.map +0 -1
- package/dist/lib/exceptions/ge_1_gripper_movement_failed_exception.js +0 -17
- package/dist/lib/exceptions/ge_1_gripper_movement_failed_exception.js.map +0 -1
- package/dist/lib/product/ge_1_gripper.d.ts.map +0 -1
- package/dist/lib/product/ge_1_gripper.js.map +0 -1
- package/dist/lib/product/ge_1_gripper_direction.d.ts +0 -15
- package/dist/lib/product/ge_1_gripper_direction.d.ts.map +0 -1
- package/dist/lib/product/ge_1_gripper_direction.js +0 -23
- package/dist/lib/product/ge_1_gripper_direction.js.map +0 -1
- package/dist/lib/product/ge_1_gripper_error.d.ts.map +0 -1
- package/dist/lib/product/ge_1_gripper_error.js +0 -45
- package/dist/lib/product/ge_1_gripper_error.js.map +0 -1
- package/dist/lib/product/ge_1_gripper_state.d.ts.map +0 -1
- package/dist/lib/product/ge_1_gripper_state.js +0 -31
- package/dist/lib/product/ge_1_gripper_state.js.map +0 -1
- package/dist/lib/requests/ge_1_gripper_activate_preset_request.d.ts +0 -15
- package/dist/lib/requests/ge_1_gripper_activate_preset_request.d.ts.map +0 -1
- package/dist/lib/requests/ge_1_gripper_activate_preset_request.js.map +0 -1
- package/dist/lib/requests/ge_1_gripper_calibrate_request.d.ts +0 -14
- package/dist/lib/requests/ge_1_gripper_calibrate_request.d.ts.map +0 -1
- package/dist/lib/requests/ge_1_gripper_calibrate_request.js.map +0 -1
- package/dist/lib/requests/ge_1_gripper_empty_request.d.ts +0 -13
- package/dist/lib/requests/ge_1_gripper_empty_request.d.ts.map +0 -1
- package/dist/lib/requests/ge_1_gripper_empty_request.js.map +0 -1
- package/dist/lib/requests/ge_1_gripper_get_error_response.d.ts +0 -14
- package/dist/lib/requests/ge_1_gripper_get_error_response.d.ts.map +0 -1
- package/dist/lib/requests/ge_1_gripper_get_error_response.js +0 -35
- package/dist/lib/requests/ge_1_gripper_get_error_response.js.map +0 -1
- package/dist/lib/requests/ge_1_gripper_get_state_response.d.ts +0 -14
- package/dist/lib/requests/ge_1_gripper_get_state_response.d.ts.map +0 -1
- package/dist/lib/requests/ge_1_gripper_get_state_response.js +0 -35
- package/dist/lib/requests/ge_1_gripper_get_state_response.js.map +0 -1
- package/dist/lib/requests/ge_1_gripper_move_request.d.ts +0 -15
- package/dist/lib/requests/ge_1_gripper_move_request.d.ts.map +0 -1
- package/dist/lib/requests/ge_1_gripper_move_request.js.map +0 -1
- package/dist/lib/requests/ge_1_gripper_open_connection_request.d.ts +0 -15
- package/dist/lib/requests/ge_1_gripper_open_connection_request.d.ts.map +0 -1
- package/dist/lib/requests/ge_1_gripper_open_connection_request.js.map +0 -1
- package/dist/lib/requests/ge_1_gripper_read_register_request.d.ts +0 -14
- package/dist/lib/requests/ge_1_gripper_read_register_request.d.ts.map +0 -1
- package/dist/lib/requests/ge_1_gripper_read_register_request.js.map +0 -1
- package/dist/lib/requests/ge_1_gripper_set_auto_home_request.d.ts +0 -15
- package/dist/lib/requests/ge_1_gripper_set_auto_home_request.d.ts.map +0 -1
- package/dist/lib/requests/ge_1_gripper_set_auto_home_request.js.map +0 -1
- package/dist/lib/requests/ge_1_gripper_set_force_request.d.ts +0 -14
- package/dist/lib/requests/ge_1_gripper_set_force_request.d.ts.map +0 -1
- package/dist/lib/requests/ge_1_gripper_set_force_request.js.map +0 -1
- package/dist/lib/requests/ge_1_gripper_set_home_direction_request.d.ts +0 -16
- package/dist/lib/requests/ge_1_gripper_set_home_direction_request.d.ts.map +0 -1
- package/dist/lib/requests/ge_1_gripper_set_home_direction_request.js.map +0 -1
- package/dist/lib/requests/ge_1_gripper_set_io_enabled_request.d.ts +0 -15
- package/dist/lib/requests/ge_1_gripper_set_io_enabled_request.d.ts.map +0 -1
- package/dist/lib/requests/ge_1_gripper_set_io_enabled_request.js.map +0 -1
- package/dist/lib/requests/ge_1_gripper_set_io_input_filter_request.d.ts +0 -15
- package/dist/lib/requests/ge_1_gripper_set_io_input_filter_request.d.ts.map +0 -1
- package/dist/lib/requests/ge_1_gripper_set_io_input_filter_request.js.map +0 -1
- package/dist/lib/requests/ge_1_gripper_set_preset_request.d.ts +0 -18
- package/dist/lib/requests/ge_1_gripper_set_preset_request.d.ts.map +0 -1
- package/dist/lib/requests/ge_1_gripper_set_preset_request.js.map +0 -1
- package/dist/lib/requests/ge_1_gripper_set_speed_request.d.ts +0 -14
- package/dist/lib/requests/ge_1_gripper_set_speed_request.d.ts.map +0 -1
- package/dist/lib/requests/ge_1_gripper_set_speed_request.js.map +0 -1
- package/dist/lib/requests/ge_1_gripper_wait_until_idle_request.d.ts +0 -14
- package/dist/lib/requests/ge_1_gripper_wait_until_idle_request.d.ts.map +0 -1
- package/dist/lib/requests/ge_1_gripper_wait_until_idle_request.js.map +0 -1
- package/dist/lib/requests/ge_1_gripper_write_register_request.d.ts +0 -15
- package/dist/lib/requests/ge_1_gripper_write_register_request.d.ts.map +0 -1
- package/dist/lib/requests/ge_1_gripper_write_register_request.js.map +0 -1
package/LICENSE
CHANGED
|
@@ -1158,31 +1158,6 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
|
1158
1158
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
1159
1159
|
SOFTWARE.
|
|
1160
1160
|
|
|
1161
|
-
------------------
|
|
1162
|
-
github.com/stretchr/testify v1.7.1
|
|
1163
|
-
------------------
|
|
1164
|
-
MIT License
|
|
1165
|
-
|
|
1166
|
-
Copyright (c) 2012-2020 Mat Ryer, Tyler Bunnell and contributors.
|
|
1167
|
-
|
|
1168
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
1169
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
1170
|
-
in the Software without restriction, including without limitation the rights
|
|
1171
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
1172
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
1173
|
-
furnished to do so, subject to the following conditions:
|
|
1174
|
-
|
|
1175
|
-
The above copyright notice and this permission notice shall be included in all
|
|
1176
|
-
copies or substantial portions of the Software.
|
|
1177
|
-
|
|
1178
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
1179
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
1180
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
1181
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
1182
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
1183
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
1184
|
-
SOFTWARE.
|
|
1185
|
-
|
|
1186
1161
|
------------------
|
|
1187
1162
|
github.com/zabertech/go-ethereum v1.10.4-rpc-2 (fork github.com/ethereum/go-ethereum)
|
|
1188
1163
|
------------------
|
|
@@ -2219,7 +2194,7 @@ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
|
2219
2194
|
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
2220
2195
|
|
|
2221
2196
|
------------------
|
|
2222
|
-
golang.org/x/net v0.0.0-
|
|
2197
|
+
golang.org/x/net v0.0.0-20220722155237-a158d28d115b
|
|
2223
2198
|
------------------
|
|
2224
2199
|
Copyright (c) 2009 The Go Authors. All rights reserved.
|
|
2225
2200
|
|
|
@@ -2312,7 +2287,7 @@ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
|
2312
2287
|
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
2313
2288
|
|
|
2314
2289
|
------------------
|
|
2315
|
-
golang.org/x/text v0.3.
|
|
2290
|
+
golang.org/x/text v0.3.7
|
|
2316
2291
|
------------------
|
|
2317
2292
|
Copyright (c) 2009 The Go Authors. All rights reserved.
|
|
2318
2293
|
|
|
@@ -2399,60 +2374,6 @@ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
|
|
2399
2374
|
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
|
2400
2375
|
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
2401
2376
|
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
2402
|
-
------------------
|
|
2403
|
-
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c
|
|
2404
|
-
------------------
|
|
2405
|
-
|
|
2406
|
-
This project is covered by two different licenses: MIT and Apache.
|
|
2407
|
-
|
|
2408
|
-
#### MIT License ####
|
|
2409
|
-
|
|
2410
|
-
The following files were ported to Go from C files of libyaml, and thus
|
|
2411
|
-
are still covered by their original MIT license, with the additional
|
|
2412
|
-
copyright staring in 2011 when the project was ported over:
|
|
2413
|
-
|
|
2414
|
-
apic.go emitterc.go parserc.go readerc.go scannerc.go
|
|
2415
|
-
writerc.go yamlh.go yamlprivateh.go
|
|
2416
|
-
|
|
2417
|
-
Copyright (c) 2006-2010 Kirill Simonov
|
|
2418
|
-
Copyright (c) 2006-2011 Kirill Simonov
|
|
2419
|
-
|
|
2420
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
2421
|
-
this software and associated documentation files (the "Software"), to deal in
|
|
2422
|
-
the Software without restriction, including without limitation the rights to
|
|
2423
|
-
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
|
|
2424
|
-
of the Software, and to permit persons to whom the Software is furnished to do
|
|
2425
|
-
so, subject to the following conditions:
|
|
2426
|
-
|
|
2427
|
-
The above copyright notice and this permission notice shall be included in all
|
|
2428
|
-
copies or substantial portions of the Software.
|
|
2429
|
-
|
|
2430
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
2431
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
2432
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
2433
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
2434
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
2435
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
2436
|
-
SOFTWARE.
|
|
2437
|
-
|
|
2438
|
-
### Apache License ###
|
|
2439
|
-
|
|
2440
|
-
All the remaining project files are covered by the Apache license:
|
|
2441
|
-
|
|
2442
|
-
Copyright (c) 2011-2019 Canonical Ltd
|
|
2443
|
-
|
|
2444
|
-
Licensed under the Apache License, Version 2.0 (the "License");
|
|
2445
|
-
you may not use this file except in compliance with the License.
|
|
2446
|
-
You may obtain a copy of the License at
|
|
2447
|
-
|
|
2448
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
|
2449
|
-
|
|
2450
|
-
Unless required by applicable law or agreed to in writing, software
|
|
2451
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
|
2452
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
2453
|
-
See the License for the specific language governing permissions and
|
|
2454
|
-
limitations under the License.
|
|
2455
|
-
|
|
2456
2377
|
------------------
|
|
2457
2378
|
gotest.tools v2.2.0+incompatible
|
|
2458
2379
|
------------------
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"alert_event.d.ts","sourceRoot":"","sources":["../../../src/ascii/alert_event.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"alert_event.d.ts","sourceRoot":"","sources":["../../../src/ascii/alert_event.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAG5B;;GAEG;AACH,MAAM,WAAW,UAAU;IACzB;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;CAEd;AAED,eAAO,MAAM,UAAU;yBACA,UAAU,KAAG,UAAU;sBAE1B,UAAU,KAAG,UAAU;;sBAUvB,UAAU,KAAG,UAAU;qBAYxB,KAAK,QAAQ,KAAG,UAAU;iBAQ9B,GAAG;CAYjB,CAAC"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.AlertEvent = void 0;
|
|
4
|
-
|
|
4
|
+
// ===== THIS FILE IS GENERATED FROM A TEMPLATE ===== //
|
|
5
|
+
// ============== DO NOT EDIT DIRECTLY ============== //
|
|
5
6
|
const bson_1 = require("bson");
|
|
6
7
|
const sanitizer_1 = require("../gateway/sanitizer");
|
|
7
8
|
exports.AlertEvent = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"alert_event.js","sourceRoot":"","sources":["../../../src/ascii/alert_event.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"alert_event.js","sourceRoot":"","sources":["../../../src/ascii/alert_event.ts"],"names":[],"mappings":";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CAAC;IACJ,CAAC;IAED,OAAO,EAAE,CAAC,KAAoB,EAAc,EAAE,CAAC,CAAC;QAC9C,aAAa,EAAE,KAAK,CAAC,aAAa;QAClC,UAAU,EAAE,KAAK,CAAC,UAAU;QAC5B,MAAM,EAAE,KAAK,CAAC,MAAM;QACpB,WAAW,EAAE,KAAK,CAAC,WAAW;QAC9B,IAAI,EAAE,KAAK,CAAC,IAAI;KACjB,CAAC;IAEF,GAAG,EAAE,CAAC,KAAU,EAAuB,EAAE;QACvC,MAAM,SAAS,GAAG,KAAmB,CAAC;QACtC,OAAO,CACL,KAAK,IAAI,IAAI;YACb,OAAO,KAAK,KAAK,QAAQ;YACzB,qBAAS,CAAC,KAAK,CAAC,SAAS,CAAC,aAAa,CAAC;YACxC,qBAAS,CAAC,KAAK,CAAC,SAAS,CAAC,UAAU,CAAC;YACrC,qBAAS,CAAC,QAAQ,CAAC,SAAS,CAAC,MAAM,CAAC;YACpC,qBAAS,CAAC,QAAQ,CAAC,SAAS,CAAC,WAAW,CAAC;YACzC,qBAAS,CAAC,QAAQ,CAAC,SAAS,CAAC,IAAI,CAAC,CACnC,CAAC;IACJ,CAAC;CACF,CAAC","sourcesContent":["// ===== THIS FILE IS GENERATED FROM A TEMPLATE ===== //\n// ============== DO NOT EDIT DIRECTLY ============== //\nimport { BSON } from 'bson';\nimport { sanitizer } from '../gateway/sanitizer';\n\n/**\n * Alert message received from the device.\n */\nexport interface AlertEvent {\n /**\n * Number of the device that sent the message.\n */\n deviceAddress: number;\n\n /**\n * Number of the axis which the response applies to. Zero denotes device scope.\n */\n axisNumber: number;\n\n /**\n * The device status contains BUSY when the axis is moving and IDLE otherwise.\n */\n status: string;\n\n /**\n * The warning flag contains the highest priority warning currently active for the device or axis.\n */\n warningFlag: string;\n\n /**\n * Response data which varies depending on the request.\n */\n data: string;\n\n}\n\nexport const AlertEvent = {\n fromBinary: (buffer: Uint8Array): AlertEvent => AlertEvent.convert(BSON.deserialize(buffer, { useBigInt64: true })),\n\n toBinary: (value: AlertEvent): Uint8Array => BSON.serialize(AlertEvent.sanitize(value)),\n\n DEFAULT: Object.freeze({\n deviceAddress: 0,\n axisNumber: 0,\n status: '',\n warningFlag: '',\n data: '',\n }) as Readonly<AlertEvent>,\n\n sanitize: (value: AlertEvent): AlertEvent => {\n if (value == null) { throw new TypeError('Expected AlertEvent object but got null or undefined.') }\n if (typeof value !== 'object') { throw new TypeError(`Expected AlertEvent object but got ${typeof value}.`) }\n return {\n deviceAddress: sanitizer.sanitizeInt(value.deviceAddress, 'deviceAddress'),\n axisNumber: sanitizer.sanitizeInt(value.axisNumber, 'axisNumber'),\n status: sanitizer.sanitizeString(value.status, 'status'),\n warningFlag: sanitizer.sanitizeString(value.warningFlag, 'warningFlag'),\n data: sanitizer.sanitizeString(value.data, 'data'),\n };\n },\n\n convert: (value: BSON.Document): AlertEvent => ({\n deviceAddress: value.deviceAddress,\n axisNumber: value.axisNumber,\n status: value.status,\n warningFlag: value.warningFlag,\n data: value.data,\n }),\n\n isA: (value: any): value is AlertEvent => {\n const castValue = value as AlertEvent;\n return (\n value != null &&\n typeof value === 'object' &&\n sanitizer.isInt(castValue.deviceAddress) &&\n sanitizer.isInt(castValue.axisNumber) &&\n sanitizer.isString(castValue.status) &&\n sanitizer.isString(castValue.warningFlag) &&\n sanitizer.isString(castValue.data)\n );\n },\n};\n"]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
//
|
|
3
|
-
//
|
|
2
|
+
// ===== THIS FILE IS GENERATED FROM A TEMPLATE ===== //
|
|
3
|
+
// ============== DO NOT EDIT DIRECTLY ============== //
|
|
4
4
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
5
|
if (k2 === undefined) k2 = k;
|
|
6
6
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"all_axes.js","sourceRoot":"","sources":["../../../src/ascii/all_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I,CAAC,MAAM,CAAC,aAAa;YACjC,IAAI,EAAE,CAAC;YACP,QAAQ;gBACN,OAAO,QAAQ,CAAC,gBAAgB,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;YAClD,CAAC;SACF,CAAC;QAEF,MAAM,QAAQ,GAAG,OAAO,CAAC,QAAQ,CAC/B,2BAA2B,EAC3B,OAAO,EACP,QAAQ,CAAC,cAAc,CAAC,UAAU,CAAC,CAAC;QACtC,OAAO,QAAQ,CAAC,KAAK,CAAC;IACxB,CAAC;CACF;AAnOD,0BAmOC","sourcesContent":["// ==== THIS FILE IS GENERATED FROM A TEMPLATE ==== //\n// ============= DO NOT EDIT DIRECTLY ============= //\n\nimport * as gateway from '../gateway';\nimport * as requests from '../requests';\nimport { Device } from './device';\n\n/**\n * Represents all axes of motion associated with a device.\n */\nexport class AllAxes {\n /**\n * Device that controls this axis.\n */\n public get device(): Device {\n return this._device;\n }\n private _device: Device;\n\n constructor(device: Device) {\n this._device = device;\n }\n\n /**\n * Homes all axes. Axes return to their homing positions.\n * @param [options.waitUntilIdle=true] Determines whether function should return after the movement is finished or just started.\n */\n public async home(\n options: AllAxes.HomeOptions = {}\n ): Promise<void> {\n const {\n waitUntilIdle = true,\n } = options;\n const request: requests.DeviceHomeRequest & gateway.Message = {\n ...requests.DeviceHomeRequest.DEFAULT,\n interfaceId: this.device.connection.interfaceId,\n device: this.device.deviceAddress,\n axis: 0,\n waitUntilIdle: waitUntilIdle,\n toBinary() {\n return requests.DeviceHomeRequest.toBinary(this);\n },\n };\n\n await gateway.callAsync('device/home', request);\n }\n\n /**\n * Stops ongoing axes movement. Decelerates until zero speed.\n * @param [options.waitUntilIdle=true] Determines whether function should return after the movement is finished or just started.\n */\n public async stop(\n options: AllAxes.StopOptions = {}\n ): Promise<void> {\n const {\n waitUntilIdle = true,\n } = options;\n const request: requests.DeviceStopRequest & gateway.Message = {\n ...requests.DeviceStopRequest.DEFAULT,\n interfaceId: this.device.connection.interfaceId,\n device: this.device.deviceAddress,\n axis: 0,\n waitUntilIdle: waitUntilIdle,\n toBinary() {\n return requests.DeviceStopRequest.toBinary(this);\n },\n };\n\n await gateway.callAsync('device/stop', request);\n }\n\n /**\n * Waits until all axes of device stop moving.\n * @param [options.throwErrorOnFault=true] Determines whether to throw error when fault is observed.\n */\n public async waitUntilIdle(\n options: AllAxes.WaitUntilIdleOptions = {}\n ): Promise<void> {\n const {\n throwErrorOnFault = true,\n } = options;\n const request: requests.DeviceWaitUntilIdleRequest & gateway.Message = {\n ...requests.DeviceWaitUntilIdleRequest.DEFAULT,\n interfaceId: this.device.connection.interfaceId,\n device: this.device.deviceAddress,\n axis: 0,\n throwErrorOnFault: throwErrorOnFault,\n toBinary() {\n return requests.DeviceWaitUntilIdleRequest.toBinary(this);\n },\n };\n\n await gateway.callAsync('device/wait_until_idle', request);\n }\n\n /**\n * Parks the device in anticipation of turning the power off.\n * It can later be powered on, unparked, and moved without first having to home it.\n */\n public async park(): Promise<void> {\n const request: requests.AxisEmptyRequest & gateway.Message = {\n ...requests.AxisEmptyRequest.DEFAULT,\n interfaceId: this.device.connection.interfaceId,\n device: this.device.deviceAddress,\n axis: 0,\n toBinary() {\n return requests.AxisEmptyRequest.toBinary(this);\n },\n };\n\n await gateway.callAsync('device/park', request);\n }\n\n /**\n * Unparks the device. The device will now be able to move.\n */\n public async unpark(): Promise<void> {\n const request: requests.AxisEmptyRequest & gateway.Message = {\n ...requests.AxisEmptyRequest.DEFAULT,\n interfaceId: this.device.connection.interfaceId,\n device: this.device.deviceAddress,\n axis: 0,\n toBinary() {\n return requests.AxisEmptyRequest.toBinary(this);\n },\n };\n\n await gateway.callAsync('device/unpark', request);\n }\n\n /**\n * Returns bool indicating whether any axis is executing a motion command.\n * @returns True if any axis is currently executing a motion command.\n */\n public async isBusy(): Promise<boolean> {\n const request: requests.AxisEmptyRequest & gateway.Message = {\n ...requests.AxisEmptyRequest.DEFAULT,\n interfaceId: this.device.connection.interfaceId,\n device: this.device.deviceAddress,\n axis: 0,\n toBinary() {\n return requests.AxisEmptyRequest.toBinary(this);\n },\n };\n\n const response = await gateway.callAsync<requests.BoolResponse>(\n 'device/is_busy',\n request,\n requests.BoolResponse.fromBinary);\n return response.value;\n }\n\n /**\n * Returns bool indicating whether all axes have position reference and were homed.\n * @returns True if all axes have position reference and were homed.\n */\n public async isHomed(): Promise<boolean> {\n const request: requests.AxisEmptyRequest & gateway.Message = {\n ...requests.AxisEmptyRequest.DEFAULT,\n interfaceId: this.device.connection.interfaceId,\n device: this.device.deviceAddress,\n axis: 0,\n toBinary() {\n return requests.AxisEmptyRequest.toBinary(this);\n },\n };\n\n const response = await gateway.callAsync<requests.BoolResponse>(\n 'device/is_homed',\n request,\n requests.BoolResponse.fromBinary);\n return response.value;\n }\n\n /**\n * Disables all axes drivers, which prevents current from being sent to the motor or load.\n */\n public async driverDisable(): Promise<void> {\n const request: requests.AxisEmptyRequest & gateway.Message = {\n ...requests.AxisEmptyRequest.DEFAULT,\n interfaceId: this.device.connection.interfaceId,\n device: this.device.deviceAddress,\n axis: 0,\n toBinary() {\n return requests.AxisEmptyRequest.toBinary(this);\n },\n };\n\n await gateway.callAsync('device/driver_disable', request);\n }\n\n /**\n * Attempts to enable all axes drivers (where applicable) repeatedly for the specified timeout.\n * If the driver is already enabled, the driver remains enabled.\n * @param [options.timeout=10] Timeout in seconds. Specify 0 to attempt to enable the driver once.\n */\n public async driverEnable(\n options: AllAxes.DriverEnableOptions = {}\n ): Promise<void> {\n const {\n timeout = 10,\n } = options;\n const request: requests.DriverEnableRequest & gateway.Message = {\n ...requests.DriverEnableRequest.DEFAULT,\n interfaceId: this.device.connection.interfaceId,\n device: this.device.deviceAddress,\n axis: 0,\n timeout: timeout,\n toBinary() {\n return requests.DriverEnableRequest.toBinary(this);\n },\n };\n\n await gateway.callAsync('device/driver_enable', request);\n }\n\n /**\n * Returns a string that represents the axes.\n * @returns A string that represents the axes.\n */\n public toString(): string {\n const request: requests.AxisEmptyRequest & gateway.Message = {\n ...requests.AxisEmptyRequest.DEFAULT,\n interfaceId: this.device.connection.interfaceId,\n device: this.device.deviceAddress,\n axis: 0,\n toBinary() {\n return requests.AxisEmptyRequest.toBinary(this);\n },\n };\n\n const response = gateway.callSync<requests.StringResponse>(\n 'device/all_axes_to_string',\n request,\n requests.StringResponse.fromBinary);\n return response.value;\n }\n}\n\nnamespace AllAxes {\n export interface HomeOptions {\n /**\n * Determines whether function should return after the movement is finished or just started.\n */\n waitUntilIdle?: boolean;\n }\n export interface StopOptions {\n /**\n * Determines whether function should return after the movement is finished or just started.\n */\n waitUntilIdle?: boolean;\n }\n export interface WaitUntilIdleOptions {\n /**\n * Determines whether to throw error when fault is observed.\n */\n throwErrorOnFault?: boolean;\n }\n export interface DriverEnableOptions {\n /**\n * Timeout in seconds. Specify 0 to attempt to enable the driver once.\n */\n timeout?: number;\n }\n}\n"]}
|
|
1
|
+
{"version":3,"file":"all_axes.js","sourceRoot":"","sources":["../../../src/ascii/all_axes.ts"],"names":[],"mappings":";AAAA,wDAAwD;AACxD,wDAAwD;;;;;;;;;;;;;;;;;;;;;;;;;;AAExD,oDAAsC;AACtC,sDAAwC;AAGxC;;GAEG;AACH,MAAa,OAAO;IAClB;;OAEG;IACH,IAAW,MAAM;QACf,OAAO,IAAI,CAAC,OAAO,CAAC;IACtB,CAAC;IAGD,YAAY,MAAc;QACxB,IAAI,CAAC,OAAO,GAAG,MAAM,CAAC;IACxB,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,IAAI,CACf,UAA+B,EAAE;QAEjC,MAAM,EACJ,aAAa,GAAG,IAAI,GACrB,GAAG,OAAO,CAAC;QACZ,MAAM,OAAO,GAAiD;YAC5D,GAAG,QAAQ,CAAC,iBAAiB,CAAC,OAAO;YACrC,WAAW,EAAE,IAAI,CAAC,MAAM,CAAC,UAAU,CAAC,WAAW;YAC/C,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC,aAAa;YACjC,IAAI,EAAE,CAAC;YACP,aAAa,EAAE,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CAAC;QACZ,MAAM,OAAO,GAAmD;YAC9D,GAAG,QAAQ,CAAC,mBAAmB,CAAC,OAAO;YACvC,WAAW,EAAE,IAAI,CAAC,MAAM,CAAC,UAAU,CAAC,WAAW;YAC/C,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC,aAAa;YACjC,IAAI,EAAE,CAAC;YACP,OAAO,EAAE,OAAO;YAChB,QAAQ;gBACN,OAAO,QAAQ,CAAC,mBAAmB,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;YACrD,CAAC;SACF,CAAC;QAEF,MAAM,OAAO,CAAC,SAAS,CAAC,sBAAsB,EAAE,OAAO,CAAC,CAAC;IAC3D,CAAC;IAED;;;OAGG;IACI,QAAQ;QACb,MAAM,OAAO,GAAgD;YAC3D,GAAG,QAAQ,CAAC,gBAAgB,CAAC,OAAO;YACpC,WAAW,EAAE,IAAI,CAAC,MAAM,CAAC,UAAU,CAAC,WAAW;YAC/C,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC,aAAa;YACjC,IAAI,EAAE,CAAC;YACP,QAAQ;gBACN,OAAO,QAAQ,CAAC,gBAAgB,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;YAClD,CAAC;SACF,CAAC;QAEF,MAAM,QAAQ,GAAG,OAAO,CAAC,QAAQ,CAC/B,2BAA2B,EAC3B,OAAO,EACP,QAAQ,CAAC,cAAc,CAAC,UAAU,CAAC,CAAC;QACtC,OAAO,QAAQ,CAAC,KAAK,CAAC;IACxB,CAAC;CACF;AAnOD,0BAmOC","sourcesContent":["// ===== THIS FILE IS GENERATED FROM A TEMPLATE ===== //\n// ============== DO NOT EDIT DIRECTLY ============== //\n\nimport * as gateway from '../gateway';\nimport * as requests from '../requests';\nimport { Device } from './device';\n\n/**\n * Represents all axes of motion associated with a device.\n */\nexport class AllAxes {\n /**\n * Device that controls this axis.\n */\n public get device(): Device {\n return this._device;\n }\n private _device: Device;\n\n constructor(device: Device) {\n this._device = device;\n }\n\n /**\n * Homes all axes. Axes return to their homing positions.\n * @param [options.waitUntilIdle=true] Determines whether function should return after the movement is finished or just started.\n */\n public async home(\n options: AllAxes.HomeOptions = {}\n ): Promise<void> {\n const {\n waitUntilIdle = true,\n } = options;\n const request: requests.DeviceHomeRequest & gateway.Message = {\n ...requests.DeviceHomeRequest.DEFAULT,\n interfaceId: this.device.connection.interfaceId,\n device: this.device.deviceAddress,\n axis: 0,\n waitUntilIdle: waitUntilIdle,\n toBinary() {\n return requests.DeviceHomeRequest.toBinary(this);\n },\n };\n\n await gateway.callAsync('device/home', request);\n }\n\n /**\n * Stops ongoing axes movement. Decelerates until zero speed.\n * @param [options.waitUntilIdle=true] Determines whether function should return after the movement is finished or just started.\n */\n public async stop(\n options: AllAxes.StopOptions = {}\n ): Promise<void> {\n const {\n waitUntilIdle = true,\n } = options;\n const request: requests.DeviceStopRequest & gateway.Message = {\n ...requests.DeviceStopRequest.DEFAULT,\n interfaceId: this.device.connection.interfaceId,\n device: this.device.deviceAddress,\n axis: 0,\n waitUntilIdle: waitUntilIdle,\n toBinary() {\n return requests.DeviceStopRequest.toBinary(this);\n },\n };\n\n await gateway.callAsync('device/stop', request);\n }\n\n /**\n * Waits until all axes of device stop moving.\n * @param [options.throwErrorOnFault=true] Determines whether to throw error when fault is observed.\n */\n public async waitUntilIdle(\n options: AllAxes.WaitUntilIdleOptions = {}\n ): Promise<void> {\n const {\n throwErrorOnFault = true,\n } = options;\n const request: requests.DeviceWaitUntilIdleRequest & gateway.Message = {\n ...requests.DeviceWaitUntilIdleRequest.DEFAULT,\n interfaceId: this.device.connection.interfaceId,\n device: this.device.deviceAddress,\n axis: 0,\n throwErrorOnFault: throwErrorOnFault,\n toBinary() {\n return requests.DeviceWaitUntilIdleRequest.toBinary(this);\n },\n };\n\n await gateway.callAsync('device/wait_until_idle', request);\n }\n\n /**\n * Parks the device in anticipation of turning the power off.\n * It can later be powered on, unparked, and moved without first having to home it.\n */\n public async park(): Promise<void> {\n const request: requests.AxisEmptyRequest & gateway.Message = {\n ...requests.AxisEmptyRequest.DEFAULT,\n interfaceId: this.device.connection.interfaceId,\n device: this.device.deviceAddress,\n axis: 0,\n toBinary() {\n return requests.AxisEmptyRequest.toBinary(this);\n },\n };\n\n await gateway.callAsync('device/park', request);\n }\n\n /**\n * Unparks the device. The device will now be able to move.\n */\n public async unpark(): Promise<void> {\n const request: requests.AxisEmptyRequest & gateway.Message = {\n ...requests.AxisEmptyRequest.DEFAULT,\n interfaceId: this.device.connection.interfaceId,\n device: this.device.deviceAddress,\n axis: 0,\n toBinary() {\n return requests.AxisEmptyRequest.toBinary(this);\n },\n };\n\n await gateway.callAsync('device/unpark', request);\n }\n\n /**\n * Returns bool indicating whether any axis is executing a motion command.\n * @returns True if any axis is currently executing a motion command.\n */\n public async isBusy(): Promise<boolean> {\n const request: requests.AxisEmptyRequest & gateway.Message = {\n ...requests.AxisEmptyRequest.DEFAULT,\n interfaceId: this.device.connection.interfaceId,\n device: this.device.deviceAddress,\n axis: 0,\n toBinary() {\n return requests.AxisEmptyRequest.toBinary(this);\n },\n };\n\n const response = await gateway.callAsync<requests.BoolResponse>(\n 'device/is_busy',\n request,\n requests.BoolResponse.fromBinary);\n return response.value;\n }\n\n /**\n * Returns bool indicating whether all axes have position reference and were homed.\n * @returns True if all axes have position reference and were homed.\n */\n public async isHomed(): Promise<boolean> {\n const request: requests.AxisEmptyRequest & gateway.Message = {\n ...requests.AxisEmptyRequest.DEFAULT,\n interfaceId: this.device.connection.interfaceId,\n device: this.device.deviceAddress,\n axis: 0,\n toBinary() {\n return requests.AxisEmptyRequest.toBinary(this);\n },\n };\n\n const response = await gateway.callAsync<requests.BoolResponse>(\n 'device/is_homed',\n request,\n requests.BoolResponse.fromBinary);\n return response.value;\n }\n\n /**\n * Disables all axes drivers, which prevents current from being sent to the motor or load.\n */\n public async driverDisable(): Promise<void> {\n const request: requests.AxisEmptyRequest & gateway.Message = {\n ...requests.AxisEmptyRequest.DEFAULT,\n interfaceId: this.device.connection.interfaceId,\n device: this.device.deviceAddress,\n axis: 0,\n toBinary() {\n return requests.AxisEmptyRequest.toBinary(this);\n },\n };\n\n await gateway.callAsync('device/driver_disable', request);\n }\n\n /**\n * Attempts to enable all axes drivers (where applicable) repeatedly for the specified timeout.\n * If the driver is already enabled, the driver remains enabled.\n * @param [options.timeout=10] Timeout in seconds. Specify 0 to attempt to enable the driver once.\n */\n public async driverEnable(\n options: AllAxes.DriverEnableOptions = {}\n ): Promise<void> {\n const {\n timeout = 10,\n } = options;\n const request: requests.DriverEnableRequest & gateway.Message = {\n ...requests.DriverEnableRequest.DEFAULT,\n interfaceId: this.device.connection.interfaceId,\n device: this.device.deviceAddress,\n axis: 0,\n timeout: timeout,\n toBinary() {\n return requests.DriverEnableRequest.toBinary(this);\n },\n };\n\n await gateway.callAsync('device/driver_enable', request);\n }\n\n /**\n * Returns a string that represents the axes.\n * @returns A string that represents the axes.\n */\n public toString(): string {\n const request: requests.AxisEmptyRequest & gateway.Message = {\n ...requests.AxisEmptyRequest.DEFAULT,\n interfaceId: this.device.connection.interfaceId,\n device: this.device.deviceAddress,\n axis: 0,\n toBinary() {\n return requests.AxisEmptyRequest.toBinary(this);\n },\n };\n\n const response = gateway.callSync<requests.StringResponse>(\n 'device/all_axes_to_string',\n request,\n requests.StringResponse.fromBinary);\n return response.value;\n }\n}\n\nnamespace AllAxes {\n export interface HomeOptions {\n /**\n * Determines whether function should return after the movement is finished or just started.\n */\n waitUntilIdle?: boolean;\n }\n export interface StopOptions {\n /**\n * Determines whether function should return after the movement is finished or just started.\n */\n waitUntilIdle?: boolean;\n }\n export interface WaitUntilIdleOptions {\n /**\n * Determines whether to throw error when fault is observed.\n */\n throwErrorOnFault?: boolean;\n }\n export interface DriverEnableOptions {\n /**\n * Timeout in seconds. Specify 0 to attempt to enable the driver once.\n */\n timeout?: number;\n }\n}\n"]}
|
package/dist/lib/ascii/axis.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
//
|
|
3
|
-
//
|
|
2
|
+
// ===== THIS FILE IS GENERATED FROM A TEMPLATE ===== //
|
|
3
|
+
// ============== DO NOT EDIT DIRECTLY ============== //
|
|
4
4
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
5
|
if (k2 === undefined) k2 = k;
|
|
6
6
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"axis.js","sourceRoot":"","sources":["../../../src/ascii/axis.ts"],"names":[],"mappings":";AAAA,sDAAsD;AACtD,sDAAsD;;;;;;;;;;;;;;;;;;;;;;;;;;AAItD,oDAAsC;AAEtC,sDAAwC;AAExC,oCAA4H;AAC5H,mDAA+C;AAC/C,mDAA+C;AAC/C,iDAA6C;AAG7C,yCAAsC;AACtC,uEAAiE;AACjE,yCAAsC;AAEtC;;GAEG;AACH,MAAa,IAAI;IACf;;OAEG;IACH,IAAW,MAAM;QACf,OAAO,IAAI,CAAC,OAAO,CAAC;IACtB,CAAC;IAGD;;;OAGG;IACH,IAAW,UAAU;QACnB,OAAO,IAAI,CAAC,WAAW,CAAC;IAC1B,CAAC;IAGD;;OAEG;IACH,IAAW,QAAQ;QACjB,OAAO,IAAI,CAAC,SAAS,CAAC;IACxB,CAAC;IAGD;;;OAGG;IACH,IAAW,OAAO;QAChB,OAAO,IAAI,CAAC,QAAQ,CAAC;IACvB,CAAC;IAGD;;OAEG;IACH,IAAW,QAAQ;QACjB,OAAO,IAAI,CAAC,SAAS,CAAC;IACxB,CAAC;IAGD;;OAEG;IACH,IAAW,QAAQ;QACjB,OAAO,IAAI,CAAC,iBAAiB,EAAE,CAAC;IAClC,CAAC;IAED;;OAEG;IACH,IAAW,YAAY;QACrB,OAAO,IAAI,CAAC,QAAQ,CAAC,YAAY,CAAC;IACpC,CAAC;IAED;;OAEG;IACH,IAAW,cAAc;QACvB,OAAO,IAAI,CAAC,QAAQ,CAAC,cAAc,CAAC;IACtC,CA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AM,EAAE,IAAI,CAAC,MAAM,CAAC,aAAa;YACjC,IAAI,EAAE,IAAI,CAAC,UAAU;YACrB,SAAS,EAAE,SAAS;YACpB,cAAc,EAAE,cAAc;YAC9B,MAAM,EAAE,MAAM;YACd,WAAW,EAAE,WAAW;YACxB,KAAK,EAAE,KAAK;YACZ,aAAa,EAAE,aAAa;YAC5B,QAAQ;gBACN,OAAO,QAAQ,CAAC,oBAAoB,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;YACtD,CAAC;SACF,CAAC;QAEF,MAAM,OAAO,CAAC,SAAS,CAAC,iBAAiB,EAAE,OAAO,CAAC,CAAC;IACtD,CAAC;IAED;;;;;OAKG;IACI,KAAK,CAAC,WAAW,CACtB,UAAmC,EAAE;QAErC,MAAM,EACJ,aAAa,GAAG,IAAI,GACrB,GAAG,OAAO,CAAC;QACZ,MAAM,OAAO,GAAiD;YAC5D,GAAG,QAAQ,CAAC,iBAAiB,CAAC,OAAO;YACrC,WAAW,EAAE,IAAI,CAAC,MAAM,CAAC,UAAU,CAAC,WAAW;YAC/C,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC,aAAa;YACjC,IAAI,EAAE,IAAI,CAAC,UAAU;YACrB,aAAa,EAAE,aAAa;YAC5B,QAAQ;gBACN,OAAO,QAAQ,CAAC,iBAAiB,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;YACnD,CAAC;SACF,CAAC;QAEF,MAAM,OAAO,CAAC,SAAS,CAAC,sBAAsB,EAAE,OAAO,CAAC,CAAC;IAC3D,CAAC;CACF;AAnkCD,oBAmkCC","sourcesContent":["// ==== THIS FILE IS GENERATED FROM A TEMPLATE ==== //\n// ============= DO NOT EDIT DIRECTLY ============= //\n\nimport { CyclicDirection } from '../cyclic_direction';\nimport { FirmwareVersion } from '../firmware_version';\nimport * as gateway from '../gateway';\nimport { Measurement } from '../measurement';\nimport * as requests from '../requests';\nimport { UnitConversionDescriptor } from '../unit_conversion_descriptor';\nimport { Angle, Length, Native, AngularVelocity, Velocity, Acceleration, AngularAcceleration, Units, Time } from '../units';\nimport { AxisIdentity } from './axis_identity';\nimport { AxisSettings } from './axis_settings';\nimport { AxisStorage } from './axis_storage';\nimport { AxisType } from './axis_type';\nimport { Device } from './device';\nimport { Response } from './response';\nimport { SetStateAxisResponse } from './set_state_axis_response';\nimport { Warnings } from './warnings';\n\n/**\n * Represents an axis of motion associated with a device.\n */\nexport class Axis {\n /**\n * Device that controls this axis.\n */\n public get device(): Device {\n return this._device;\n }\n private _device: Device;\n\n /**\n * The axis number identifies the axis on the device.\n * The first axis has the number one.\n */\n public get axisNumber(): number {\n return this._axisNumber;\n }\n private _axisNumber: number;\n\n /**\n * Settings and properties of this axis.\n */\n public get settings(): AxisSettings {\n return this._settings;\n }\n private _settings: AxisSettings;\n\n /**\n * Key-value storage of this axis.\n * Requires at least Firmware 7.30.\n */\n public get storage(): AxisStorage {\n return this._storage;\n }\n private _storage: AxisStorage;\n\n /**\n * Warnings and faults of this axis.\n */\n public get warnings(): Warnings {\n return this._warnings;\n }\n private _warnings: Warnings;\n\n /**\n * Identity of the axis.\n */\n public get identity(): AxisIdentity {\n return this._retrieveIdentity();\n }\n\n /**\n * Unique ID of the peripheral hardware.\n */\n public get peripheralId(): number {\n return this.identity.peripheralId;\n }\n\n /**\n * Name of the peripheral.\n */\n public get peripheralName(): string {\n return this.identity.peripheralName;\n }\n\n /**\n * Serial number of the peripheral, or 0 when not applicable.\n */\n public get peripheralSerialNumber(): number {\n return this.identity.peripheralSerialNumber;\n }\n\n /**\n * Indicates whether the axis is a peripheral or part of an integrated device.\n */\n public get isPeripheral(): boolean {\n return this.identity.isPeripheral;\n }\n\n /**\n * Determines the type of an axis and units it accepts.\n */\n public get axisType(): AxisType {\n return this.identity.axisType;\n }\n\n /**\n * The number of microsteps per full step for motion axes. Always equal to 0 for non-motion axes.\n */\n public get resolution(): number {\n return this.identity.resolution;\n }\n\n /**\n * User-assigned label of the peripheral.\n */\n public get label(): string {\n return this._retrieveLabel();\n }\n\n constructor(device: Device, axisNumber: number) {\n this._device = device;\n this._axisNumber = axisNumber;\n this._settings = new AxisSettings(this);\n this._storage = new AxisStorage(this);\n this._warnings = new Warnings(device, axisNumber);\n }\n\n /**\n * Homes axis. Axis returns to its homing position.\n * @param [options.waitUntilIdle=true] Determines whether function should return after the movement is finished or just started.\n */\n public async home(\n options: Axis.HomeOptions = {}\n ): Promise<void> {\n const {\n waitUntilIdle = true,\n } = options;\n const request: requests.DeviceHomeRequest & gateway.Message = {\n ...requests.DeviceHomeRequest.DEFAULT,\n interfaceId: this.device.connection.interfaceId,\n device: this.device.deviceAddress,\n axis: this.axisNumber,\n waitUntilIdle: waitUntilIdle,\n toBinary() {\n return requests.DeviceHomeRequest.toBinary(this);\n },\n };\n\n await gateway.callAsync('device/home', request);\n }\n\n /**\n * Stops ongoing axis movement. Decelerates until zero speed.\n * @param [options.waitUntilIdle=true] Determines whether function should return after the movement is finished or just started.\n */\n public async stop(\n options: Axis.StopOptions = {}\n ): Promise<void> {\n const {\n waitUntilIdle = true,\n } = options;\n const request: requests.DeviceStopRequest & gateway.Message = {\n ...requests.DeviceStopRequest.DEFAULT,\n interfaceId: this.device.connection.interfaceId,\n device: this.device.deviceAddress,\n axis: this.axisNumber,\n waitUntilIdle: waitUntilIdle,\n toBinary() {\n return requests.DeviceStopRequest.toBinary(this);\n },\n };\n\n await gateway.callAsync('device/stop', request);\n }\n\n /**\n * Parks the axis in anticipation of turning the power off.\n * It can later be powered on, unparked, and moved without first having to home it.\n */\n public async park(): Promise<void> {\n const request: requests.AxisEmptyRequest & gateway.Message = {\n ...requests.AxisEmptyRequest.DEFAULT,\n interfaceId: this.device.connection.interfaceId,\n device: this.device.deviceAddress,\n axis: this.axisNumber,\n toBinary() {\n return requests.AxisEmptyRequest.toBinary(this);\n },\n };\n\n await gateway.callAsync('device/park', request);\n }\n\n /**\n * Unparks axis. Axis will now be able to move.\n */\n public async unpark(): Promise<void> {\n const request: requests.AxisEmptyRequest & gateway.Message = {\n ...requests.AxisEmptyRequest.DEFAULT,\n interfaceId: this.device.connection.interfaceId,\n device: this.device.deviceAddress,\n axis: this.axisNumber,\n toBinary() {\n return requests.AxisEmptyRequest.toBinary(this);\n },\n };\n\n await gateway.callAsync('device/unpark', request);\n }\n\n /**\n * Returns bool indicating whether the axis is parked or not.\n * @returns True if the axis is currently parked. False otherwise.\n */\n public async isParked(): Promise<boolean> {\n const request: requests.AxisEmptyRequest & gateway.Message = {\n ...requests.AxisEmptyRequest.DEFAULT,\n interfaceId: this.device.connection.interfaceId,\n device: this.device.deviceAddress,\n axis: this.axisNumber,\n toBinary() {\n return requests.AxisEmptyRequest.toBinary(this);\n },\n };\n\n const response = await gateway.callAsync<requests.BoolResponse>(\n 'device/is_parked',\n request,\n requests.BoolResponse.fromBinary);\n return response.value;\n }\n\n /**\n * Waits until axis stops moving.\n * @param [options.throwErrorOnFault=true] Determines whether to throw error when fault is observed.\n */\n public async waitUntilIdle(\n options: Axis.WaitUntilIdleOptions = {}\n ): Promise<void> {\n const {\n throwErrorOnFault = true,\n } = options;\n const request: requests.DeviceWaitUntilIdleRequest & gateway.Message = {\n ...requests.DeviceWaitUntilIdleRequest.DEFAULT,\n interfaceId: this.device.connection.interfaceId,\n device: this.device.deviceAddress,\n axis: this.axisNumber,\n throwErrorOnFault: throwErrorOnFault,\n toBinary() {\n return requests.DeviceWaitUntilIdleRequest.toBinary(this);\n },\n };\n\n await gateway.callAsync('device/wait_until_idle', request);\n }\n\n /**\n * Returns bool indicating whether the axis is executing a motion command.\n * @returns True if the axis is currently executing a motion command.\n */\n public async isBusy(): Promise<boolean> {\n const request: requests.AxisEmptyRequest & gateway.Message = {\n ...requests.AxisEmptyRequest.DEFAULT,\n interfaceId: this.device.connection.interfaceId,\n device: this.device.deviceAddress,\n axis: this.axisNumber,\n toBinary() {\n return requests.AxisEmptyRequest.toBinary(this);\n },\n };\n\n const response = await gateway.callAsync<requests.BoolResponse>(\n 'device/is_busy',\n request,\n requests.BoolResponse.fromBinary);\n return response.value;\n }\n\n /**\n * Returns bool indicating whether the axis has position reference and was homed.\n * @returns True if the axis has position reference and was homed.\n */\n public async isHomed(): Promise<boolean> {\n const request: requests.AxisEmptyRequest & gateway.Message = {\n ...requests.AxisEmptyRequest.DEFAULT,\n interfaceId: this.device.connection.interfaceId,\n device: this.device.deviceAddress,\n axis: this.axisNumber,\n toBinary() {\n return requests.AxisEmptyRequest.toBinary(this);\n },\n };\n\n const response = await gateway.callAsync<requests.BoolResponse>(\n 'device/is_homed',\n request,\n requests.BoolResponse.fromBinary);\n return response.value;\n }\n\n /**\n * Move axis to absolute position.\n * @param position Absolute position.\n * @param [unit=Units.NATIVE] Units of position.\n * @param [options.waitUntilIdle=true] Determines whether function should return after the movement is finished or just started.\n * @param [options.velocity=0] Movement velocity.\n * Default value of 0 indicates that the maxspeed setting is used instead.\n * Requires at least Firmware 7.25.\n * @param [options.velocityUnit=Units.NATIVE] Units of velocity.\n * @param [options.acceleration=0] Movement acceleration.\n * Default value of 0 indicates that the accel setting is used instead.\n * Requires at least Firmware 7.25.\n * @param [options.accelerationUnit=Units.NATIVE] Units of acceleration.\n * @param options.cyclicDirection Which direction a cyclic device should take to get to the target position.\n * @param options.extraCycles Number of extra cycles to complete before stopping at the target.\n */\n public async moveAbsolute(\n position: number,\n unit: Length | Angle | Native = Units.NATIVE,\n options: Axis.MoveAbsoluteOptions = {}\n ): Promise<void> {\n const {\n waitUntilIdle = true,\n velocity = 0,\n velocityUnit = Units.NATIVE,\n acceleration = 0,\n accelerationUnit = Units.NATIVE,\n cyclicDirection,\n extraCycles,\n } = options;\n const request: requests.DeviceMoveRequest & gateway.Message = {\n ...requests.DeviceMoveRequest.DEFAULT,\n interfaceId: this.device.connection.interfaceId,\n device: this.device.deviceAddress,\n axis: this.axisNumber,\n type: requests.AxisMoveType.ABS,\n arg: position,\n unit: unit,\n waitUntilIdle: waitUntilIdle,\n velocity: velocity,\n velocityUnit: velocityUnit,\n acceleration: acceleration,\n accelerationUnit: accelerationUnit,\n cyclicDirection: cyclicDirection,\n extraCycles: extraCycles,\n toBinary() {\n return requests.DeviceMoveRequest.toBinary(this);\n },\n };\n\n await gateway.callAsync('device/move', request);\n }\n\n /**\n * Moves the axis to the maximum position as specified by limit.max.\n * @param [options.waitUntilIdle=true] Determines whether function should return after the movement is finished or just started.\n * @param [options.velocity=0] Movement velocity.\n * Default value of 0 indicates that the maxspeed setting is used instead.\n * Requires at least Firmware 7.25.\n * @param [options.velocityUnit=Units.NATIVE] Units of velocity.\n * @param [options.acceleration=0] Movement acceleration.\n * Default value of 0 indicates that the accel setting is used instead.\n * Requires at least Firmware 7.25.\n * @param [options.accelerationUnit=Units.NATIVE] Units of acceleration.\n */\n public async moveMax(\n options: Axis.MoveMaxOptions = {}\n ): Promise<void> {\n const {\n waitUntilIdle = true,\n velocity = 0,\n velocityUnit = Units.NATIVE,\n acceleration = 0,\n accelerationUnit = Units.NATIVE,\n } = options;\n const request: requests.DeviceMoveRequest & gateway.Message = {\n ...requests.DeviceMoveRequest.DEFAULT,\n interfaceId: this.device.connection.interfaceId,\n device: this.device.deviceAddress,\n axis: this.axisNumber,\n type: requests.AxisMoveType.MAX,\n waitUntilIdle: waitUntilIdle,\n velocity: velocity,\n velocityUnit: velocityUnit,\n acceleration: acceleration,\n accelerationUnit: accelerationUnit,\n toBinary() {\n return requests.DeviceMoveRequest.toBinary(this);\n },\n };\n\n await gateway.callAsync('device/move', request);\n }\n\n /**\n * Moves the axis to the minimum position as specified by limit.min.\n * @param [options.waitUntilIdle=true] Determines whether function should return after the movement is finished or just started.\n * @param [options.velocity=0] Movement velocity.\n * Default value of 0 indicates that the maxspeed setting is used instead.\n * Requires at least Firmware 7.25.\n * @param [options.velocityUnit=Units.NATIVE] Units of velocity.\n * @param [options.acceleration=0] Movement acceleration.\n * Default value of 0 indicates that the accel setting is used instead.\n * Requires at least Firmware 7.25.\n * @param [options.accelerationUnit=Units.NATIVE] Units of acceleration.\n */\n public async moveMin(\n options: Axis.MoveMinOptions = {}\n ): Promise<void> {\n const {\n waitUntilIdle = true,\n velocity = 0,\n velocityUnit = Units.NATIVE,\n acceleration = 0,\n accelerationUnit = Units.NATIVE,\n } = options;\n const request: requests.DeviceMoveRequest & gateway.Message = {\n ...requests.DeviceMoveRequest.DEFAULT,\n interfaceId: this.device.connection.interfaceId,\n device: this.device.deviceAddress,\n axis: this.axisNumber,\n type: requests.AxisMoveType.MIN,\n waitUntilIdle: waitUntilIdle,\n velocity: velocity,\n velocityUnit: velocityUnit,\n acceleration: acceleration,\n accelerationUnit: accelerationUnit,\n toBinary() {\n return requests.DeviceMoveRequest.toBinary(this);\n },\n };\n\n await gateway.callAsync('device/move', request);\n }\n\n /**\n * Move axis to position relative to current position.\n * @param position Relative position.\n * @param [unit=Units.NATIVE] Units of position.\n * @param [options.waitUntilIdle=true] Determines whether function should return after the movement is finished or just started.\n * @param [options.velocity=0] Movement velocity.\n * Default value of 0 indicates that the maxspeed setting is used instead.\n * Requires at least Firmware 7.25.\n * @param [options.velocityUnit=Units.NATIVE] Units of velocity.\n * @param [options.acceleration=0] Movement acceleration.\n * Default value of 0 indicates that the accel setting is used instead.\n * Requires at least Firmware 7.25.\n * @param [options.accelerationUnit=Units.NATIVE] Units of acceleration.\n */\n public async moveRelative(\n position: number,\n unit: Length | Angle | Native = Units.NATIVE,\n options: Axis.MoveRelativeOptions = {}\n ): Promise<void> {\n const {\n waitUntilIdle = true,\n velocity = 0,\n velocityUnit = Units.NATIVE,\n acceleration = 0,\n accelerationUnit = Units.NATIVE,\n } = options;\n const request: requests.DeviceMoveRequest & gateway.Message = {\n ...requests.DeviceMoveRequest.DEFAULT,\n interfaceId: this.device.connection.interfaceId,\n device: this.device.deviceAddress,\n axis: this.axisNumber,\n type: requests.AxisMoveType.REL,\n arg: position,\n unit: unit,\n waitUntilIdle: waitUntilIdle,\n velocity: velocity,\n velocityUnit: velocityUnit,\n acceleration: acceleration,\n accelerationUnit: accelerationUnit,\n toBinary() {\n return requests.DeviceMoveRequest.toBinary(this);\n },\n };\n\n await gateway.callAsync('device/move', request);\n }\n\n /**\n * Begins to move axis at specified speed.\n * @param velocity Movement velocity.\n * @param [unit=Units.NATIVE] Units of velocity.\n * @param [options.acceleration=0] Movement acceleration.\n * Default value of 0 indicates that the accel setting is used instead.\n * Requires at least Firmware 7.25.\n * @param [options.accelerationUnit=Units.NATIVE] Units of acceleration.\n */\n public async moveVelocity(\n velocity: number,\n unit: Velocity | AngularVelocity | Native = Units.NATIVE,\n options: Axis.MoveVelocityOptions = {}\n ): Promise<void> {\n const {\n acceleration = 0,\n accelerationUnit = Units.NATIVE,\n } = options;\n const request: requests.DeviceMoveRequest & gateway.Message = {\n ...requests.DeviceMoveRequest.DEFAULT,\n interfaceId: this.device.connection.interfaceId,\n device: this.device.deviceAddress,\n axis: this.axisNumber,\n type: requests.AxisMoveType.VEL,\n arg: velocity,\n unit: unit,\n acceleration: acceleration,\n accelerationUnit: accelerationUnit,\n toBinary() {\n return requests.DeviceMoveRequest.toBinary(this);\n },\n };\n\n await gateway.callAsync('device/move', request);\n }\n\n /**\n * Returns current axis position.\n * @param [unit=Units.NATIVE] Units of position.\n * @returns Axis position.\n */\n public async getPosition(\n unit: Length | Angle | Native = Units.NATIVE\n ): Promise<number> {\n const request: requests.DeviceGetSettingRequest & gateway.Message = {\n ...requests.DeviceGetSettingRequest.DEFAULT,\n interfaceId: this.device.connection.interfaceId,\n device: this.device.deviceAddress,\n axis: this.axisNumber,\n setting: 'pos',\n unit: unit,\n toBinary() {\n return requests.DeviceGetSettingRequest.toBinary(this);\n },\n };\n\n const response = await gateway.callAsync<requests.DoubleResponse>(\n 'device/get_setting',\n request,\n requests.DoubleResponse.fromBinary);\n return response.value;\n }\n\n /**\n * Gets number of index positions of the axis.\n * @returns Number of index positions.\n */\n public async getNumberOfIndexPositions(): Promise<number> {\n const request: requests.AxisEmptyRequest & gateway.Message = {\n ...requests.AxisEmptyRequest.DEFAULT,\n interfaceId: this.device.connection.interfaceId,\n device: this.device.deviceAddress,\n axis: this.axisNumber,\n toBinary() {\n return requests.AxisEmptyRequest.toBinary(this);\n },\n };\n\n const response = await gateway.callAsync<requests.IntResponse>(\n 'device/get_index_count',\n request,\n requests.IntResponse.fromBinary);\n return response.value;\n }\n\n /**\n * Returns current axis index position.\n * @returns Index position starting from 1 or 0 if the position is not an index position.\n */\n public async getIndexPosition(): Promise<number> {\n const request: requests.AxisEmptyRequest & gateway.Message = {\n ...requests.AxisEmptyRequest.DEFAULT,\n interfaceId: this.device.connection.interfaceId,\n device: this.device.deviceAddress,\n axis: this.axisNumber,\n toBinary() {\n return requests.AxisEmptyRequest.toBinary(this);\n },\n };\n\n const response = await gateway.callAsync<requests.IntResponse>(\n 'device/get_index_position',\n request,\n requests.IntResponse.fromBinary);\n return response.value;\n }\n\n /**\n * Moves the axis to index position.\n * @param index Index position. Index positions are numbered from 1.\n * @param [options.waitUntilIdle=true] Determines whether function should return after the movement is finished or just started.\n * @param [options.velocity=0] Movement velocity.\n * Default value of 0 indicates that the maxspeed setting is used instead.\n * Requires at least Firmware 7.25.\n * @param [options.velocityUnit=Units.NATIVE] Units of velocity.\n * @param [options.acceleration=0] Movement acceleration.\n * Default value of 0 indicates that the accel setting is used instead.\n * Requires at least Firmware 7.25.\n * @param [options.accelerationUnit=Units.NATIVE] Units of acceleration.\n */\n public async moveIndex(\n index: number,\n options: Axis.MoveIndexOptions = {}\n ): Promise<void> {\n const {\n waitUntilIdle = true,\n velocity = 0,\n velocityUnit = Units.NATIVE,\n acceleration = 0,\n accelerationUnit = Units.NATIVE,\n } = options;\n const request: requests.DeviceMoveRequest & gateway.Message = {\n ...requests.DeviceMoveRequest.DEFAULT,\n interfaceId: this.device.connection.interfaceId,\n device: this.device.deviceAddress,\n axis: this.axisNumber,\n type: requests.AxisMoveType.INDEX,\n argInt: index,\n waitUntilIdle: waitUntilIdle,\n velocity: velocity,\n velocityUnit: velocityUnit,\n acceleration: acceleration,\n accelerationUnit: accelerationUnit,\n toBinary() {\n return requests.DeviceMoveRequest.toBinary(this);\n },\n };\n\n await gateway.callAsync('device/move', request);\n }\n\n /**\n * Sends a generic ASCII command to this axis.\n * For more information refer to: [ASCII Protocol Manual](https://www.zaber.com/protocol-manual#topic_commands).\n * @param command Command and its parameters.\n * @param [options.checkErrors=true] Controls whether to throw an exception when the device rejects the command.\n * @param [options.timeout=0] The timeout, in milliseconds, for a device to respond to the command.\n * Overrides the connection default request timeout.\n * @returns A response to the command.\n */\n public async genericCommand(\n command: string,\n options: Axis.GenericCommandOptions = {}\n ): Promise<Response> {\n const {\n checkErrors = true,\n timeout = 0,\n } = options;\n const request: requests.GenericCommandRequest & gateway.Message = {\n ...requests.GenericCommandRequest.DEFAULT,\n interfaceId: this.device.connection.interfaceId,\n device: this.device.deviceAddress,\n axis: this.axisNumber,\n command: command,\n checkErrors: checkErrors,\n timeout: timeout,\n toBinary() {\n return requests.GenericCommandRequest.toBinary(this);\n },\n };\n\n const response = await gateway.callAsync<Response>(\n 'interface/generic_command',\n request,\n Response.fromBinary);\n return response;\n }\n\n /**\n * Sends a generic ASCII command to this axis and expect multiple responses.\n * Responses are returned in order of arrival.\n * For more information refer to: [ASCII Protocol Manual](https://www.zaber.com/protocol-manual#topic_commands).\n * @param command Command and its parameters.\n * @param [options.checkErrors=true] Controls whether to throw an exception when a device rejects the command.\n * @param [options.timeout=0] The timeout, in milliseconds, for a device to respond to the command.\n * Overrides the connection default request timeout.\n * @returns All responses to the command.\n */\n public async genericCommandMultiResponse(\n command: string,\n options: Axis.GenericCommandMultiResponseOptions = {}\n ): Promise<Response[]> {\n const {\n checkErrors = true,\n timeout = 0,\n } = options;\n const request: requests.GenericCommandRequest & gateway.Message = {\n ...requests.GenericCommandRequest.DEFAULT,\n interfaceId: this.device.connection.interfaceId,\n device: this.device.deviceAddress,\n axis: this.axisNumber,\n command: command,\n checkErrors: checkErrors,\n timeout: timeout,\n toBinary() {\n return requests.GenericCommandRequest.toBinary(this);\n },\n };\n\n const response = await gateway.callAsync<requests.GenericCommandResponseCollection>(\n 'interface/generic_command_multi_response',\n request,\n requests.GenericCommandResponseCollection.fromBinary);\n return response.responses;\n }\n\n /**\n * Sends a generic ASCII command to this axis without expecting a response and without adding a message ID\n * For more information refer to: [ASCII Protocol Manual](https://www.zaber.com/protocol-manual#topic_commands).\n * @param command Command and its parameters.\n */\n public async genericCommandNoResponse(\n command: string\n ): Promise<void> {\n const request: requests.GenericCommandRequest & gateway.Message = {\n ...requests.GenericCommandRequest.DEFAULT,\n interfaceId: this.device.connection.interfaceId,\n device: this.device.deviceAddress,\n axis: this.axisNumber,\n command: command,\n toBinary() {\n return requests.GenericCommandRequest.toBinary(this);\n },\n };\n\n await gateway.callAsync('interface/generic_command_no_response', request);\n }\n\n /**\n * Formats parameters into a command and performs unit conversions.\n * Parameters in the command template are denoted by a question mark.\n * Command returned is only valid for this axis and this device.\n * For more information refer to: [ASCII Protocol Manual](https://www.zaber.com/protocol-manual#topic_commands).\n * @param commandTemplate Template of a command to prepare. Parameters are denoted by question marks.\n * @param parameters Variable number of command parameters.\n * @returns Command with converted parameters.\n */\n public prepareCommand(\n commandTemplate: string,\n ...parameters: Measurement[]\n ): string {\n const request: requests.PrepareCommandRequest & gateway.Message = {\n ...requests.PrepareCommandRequest.DEFAULT,\n interfaceId: this.device.connection.interfaceId,\n device: this.device.deviceAddress,\n axis: this.axisNumber,\n commandTemplate: commandTemplate,\n parameters: parameters,\n toBinary() {\n return requests.PrepareCommandRequest.toBinary(this);\n },\n };\n\n const response = gateway.callSync<requests.StringResponse>(\n 'device/prepare_command',\n request,\n requests.StringResponse.fromBinary);\n return response.value;\n }\n\n /**\n * Retrieves unit conversion descriptors for a command, allowing unit conversion without a device.\n * The descriptors can be used with the ConvertTo/FromNativeUnits methods of the UnitTable class.\n * Parameters in the command template are denoted by a question mark.\n * For more information refer to: [ASCII Protocol Manual](https://www.zaber.com/protocol-manual#topic_commands).\n * @param commandTemplate Template of the command. Parameters are denoted by question marks.\n * @returns Unit conversion descriptor for each parameter in the command. Nil if a parameter does not have conversion.\n */\n public getCommandUnitConversionDescriptors(\n commandTemplate: string\n ): (UnitConversionDescriptor | null)[] {\n const request: requests.PrepareCommandRequest & gateway.Message = {\n ...requests.PrepareCommandRequest.DEFAULT,\n interfaceId: this.device.connection.interfaceId,\n device: this.device.deviceAddress,\n axis: this.axisNumber,\n commandTemplate: commandTemplate,\n toBinary() {\n return requests.PrepareCommandRequest.toBinary(this);\n },\n };\n\n const response = gateway.callSync<requests.GetCommandUnitConversionResponse>(\n 'device/get_command_unit_conversion',\n request,\n requests.GetCommandUnitConversionResponse.fromBinary);\n return response.value;\n }\n\n /**\n * Sets the user-assigned peripheral label.\n * The label is stored on the controller and recognized by other software.\n * @param label Label to set.\n */\n public async setLabel(\n label: string\n ): Promise<void> {\n const request: requests.DeviceSetStorageRequest & gateway.Message = {\n ...requests.DeviceSetStorageRequest.DEFAULT,\n interfaceId: this.device.connection.interfaceId,\n device: this.device.deviceAddress,\n axis: this.axisNumber,\n value: label,\n toBinary() {\n return requests.DeviceSetStorageRequest.toBinary(this);\n },\n };\n\n await gateway.callAsync('device/set_label', request);\n }\n\n /**\n * Gets the peripheral name.\n * @returns The label.\n */\n private _retrieveLabel(): string {\n const request: requests.AxisEmptyRequest & gateway.Message = {\n ...requests.AxisEmptyRequest.DEFAULT,\n interfaceId: this.device.connection.interfaceId,\n device: this.device.deviceAddress,\n axis: this.axisNumber,\n toBinary() {\n return requests.AxisEmptyRequest.toBinary(this);\n },\n };\n\n const response = gateway.callSync<requests.StringResponse>(\n 'device/get_label',\n request,\n requests.StringResponse.fromBinary);\n return response.value;\n }\n\n /**\n * Returns a string that represents the axis.\n * @returns A string that represents the axis.\n */\n public toString(): string {\n const request: requests.AxisToStringRequest & gateway.Message = {\n ...requests.AxisToStringRequest.DEFAULT,\n interfaceId: this.device.connection.interfaceId,\n device: this.device.deviceAddress,\n axis: this.axisNumber,\n toBinary() {\n return requests.AxisToStringRequest.toBinary(this);\n },\n };\n\n const response = gateway.callSync<requests.StringResponse>(\n 'device/axis_to_string',\n request,\n requests.StringResponse.fromBinary);\n return response.value;\n }\n\n /**\n * Returns a serialization of the current axis state that can be saved and reapplied.\n * @returns A serialization of the current state of the axis.\n */\n public async getState(): Promise<string> {\n const request: requests.AxisEmptyRequest & gateway.Message = {\n ...requests.AxisEmptyRequest.DEFAULT,\n interfaceId: this.device.connection.interfaceId,\n device: this.device.deviceAddress,\n axis: this.axisNumber,\n toBinary() {\n return requests.AxisEmptyRequest.toBinary(this);\n },\n };\n\n const response = await gateway.callAsync<requests.StringResponse>(\n 'device/get_state',\n request,\n requests.StringResponse.fromBinary);\n return response.value;\n }\n\n /**\n * Applies a saved state to this axis.\n * @param state The state object to apply to this axis.\n * @returns Reports of any issues that were handled, but caused the state to not be exactly restored.\n */\n public async setState(\n state: string\n ): Promise<SetStateAxisResponse> {\n const request: requests.SetStateRequest & gateway.Message = {\n ...requests.SetStateRequest.DEFAULT,\n interfaceId: this.device.connection.interfaceId,\n device: this.device.deviceAddress,\n axis: this.axisNumber,\n state: state,\n toBinary() {\n return requests.SetStateRequest.toBinary(this);\n },\n };\n\n const response = await gateway.callAsync<SetStateAxisResponse>(\n 'device/set_axis_state',\n request,\n SetStateAxisResponse.fromBinary);\n return response;\n }\n\n /**\n * Checks if a state can be applied to this axis.\n * This only covers exceptions that can be determined statically such as mismatches of ID or version,\n * the process of applying the state can still fail when running.\n * @param state The state object to check against.\n * @param options.firmwareVersion The firmware version of the device to apply the state to.\n * Use this to ensure the state will still be compatible after an update.\n * @returns An explanation of why this state cannot be set to this axis.\n */\n public async canSetState(\n state: string,\n options: Axis.CanSetStateOptions = {}\n ): Promise<string | null> {\n const {\n firmwareVersion,\n } = options;\n const request: requests.CanSetStateRequest & gateway.Message = {\n ...requests.CanSetStateRequest.DEFAULT,\n interfaceId: this.device.connection.interfaceId,\n device: this.device.deviceAddress,\n axis: this.axisNumber,\n state: state,\n firmwareVersion: firmwareVersion,\n toBinary() {\n return requests.CanSetStateRequest.toBinary(this);\n },\n };\n\n const response = await gateway.callAsync<requests.CanSetStateAxisResponse>(\n 'device/can_set_axis_state',\n request,\n requests.CanSetStateAxisResponse.fromBinary);\n return response.error ?? null;\n }\n\n /**\n * Returns identity.\n * @returns Axis identity.\n */\n private _retrieveIdentity(): AxisIdentity {\n const request: requests.AxisEmptyRequest & gateway.Message = {\n ...requests.AxisEmptyRequest.DEFAULT,\n interfaceId: this.device.connection.interfaceId,\n device: this.device.deviceAddress,\n axis: this.axisNumber,\n toBinary() {\n return requests.AxisEmptyRequest.toBinary(this);\n },\n };\n\n const response = gateway.callSync<AxisIdentity>(\n 'device/get_axis_identity',\n request,\n AxisIdentity.fromBinary);\n return response;\n }\n\n /**\n * Disables the driver, which prevents current from being sent to the motor or load.\n * If the driver is already disabled, the driver remains disabled.\n */\n public async driverDisable(): Promise<void> {\n const request: requests.AxisEmptyRequest & gateway.Message = {\n ...requests.AxisEmptyRequest.DEFAULT,\n interfaceId: this.device.connection.interfaceId,\n device: this.device.deviceAddress,\n axis: this.axisNumber,\n toBinary() {\n return requests.AxisEmptyRequest.toBinary(this);\n },\n };\n\n await gateway.callAsync('device/driver_disable', request);\n }\n\n /**\n * Attempts to enable the driver repeatedly for the specified timeout.\n * If the driver is already enabled, the driver remains enabled.\n * @param [options.timeout=10] Timeout in seconds. Specify 0 to attempt to enable the driver once.\n */\n public async driverEnable(\n options: Axis.DriverEnableOptions = {}\n ): Promise<void> {\n const {\n timeout = 10,\n } = options;\n const request: requests.DriverEnableRequest & gateway.Message = {\n ...requests.DriverEnableRequest.DEFAULT,\n interfaceId: this.device.connection.interfaceId,\n device: this.device.deviceAddress,\n axis: this.axisNumber,\n timeout: timeout,\n toBinary() {\n return requests.DriverEnableRequest.toBinary(this);\n },\n };\n\n await gateway.callAsync('device/driver_enable', request);\n }\n\n /**\n * Activates a peripheral on this axis.\n * Removes all identity information for the device.\n * Run the identify method on the device after activating to refresh the information.\n */\n public async activate(): Promise<void> {\n const request: requests.AxisEmptyRequest & gateway.Message = {\n ...requests.AxisEmptyRequest.DEFAULT,\n interfaceId: this.device.connection.interfaceId,\n device: this.device.deviceAddress,\n axis: this.axisNumber,\n toBinary() {\n return requests.AxisEmptyRequest.toBinary(this);\n },\n };\n\n await gateway.callAsync('device/activate', request);\n }\n\n /**\n * Restores all axis settings to their default values.\n * Deletes all zaber axis storage keys.\n * Disables lockstep if the axis is part of one. Unparks the axis.\n * Preserves storage.\n * The device needs to be identified again after the restore.\n */\n public async restore(): Promise<void> {\n const request: requests.DeviceRestoreRequest & gateway.Message = {\n ...requests.DeviceRestoreRequest.DEFAULT,\n interfaceId: this.device.connection.interfaceId,\n device: this.device.deviceAddress,\n axis: this.axisNumber,\n toBinary() {\n return requests.DeviceRestoreRequest.toBinary(this);\n },\n };\n\n await gateway.callAsync('device/restore', request);\n }\n\n /**\n * Moves the axis in a sinusoidal trajectory.\n * @param amplitude Amplitude of the sinusoidal motion (half of the motion's peak-to-peak range).\n * @param amplitudeUnits Units of position.\n * @param period Period of the sinusoidal motion in milliseconds.\n * @param periodUnits Units of time.\n * @param [options.count=0] Number of sinusoidal cycles to complete.\n * Must be a multiple of 0.5\n * If count is not specified or set to 0, the axis will move indefinitely.\n * @param [options.waitUntilIdle=true] Determines whether function should return after the movement is finished or just started.\n */\n public async moveSin(\n amplitude: number,\n amplitudeUnits: Length | Angle | Native,\n period: number,\n periodUnits: Time | Native,\n options: Axis.MoveSinOptions = {}\n ): Promise<void> {\n const {\n count = 0,\n waitUntilIdle = true,\n } = options;\n const request: requests.DeviceMoveSinRequest & gateway.Message = {\n ...requests.DeviceMoveSinRequest.DEFAULT,\n interfaceId: this.device.connection.interfaceId,\n device: this.device.deviceAddress,\n axis: this.axisNumber,\n amplitude: amplitude,\n amplitudeUnits: amplitudeUnits,\n period: period,\n periodUnits: periodUnits,\n count: count,\n waitUntilIdle: waitUntilIdle,\n toBinary() {\n return requests.DeviceMoveSinRequest.toBinary(this);\n },\n };\n\n await gateway.callAsync('device/move_sin', request);\n }\n\n /**\n * Stops the axis at the end of the sinusoidal trajectory.\n * If the sinusoidal motion was started with an integer-plus-half cycle count,\n * the motion ends at the half-way point of the sinusoidal trajectory.\n * @param [options.waitUntilIdle=true] Determines whether function should return after the movement is finished.\n */\n public async moveSinStop(\n options: Axis.MoveSinStopOptions = {}\n ): Promise<void> {\n const {\n waitUntilIdle = true,\n } = options;\n const request: requests.DeviceStopRequest & gateway.Message = {\n ...requests.DeviceStopRequest.DEFAULT,\n interfaceId: this.device.connection.interfaceId,\n device: this.device.deviceAddress,\n axis: this.axisNumber,\n waitUntilIdle: waitUntilIdle,\n toBinary() {\n return requests.DeviceStopRequest.toBinary(this);\n },\n };\n\n await gateway.callAsync('device/move_sin_stop', request);\n }\n}\n\nnamespace Axis {\n export interface HomeOptions {\n /**\n * Determines whether function should return after the movement is finished or just started.\n */\n waitUntilIdle?: boolean;\n }\n export interface StopOptions {\n /**\n * Determines whether function should return after the movement is finished or just started.\n */\n waitUntilIdle?: boolean;\n }\n export interface WaitUntilIdleOptions {\n /**\n * Determines whether to throw error when fault is observed.\n */\n throwErrorOnFault?: boolean;\n }\n export interface MoveAbsoluteOptions {\n /**\n * Determines whether function should return after the movement is finished or just started.\n */\n waitUntilIdle?: boolean;\n /**\n * Movement velocity.\n * Default value of 0 indicates that the maxspeed setting is used instead.\n * Requires at least Firmware 7.25.\n */\n velocity?: number;\n /**\n * Units of velocity.\n */\n velocityUnit?: Velocity | AngularVelocity | Native;\n /**\n * Movement acceleration.\n * Default value of 0 indicates that the accel setting is used instead.\n * Requires at least Firmware 7.25.\n */\n acceleration?: number;\n /**\n * Units of acceleration.\n */\n accelerationUnit?: Acceleration | AngularAcceleration | Native;\n /**\n * Which direction a cyclic device should take to get to the target position.\n */\n cyclicDirection?: CyclicDirection;\n /**\n * Number of extra cycles to complete before stopping at the target.\n */\n extraCycles?: number;\n }\n export interface MoveMaxOptions {\n /**\n * Determines whether function should return after the movement is finished or just started.\n */\n waitUntilIdle?: boolean;\n /**\n * Movement velocity.\n * Default value of 0 indicates that the maxspeed setting is used instead.\n * Requires at least Firmware 7.25.\n */\n velocity?: number;\n /**\n * Units of velocity.\n */\n velocityUnit?: Velocity | AngularVelocity | Native;\n /**\n * Movement acceleration.\n * Default value of 0 indicates that the accel setting is used instead.\n * Requires at least Firmware 7.25.\n */\n acceleration?: number;\n /**\n * Units of acceleration.\n */\n accelerationUnit?: Acceleration | AngularAcceleration | Native;\n }\n export interface MoveMinOptions {\n /**\n * Determines whether function should return after the movement is finished or just started.\n */\n waitUntilIdle?: boolean;\n /**\n * Movement velocity.\n * Default value of 0 indicates that the maxspeed setting is used instead.\n * Requires at least Firmware 7.25.\n */\n velocity?: number;\n /**\n * Units of velocity.\n */\n velocityUnit?: Velocity | AngularVelocity | Native;\n /**\n * Movement acceleration.\n * Default value of 0 indicates that the accel setting is used instead.\n * Requires at least Firmware 7.25.\n */\n acceleration?: number;\n /**\n * Units of acceleration.\n */\n accelerationUnit?: Acceleration | AngularAcceleration | Native;\n }\n export interface MoveRelativeOptions {\n /**\n * Determines whether function should return after the movement is finished or just started.\n */\n waitUntilIdle?: boolean;\n /**\n * Movement velocity.\n * Default value of 0 indicates that the maxspeed setting is used instead.\n * Requires at least Firmware 7.25.\n */\n velocity?: number;\n /**\n * Units of velocity.\n */\n velocityUnit?: Velocity | AngularVelocity | Native;\n /**\n * Movement acceleration.\n * Default value of 0 indicates that the accel setting is used instead.\n * Requires at least Firmware 7.25.\n */\n acceleration?: number;\n /**\n * Units of acceleration.\n */\n accelerationUnit?: Acceleration | AngularAcceleration | Native;\n }\n export interface MoveVelocityOptions {\n /**\n * Movement acceleration.\n * Default value of 0 indicates that the accel setting is used instead.\n * Requires at least Firmware 7.25.\n */\n acceleration?: number;\n /**\n * Units of acceleration.\n */\n accelerationUnit?: Acceleration | AngularAcceleration | Native;\n }\n export interface MoveIndexOptions {\n /**\n * Determines whether function should return after the movement is finished or just started.\n */\n waitUntilIdle?: boolean;\n /**\n * Movement velocity.\n * Default value of 0 indicates that the maxspeed setting is used instead.\n * Requires at least Firmware 7.25.\n */\n velocity?: number;\n /**\n * Units of velocity.\n */\n velocityUnit?: Velocity | AngularVelocity | Native;\n /**\n * Movement acceleration.\n * Default value of 0 indicates that the accel setting is used instead.\n * Requires at least Firmware 7.25.\n */\n acceleration?: number;\n /**\n * Units of acceleration.\n */\n accelerationUnit?: Acceleration | AngularAcceleration | Native;\n }\n export interface GenericCommandOptions {\n /**\n * Controls whether to throw an exception when the device rejects the command.\n */\n checkErrors?: boolean;\n /**\n * The timeout, in milliseconds, for a device to respond to the command.\n * Overrides the connection default request timeout.\n */\n timeout?: number;\n }\n export interface GenericCommandMultiResponseOptions {\n /**\n * Controls whether to throw an exception when a device rejects the command.\n */\n checkErrors?: boolean;\n /**\n * The timeout, in milliseconds, for a device to respond to the command.\n * Overrides the connection default request timeout.\n */\n timeout?: number;\n }\n export interface CanSetStateOptions {\n /**\n * The firmware version of the device to apply the state to.\n * Use this to ensure the state will still be compatible after an update.\n */\n firmwareVersion?: FirmwareVersion;\n }\n export interface DriverEnableOptions {\n /**\n * Timeout in seconds. Specify 0 to attempt to enable the driver once.\n */\n timeout?: number;\n }\n export interface MoveSinOptions {\n /**\n * Number of sinusoidal cycles to complete.\n * Must be a multiple of 0.5\n * If count is not specified or set to 0, the axis will move indefinitely.\n */\n count?: number;\n /**\n * Determines whether function should return after the movement is finished or just started.\n */\n waitUntilIdle?: boolean;\n }\n export interface MoveSinStopOptions {\n /**\n * Determines whether function should return after the movement is finished.\n */\n waitUntilIdle?: boolean;\n }\n}\n"]}
|
|
1
|
+
{"version":3,"file":"axis.js","sourceRoot":"","sources":["../../../src/ascii/axis.ts"],"names":[],"mappings":";AAAA,wDAAwD;AACxD,wDAAwD;;;;;;;;;;;;;;;;;;;;;;;;;;AAIxD,oDAAsC;AAEtC,sDAAwC;AAExC,oCAA4H;AAC5H,mDAA+C;AAC/C,mDAA+C;AAC/C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AAa,GAAG,IAAI,GACrB,GAAG,OAAO,CAAC;QACZ,MAAM,OAAO,GAAiD;YAC5D,GAAG,QAAQ,CAAC,iBAAiB,CAAC,OAAO;YACrC,WAAW,EAAE,IAAI,CAAC,MAAM,CAAC,UAAU,CAAC,WAAW;YAC/C,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC,aAAa;YACjC,IAAI,EAAE,IAAI,CAAC,UAAU;YACrB,aAAa,EAAE,aAAa;YAC5B,QAAQ;gBACN,OAAO,QAAQ,CAAC,iBAAiB,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;YACnD,CAAC;SACF,CAAC;QAEF,MAAM,OAAO,CAAC,SAAS,CAAC,sBAAsB,EAAE,OAAO,CAAC,CAAC;IAC3D,CAAC;CACF;AAnkCD,oBAmkCC","sourcesContent":["// ===== THIS FILE IS GENERATED FROM A TEMPLATE ===== //\n// ============== DO NOT EDIT DIRECTLY ============== //\n\nimport { CyclicDirection } from '../cyclic_direction';\nimport { FirmwareVersion } from '../firmware_version';\nimport * as gateway from '../gateway';\nimport { Measurement } from '../measurement';\nimport * as requests from '../requests';\nimport { UnitConversionDescriptor } from '../unit_conversion_descriptor';\nimport { Angle, Length, Native, AngularVelocity, Velocity, Acceleration, AngularAcceleration, Units, Time } from '../units';\nimport { AxisIdentity } from './axis_identity';\nimport { AxisSettings } from './axis_settings';\nimport { AxisStorage } from './axis_storage';\nimport { AxisType } from './axis_type';\nimport { Device } from './device';\nimport { Response } from './response';\nimport { SetStateAxisResponse } from './set_state_axis_response';\nimport { Warnings } from './warnings';\n\n/**\n * Represents an axis of motion associated with a device.\n */\nexport class Axis {\n /**\n * Device that controls this axis.\n */\n public get device(): Device {\n return this._device;\n }\n private _device: Device;\n\n /**\n * The axis number identifies the axis on the device.\n * The first axis has the number one.\n */\n public get axisNumber(): number {\n return this._axisNumber;\n }\n private _axisNumber: number;\n\n /**\n * Settings and properties of this axis.\n */\n public get settings(): AxisSettings {\n return this._settings;\n }\n private _settings: AxisSettings;\n\n /**\n * Key-value storage of this axis.\n * Requires at least Firmware 7.30.\n */\n public get storage(): AxisStorage {\n return this._storage;\n }\n private _storage: AxisStorage;\n\n /**\n * Warnings and faults of this axis.\n */\n public get warnings(): Warnings {\n return this._warnings;\n }\n private _warnings: Warnings;\n\n /**\n * Identity of the axis.\n */\n public get identity(): AxisIdentity {\n return this._retrieveIdentity();\n }\n\n /**\n * Unique ID of the peripheral hardware.\n */\n public get peripheralId(): number {\n return this.identity.peripheralId;\n }\n\n /**\n * Name of the peripheral.\n */\n public get peripheralName(): string {\n return this.identity.peripheralName;\n }\n\n /**\n * Serial number of the peripheral, or 0 when not applicable.\n */\n public get peripheralSerialNumber(): number {\n return this.identity.peripheralSerialNumber;\n }\n\n /**\n * Indicates whether the axis is a peripheral or part of an integrated device.\n */\n public get isPeripheral(): boolean {\n return this.identity.isPeripheral;\n }\n\n /**\n * Determines the type of an axis and units it accepts.\n */\n public get axisType(): AxisType {\n return this.identity.axisType;\n }\n\n /**\n * The number of microsteps per full step for motion axes. Always equal to 0 for non-motion axes.\n */\n public get resolution(): number {\n return this.identity.resolution;\n }\n\n /**\n * User-assigned label of the peripheral.\n */\n public get label(): string {\n return this._retrieveLabel();\n }\n\n constructor(device: Device, axisNumber: number) {\n this._device = device;\n this._axisNumber = axisNumber;\n this._settings = new AxisSettings(this);\n this._storage = new AxisStorage(this);\n this._warnings = new Warnings(device, axisNumber);\n }\n\n /**\n * Homes axis. Axis returns to its homing position.\n * @param [options.waitUntilIdle=true] Determines whether function should return after the movement is finished or just started.\n */\n public async home(\n options: Axis.HomeOptions = {}\n ): Promise<void> {\n const {\n waitUntilIdle = true,\n } = options;\n const request: requests.DeviceHomeRequest & gateway.Message = {\n ...requests.DeviceHomeRequest.DEFAULT,\n interfaceId: this.device.connection.interfaceId,\n device: this.device.deviceAddress,\n axis: this.axisNumber,\n waitUntilIdle: waitUntilIdle,\n toBinary() {\n return requests.DeviceHomeRequest.toBinary(this);\n },\n };\n\n await gateway.callAsync('device/home', request);\n }\n\n /**\n * Stops ongoing axis movement. Decelerates until zero speed.\n * @param [options.waitUntilIdle=true] Determines whether function should return after the movement is finished or just started.\n */\n public async stop(\n options: Axis.StopOptions = {}\n ): Promise<void> {\n const {\n waitUntilIdle = true,\n } = options;\n const request: requests.DeviceStopRequest & gateway.Message = {\n ...requests.DeviceStopRequest.DEFAULT,\n interfaceId: this.device.connection.interfaceId,\n device: this.device.deviceAddress,\n axis: this.axisNumber,\n waitUntilIdle: waitUntilIdle,\n toBinary() {\n return requests.DeviceStopRequest.toBinary(this);\n },\n };\n\n await gateway.callAsync('device/stop', request);\n }\n\n /**\n * Parks the axis in anticipation of turning the power off.\n * It can later be powered on, unparked, and moved without first having to home it.\n */\n public async park(): Promise<void> {\n const request: requests.AxisEmptyRequest & gateway.Message = {\n ...requests.AxisEmptyRequest.DEFAULT,\n interfaceId: this.device.connection.interfaceId,\n device: this.device.deviceAddress,\n axis: this.axisNumber,\n toBinary() {\n return requests.AxisEmptyRequest.toBinary(this);\n },\n };\n\n await gateway.callAsync('device/park', request);\n }\n\n /**\n * Unparks axis. Axis will now be able to move.\n */\n public async unpark(): Promise<void> {\n const request: requests.AxisEmptyRequest & gateway.Message = {\n ...requests.AxisEmptyRequest.DEFAULT,\n interfaceId: this.device.connection.interfaceId,\n device: this.device.deviceAddress,\n axis: this.axisNumber,\n toBinary() {\n return requests.AxisEmptyRequest.toBinary(this);\n },\n };\n\n await gateway.callAsync('device/unpark', request);\n }\n\n /**\n * Returns bool indicating whether the axis is parked or not.\n * @returns True if the axis is currently parked. False otherwise.\n */\n public async isParked(): Promise<boolean> {\n const request: requests.AxisEmptyRequest & gateway.Message = {\n ...requests.AxisEmptyRequest.DEFAULT,\n interfaceId: this.device.connection.interfaceId,\n device: this.device.deviceAddress,\n axis: this.axisNumber,\n toBinary() {\n return requests.AxisEmptyRequest.toBinary(this);\n },\n };\n\n const response = await gateway.callAsync<requests.BoolResponse>(\n 'device/is_parked',\n request,\n requests.BoolResponse.fromBinary);\n return response.value;\n }\n\n /**\n * Waits until axis stops moving.\n * @param [options.throwErrorOnFault=true] Determines whether to throw error when fault is observed.\n */\n public async waitUntilIdle(\n options: Axis.WaitUntilIdleOptions = {}\n ): Promise<void> {\n const {\n throwErrorOnFault = true,\n } = options;\n const request: requests.DeviceWaitUntilIdleRequest & gateway.Message = {\n ...requests.DeviceWaitUntilIdleRequest.DEFAULT,\n interfaceId: this.device.connection.interfaceId,\n device: this.device.deviceAddress,\n axis: this.axisNumber,\n throwErrorOnFault: throwErrorOnFault,\n toBinary() {\n return requests.DeviceWaitUntilIdleRequest.toBinary(this);\n },\n };\n\n await gateway.callAsync('device/wait_until_idle', request);\n }\n\n /**\n * Returns bool indicating whether the axis is executing a motion command.\n * @returns True if the axis is currently executing a motion command.\n */\n public async isBusy(): Promise<boolean> {\n const request: requests.AxisEmptyRequest & gateway.Message = {\n ...requests.AxisEmptyRequest.DEFAULT,\n interfaceId: this.device.connection.interfaceId,\n device: this.device.deviceAddress,\n axis: this.axisNumber,\n toBinary() {\n return requests.AxisEmptyRequest.toBinary(this);\n },\n };\n\n const response = await gateway.callAsync<requests.BoolResponse>(\n 'device/is_busy',\n request,\n requests.BoolResponse.fromBinary);\n return response.value;\n }\n\n /**\n * Returns bool indicating whether the axis has position reference and was homed.\n * @returns True if the axis has position reference and was homed.\n */\n public async isHomed(): Promise<boolean> {\n const request: requests.AxisEmptyRequest & gateway.Message = {\n ...requests.AxisEmptyRequest.DEFAULT,\n interfaceId: this.device.connection.interfaceId,\n device: this.device.deviceAddress,\n axis: this.axisNumber,\n toBinary() {\n return requests.AxisEmptyRequest.toBinary(this);\n },\n };\n\n const response = await gateway.callAsync<requests.BoolResponse>(\n 'device/is_homed',\n request,\n requests.BoolResponse.fromBinary);\n return response.value;\n }\n\n /**\n * Move axis to absolute position.\n * @param position Absolute position.\n * @param [unit=Units.NATIVE] Units of position.\n * @param [options.waitUntilIdle=true] Determines whether function should return after the movement is finished or just started.\n * @param [options.velocity=0] Movement velocity.\n * Default value of 0 indicates that the maxspeed setting is used instead.\n * Requires at least Firmware 7.25.\n * @param [options.velocityUnit=Units.NATIVE] Units of velocity.\n * @param [options.acceleration=0] Movement acceleration.\n * Default value of 0 indicates that the accel setting is used instead.\n * Requires at least Firmware 7.25.\n * @param [options.accelerationUnit=Units.NATIVE] Units of acceleration.\n * @param options.cyclicDirection Which direction a cyclic device should take to get to the target position.\n * @param options.extraCycles Number of extra cycles to complete before stopping at the target.\n */\n public async moveAbsolute(\n position: number,\n unit: Length | Angle | Native = Units.NATIVE,\n options: Axis.MoveAbsoluteOptions = {}\n ): Promise<void> {\n const {\n waitUntilIdle = true,\n velocity = 0,\n velocityUnit = Units.NATIVE,\n acceleration = 0,\n accelerationUnit = Units.NATIVE,\n cyclicDirection,\n extraCycles,\n } = options;\n const request: requests.DeviceMoveRequest & gateway.Message = {\n ...requests.DeviceMoveRequest.DEFAULT,\n interfaceId: this.device.connection.interfaceId,\n device: this.device.deviceAddress,\n axis: this.axisNumber,\n type: requests.AxisMoveType.ABS,\n arg: position,\n unit: unit,\n waitUntilIdle: waitUntilIdle,\n velocity: velocity,\n velocityUnit: velocityUnit,\n acceleration: acceleration,\n accelerationUnit: accelerationUnit,\n cyclicDirection: cyclicDirection,\n extraCycles: extraCycles,\n toBinary() {\n return requests.DeviceMoveRequest.toBinary(this);\n },\n };\n\n await gateway.callAsync('device/move', request);\n }\n\n /**\n * Moves the axis to the maximum position as specified by limit.max.\n * @param [options.waitUntilIdle=true] Determines whether function should return after the movement is finished or just started.\n * @param [options.velocity=0] Movement velocity.\n * Default value of 0 indicates that the maxspeed setting is used instead.\n * Requires at least Firmware 7.25.\n * @param [options.velocityUnit=Units.NATIVE] Units of velocity.\n * @param [options.acceleration=0] Movement acceleration.\n * Default value of 0 indicates that the accel setting is used instead.\n * Requires at least Firmware 7.25.\n * @param [options.accelerationUnit=Units.NATIVE] Units of acceleration.\n */\n public async moveMax(\n options: Axis.MoveMaxOptions = {}\n ): Promise<void> {\n const {\n waitUntilIdle = true,\n velocity = 0,\n velocityUnit = Units.NATIVE,\n acceleration = 0,\n accelerationUnit = Units.NATIVE,\n } = options;\n const request: requests.DeviceMoveRequest & gateway.Message = {\n ...requests.DeviceMoveRequest.DEFAULT,\n interfaceId: this.device.connection.interfaceId,\n device: this.device.deviceAddress,\n axis: this.axisNumber,\n type: requests.AxisMoveType.MAX,\n waitUntilIdle: waitUntilIdle,\n velocity: velocity,\n velocityUnit: velocityUnit,\n acceleration: acceleration,\n accelerationUnit: accelerationUnit,\n toBinary() {\n return requests.DeviceMoveRequest.toBinary(this);\n },\n };\n\n await gateway.callAsync('device/move', request);\n }\n\n /**\n * Moves the axis to the minimum position as specified by limit.min.\n * @param [options.waitUntilIdle=true] Determines whether function should return after the movement is finished or just started.\n * @param [options.velocity=0] Movement velocity.\n * Default value of 0 indicates that the maxspeed setting is used instead.\n * Requires at least Firmware 7.25.\n * @param [options.velocityUnit=Units.NATIVE] Units of velocity.\n * @param [options.acceleration=0] Movement acceleration.\n * Default value of 0 indicates that the accel setting is used instead.\n * Requires at least Firmware 7.25.\n * @param [options.accelerationUnit=Units.NATIVE] Units of acceleration.\n */\n public async moveMin(\n options: Axis.MoveMinOptions = {}\n ): Promise<void> {\n const {\n waitUntilIdle = true,\n velocity = 0,\n velocityUnit = Units.NATIVE,\n acceleration = 0,\n accelerationUnit = Units.NATIVE,\n } = options;\n const request: requests.DeviceMoveRequest & gateway.Message = {\n ...requests.DeviceMoveRequest.DEFAULT,\n interfaceId: this.device.connection.interfaceId,\n device: this.device.deviceAddress,\n axis: this.axisNumber,\n type: requests.AxisMoveType.MIN,\n waitUntilIdle: waitUntilIdle,\n velocity: velocity,\n velocityUnit: velocityUnit,\n acceleration: acceleration,\n accelerationUnit: accelerationUnit,\n toBinary() {\n return requests.DeviceMoveRequest.toBinary(this);\n },\n };\n\n await gateway.callAsync('device/move', request);\n }\n\n /**\n * Move axis to position relative to current position.\n * @param position Relative position.\n * @param [unit=Units.NATIVE] Units of position.\n * @param [options.waitUntilIdle=true] Determines whether function should return after the movement is finished or just started.\n * @param [options.velocity=0] Movement velocity.\n * Default value of 0 indicates that the maxspeed setting is used instead.\n * Requires at least Firmware 7.25.\n * @param [options.velocityUnit=Units.NATIVE] Units of velocity.\n * @param [options.acceleration=0] Movement acceleration.\n * Default value of 0 indicates that the accel setting is used instead.\n * Requires at least Firmware 7.25.\n * @param [options.accelerationUnit=Units.NATIVE] Units of acceleration.\n */\n public async moveRelative(\n position: number,\n unit: Length | Angle | Native = Units.NATIVE,\n options: Axis.MoveRelativeOptions = {}\n ): Promise<void> {\n const {\n waitUntilIdle = true,\n velocity = 0,\n velocityUnit = Units.NATIVE,\n acceleration = 0,\n accelerationUnit = Units.NATIVE,\n } = options;\n const request: requests.DeviceMoveRequest & gateway.Message = {\n ...requests.DeviceMoveRequest.DEFAULT,\n interfaceId: this.device.connection.interfaceId,\n device: this.device.deviceAddress,\n axis: this.axisNumber,\n type: requests.AxisMoveType.REL,\n arg: position,\n unit: unit,\n waitUntilIdle: waitUntilIdle,\n velocity: velocity,\n velocityUnit: velocityUnit,\n acceleration: acceleration,\n accelerationUnit: accelerationUnit,\n toBinary() {\n return requests.DeviceMoveRequest.toBinary(this);\n },\n };\n\n await gateway.callAsync('device/move', request);\n }\n\n /**\n * Begins to move axis at specified speed.\n * @param velocity Movement velocity.\n * @param [unit=Units.NATIVE] Units of velocity.\n * @param [options.acceleration=0] Movement acceleration.\n * Default value of 0 indicates that the accel setting is used instead.\n * Requires at least Firmware 7.25.\n * @param [options.accelerationUnit=Units.NATIVE] Units of acceleration.\n */\n public async moveVelocity(\n velocity: number,\n unit: Velocity | AngularVelocity | Native = Units.NATIVE,\n options: Axis.MoveVelocityOptions = {}\n ): Promise<void> {\n const {\n acceleration = 0,\n accelerationUnit = Units.NATIVE,\n } = options;\n const request: requests.DeviceMoveRequest & gateway.Message = {\n ...requests.DeviceMoveRequest.DEFAULT,\n interfaceId: this.device.connection.interfaceId,\n device: this.device.deviceAddress,\n axis: this.axisNumber,\n type: requests.AxisMoveType.VEL,\n arg: velocity,\n unit: unit,\n acceleration: acceleration,\n accelerationUnit: accelerationUnit,\n toBinary() {\n return requests.DeviceMoveRequest.toBinary(this);\n },\n };\n\n await gateway.callAsync('device/move', request);\n }\n\n /**\n * Returns current axis position.\n * @param [unit=Units.NATIVE] Units of position.\n * @returns Axis position.\n */\n public async getPosition(\n unit: Length | Angle | Native = Units.NATIVE\n ): Promise<number> {\n const request: requests.DeviceGetSettingRequest & gateway.Message = {\n ...requests.DeviceGetSettingRequest.DEFAULT,\n interfaceId: this.device.connection.interfaceId,\n device: this.device.deviceAddress,\n axis: this.axisNumber,\n setting: 'pos',\n unit: unit,\n toBinary() {\n return requests.DeviceGetSettingRequest.toBinary(this);\n },\n };\n\n const response = await gateway.callAsync<requests.DoubleResponse>(\n 'device/get_setting',\n request,\n requests.DoubleResponse.fromBinary);\n return response.value;\n }\n\n /**\n * Gets number of index positions of the axis.\n * @returns Number of index positions.\n */\n public async getNumberOfIndexPositions(): Promise<number> {\n const request: requests.AxisEmptyRequest & gateway.Message = {\n ...requests.AxisEmptyRequest.DEFAULT,\n interfaceId: this.device.connection.interfaceId,\n device: this.device.deviceAddress,\n axis: this.axisNumber,\n toBinary() {\n return requests.AxisEmptyRequest.toBinary(this);\n },\n };\n\n const response = await gateway.callAsync<requests.IntResponse>(\n 'device/get_index_count',\n request,\n requests.IntResponse.fromBinary);\n return response.value;\n }\n\n /**\n * Returns current axis index position.\n * @returns Index position starting from 1 or 0 if the position is not an index position.\n */\n public async getIndexPosition(): Promise<number> {\n const request: requests.AxisEmptyRequest & gateway.Message = {\n ...requests.AxisEmptyRequest.DEFAULT,\n interfaceId: this.device.connection.interfaceId,\n device: this.device.deviceAddress,\n axis: this.axisNumber,\n toBinary() {\n return requests.AxisEmptyRequest.toBinary(this);\n },\n };\n\n const response = await gateway.callAsync<requests.IntResponse>(\n 'device/get_index_position',\n request,\n requests.IntResponse.fromBinary);\n return response.value;\n }\n\n /**\n * Moves the axis to index position.\n * @param index Index position. Index positions are numbered from 1.\n * @param [options.waitUntilIdle=true] Determines whether function should return after the movement is finished or just started.\n * @param [options.velocity=0] Movement velocity.\n * Default value of 0 indicates that the maxspeed setting is used instead.\n * Requires at least Firmware 7.25.\n * @param [options.velocityUnit=Units.NATIVE] Units of velocity.\n * @param [options.acceleration=0] Movement acceleration.\n * Default value of 0 indicates that the accel setting is used instead.\n * Requires at least Firmware 7.25.\n * @param [options.accelerationUnit=Units.NATIVE] Units of acceleration.\n */\n public async moveIndex(\n index: number,\n options: Axis.MoveIndexOptions = {}\n ): Promise<void> {\n const {\n waitUntilIdle = true,\n velocity = 0,\n velocityUnit = Units.NATIVE,\n acceleration = 0,\n accelerationUnit = Units.NATIVE,\n } = options;\n const request: requests.DeviceMoveRequest & gateway.Message = {\n ...requests.DeviceMoveRequest.DEFAULT,\n interfaceId: this.device.connection.interfaceId,\n device: this.device.deviceAddress,\n axis: this.axisNumber,\n type: requests.AxisMoveType.INDEX,\n argInt: index,\n waitUntilIdle: waitUntilIdle,\n velocity: velocity,\n velocityUnit: velocityUnit,\n acceleration: acceleration,\n accelerationUnit: accelerationUnit,\n toBinary() {\n return requests.DeviceMoveRequest.toBinary(this);\n },\n };\n\n await gateway.callAsync('device/move', request);\n }\n\n /**\n * Sends a generic ASCII command to this axis.\n * For more information refer to: [ASCII Protocol Manual](https://www.zaber.com/protocol-manual#topic_commands).\n * @param command Command and its parameters.\n * @param [options.checkErrors=true] Controls whether to throw an exception when the device rejects the command.\n * @param [options.timeout=0] The timeout, in milliseconds, for a device to respond to the command.\n * Overrides the connection default request timeout.\n * @returns A response to the command.\n */\n public async genericCommand(\n command: string,\n options: Axis.GenericCommandOptions = {}\n ): Promise<Response> {\n const {\n checkErrors = true,\n timeout = 0,\n } = options;\n const request: requests.GenericCommandRequest & gateway.Message = {\n ...requests.GenericCommandRequest.DEFAULT,\n interfaceId: this.device.connection.interfaceId,\n device: this.device.deviceAddress,\n axis: this.axisNumber,\n command: command,\n checkErrors: checkErrors,\n timeout: timeout,\n toBinary() {\n return requests.GenericCommandRequest.toBinary(this);\n },\n };\n\n const response = await gateway.callAsync<Response>(\n 'interface/generic_command',\n request,\n Response.fromBinary);\n return response;\n }\n\n /**\n * Sends a generic ASCII command to this axis and expect multiple responses.\n * Responses are returned in order of arrival.\n * For more information refer to: [ASCII Protocol Manual](https://www.zaber.com/protocol-manual#topic_commands).\n * @param command Command and its parameters.\n * @param [options.checkErrors=true] Controls whether to throw an exception when a device rejects the command.\n * @param [options.timeout=0] The timeout, in milliseconds, for a device to respond to the command.\n * Overrides the connection default request timeout.\n * @returns All responses to the command.\n */\n public async genericCommandMultiResponse(\n command: string,\n options: Axis.GenericCommandMultiResponseOptions = {}\n ): Promise<Response[]> {\n const {\n checkErrors = true,\n timeout = 0,\n } = options;\n const request: requests.GenericCommandRequest & gateway.Message = {\n ...requests.GenericCommandRequest.DEFAULT,\n interfaceId: this.device.connection.interfaceId,\n device: this.device.deviceAddress,\n axis: this.axisNumber,\n command: command,\n checkErrors: checkErrors,\n timeout: timeout,\n toBinary() {\n return requests.GenericCommandRequest.toBinary(this);\n },\n };\n\n const response = await gateway.callAsync<requests.GenericCommandResponseCollection>(\n 'interface/generic_command_multi_response',\n request,\n requests.GenericCommandResponseCollection.fromBinary);\n return response.responses;\n }\n\n /**\n * Sends a generic ASCII command to this axis without expecting a response and without adding a message ID\n * For more information refer to: [ASCII Protocol Manual](https://www.zaber.com/protocol-manual#topic_commands).\n * @param command Command and its parameters.\n */\n public async genericCommandNoResponse(\n command: string\n ): Promise<void> {\n const request: requests.GenericCommandRequest & gateway.Message = {\n ...requests.GenericCommandRequest.DEFAULT,\n interfaceId: this.device.connection.interfaceId,\n device: this.device.deviceAddress,\n axis: this.axisNumber,\n command: command,\n toBinary() {\n return requests.GenericCommandRequest.toBinary(this);\n },\n };\n\n await gateway.callAsync('interface/generic_command_no_response', request);\n }\n\n /**\n * Formats parameters into a command and performs unit conversions.\n * Parameters in the command template are denoted by a question mark.\n * Command returned is only valid for this axis and this device.\n * For more information refer to: [ASCII Protocol Manual](https://www.zaber.com/protocol-manual#topic_commands).\n * @param commandTemplate Template of a command to prepare. Parameters are denoted by question marks.\n * @param parameters Variable number of command parameters.\n * @returns Command with converted parameters.\n */\n public prepareCommand(\n commandTemplate: string,\n ...parameters: Measurement[]\n ): string {\n const request: requests.PrepareCommandRequest & gateway.Message = {\n ...requests.PrepareCommandRequest.DEFAULT,\n interfaceId: this.device.connection.interfaceId,\n device: this.device.deviceAddress,\n axis: this.axisNumber,\n commandTemplate: commandTemplate,\n parameters: parameters,\n toBinary() {\n return requests.PrepareCommandRequest.toBinary(this);\n },\n };\n\n const response = gateway.callSync<requests.StringResponse>(\n 'device/prepare_command',\n request,\n requests.StringResponse.fromBinary);\n return response.value;\n }\n\n /**\n * Retrieves unit conversion descriptors for a command, allowing unit conversion without a device.\n * The descriptors can be used with the ConvertTo/FromNativeUnits methods of the UnitTable class.\n * Parameters in the command template are denoted by a question mark.\n * For more information refer to: [ASCII Protocol Manual](https://www.zaber.com/protocol-manual#topic_commands).\n * @param commandTemplate Template of the command. Parameters are denoted by question marks.\n * @returns Unit conversion descriptor for each parameter in the command. Nil if a parameter does not have conversion.\n */\n public getCommandUnitConversionDescriptors(\n commandTemplate: string\n ): (UnitConversionDescriptor | null)[] {\n const request: requests.PrepareCommandRequest & gateway.Message = {\n ...requests.PrepareCommandRequest.DEFAULT,\n interfaceId: this.device.connection.interfaceId,\n device: this.device.deviceAddress,\n axis: this.axisNumber,\n commandTemplate: commandTemplate,\n toBinary() {\n return requests.PrepareCommandRequest.toBinary(this);\n },\n };\n\n const response = gateway.callSync<requests.GetCommandUnitConversionResponse>(\n 'device/get_command_unit_conversion',\n request,\n requests.GetCommandUnitConversionResponse.fromBinary);\n return response.value;\n }\n\n /**\n * Sets the user-assigned peripheral label.\n * The label is stored on the controller and recognized by other software.\n * @param label Label to set.\n */\n public async setLabel(\n label: string\n ): Promise<void> {\n const request: requests.DeviceSetStorageRequest & gateway.Message = {\n ...requests.DeviceSetStorageRequest.DEFAULT,\n interfaceId: this.device.connection.interfaceId,\n device: this.device.deviceAddress,\n axis: this.axisNumber,\n value: label,\n toBinary() {\n return requests.DeviceSetStorageRequest.toBinary(this);\n },\n };\n\n await gateway.callAsync('device/set_label', request);\n }\n\n /**\n * Gets the peripheral name.\n * @returns The label.\n */\n private _retrieveLabel(): string {\n const request: requests.AxisEmptyRequest & gateway.Message = {\n ...requests.AxisEmptyRequest.DEFAULT,\n interfaceId: this.device.connection.interfaceId,\n device: this.device.deviceAddress,\n axis: this.axisNumber,\n toBinary() {\n return requests.AxisEmptyRequest.toBinary(this);\n },\n };\n\n const response = gateway.callSync<requests.StringResponse>(\n 'device/get_label',\n request,\n requests.StringResponse.fromBinary);\n return response.value;\n }\n\n /**\n * Returns a string that represents the axis.\n * @returns A string that represents the axis.\n */\n public toString(): string {\n const request: requests.AxisToStringRequest & gateway.Message = {\n ...requests.AxisToStringRequest.DEFAULT,\n interfaceId: this.device.connection.interfaceId,\n device: this.device.deviceAddress,\n axis: this.axisNumber,\n toBinary() {\n return requests.AxisToStringRequest.toBinary(this);\n },\n };\n\n const response = gateway.callSync<requests.StringResponse>(\n 'device/axis_to_string',\n request,\n requests.StringResponse.fromBinary);\n return response.value;\n }\n\n /**\n * Returns a serialization of the current axis state that can be saved and reapplied.\n * @returns A serialization of the current state of the axis.\n */\n public async getState(): Promise<string> {\n const request: requests.AxisEmptyRequest & gateway.Message = {\n ...requests.AxisEmptyRequest.DEFAULT,\n interfaceId: this.device.connection.interfaceId,\n device: this.device.deviceAddress,\n axis: this.axisNumber,\n toBinary() {\n return requests.AxisEmptyRequest.toBinary(this);\n },\n };\n\n const response = await gateway.callAsync<requests.StringResponse>(\n 'device/get_state',\n request,\n requests.StringResponse.fromBinary);\n return response.value;\n }\n\n /**\n * Applies a saved state to this axis.\n * @param state The state object to apply to this axis.\n * @returns Reports of any issues that were handled, but caused the state to not be exactly restored.\n */\n public async setState(\n state: string\n ): Promise<SetStateAxisResponse> {\n const request: requests.SetStateRequest & gateway.Message = {\n ...requests.SetStateRequest.DEFAULT,\n interfaceId: this.device.connection.interfaceId,\n device: this.device.deviceAddress,\n axis: this.axisNumber,\n state: state,\n toBinary() {\n return requests.SetStateRequest.toBinary(this);\n },\n };\n\n const response = await gateway.callAsync<SetStateAxisResponse>(\n 'device/set_axis_state',\n request,\n SetStateAxisResponse.fromBinary);\n return response;\n }\n\n /**\n * Checks if a state can be applied to this axis.\n * This only covers exceptions that can be determined statically such as mismatches of ID or version,\n * the process of applying the state can still fail when running.\n * @param state The state object to check against.\n * @param options.firmwareVersion The firmware version of the device to apply the state to.\n * Use this to ensure the state will still be compatible after an update.\n * @returns An explanation of why this state cannot be set to this axis.\n */\n public async canSetState(\n state: string,\n options: Axis.CanSetStateOptions = {}\n ): Promise<string | null> {\n const {\n firmwareVersion,\n } = options;\n const request: requests.CanSetStateRequest & gateway.Message = {\n ...requests.CanSetStateRequest.DEFAULT,\n interfaceId: this.device.connection.interfaceId,\n device: this.device.deviceAddress,\n axis: this.axisNumber,\n state: state,\n firmwareVersion: firmwareVersion,\n toBinary() {\n return requests.CanSetStateRequest.toBinary(this);\n },\n };\n\n const response = await gateway.callAsync<requests.CanSetStateAxisResponse>(\n 'device/can_set_axis_state',\n request,\n requests.CanSetStateAxisResponse.fromBinary);\n return response.error ?? null;\n }\n\n /**\n * Returns identity.\n * @returns Axis identity.\n */\n private _retrieveIdentity(): AxisIdentity {\n const request: requests.AxisEmptyRequest & gateway.Message = {\n ...requests.AxisEmptyRequest.DEFAULT,\n interfaceId: this.device.connection.interfaceId,\n device: this.device.deviceAddress,\n axis: this.axisNumber,\n toBinary() {\n return requests.AxisEmptyRequest.toBinary(this);\n },\n };\n\n const response = gateway.callSync<AxisIdentity>(\n 'device/get_axis_identity',\n request,\n AxisIdentity.fromBinary);\n return response;\n }\n\n /**\n * Disables the driver, which prevents current from being sent to the motor or load.\n * If the driver is already disabled, the driver remains disabled.\n */\n public async driverDisable(): Promise<void> {\n const request: requests.AxisEmptyRequest & gateway.Message = {\n ...requests.AxisEmptyRequest.DEFAULT,\n interfaceId: this.device.connection.interfaceId,\n device: this.device.deviceAddress,\n axis: this.axisNumber,\n toBinary() {\n return requests.AxisEmptyRequest.toBinary(this);\n },\n };\n\n await gateway.callAsync('device/driver_disable', request);\n }\n\n /**\n * Attempts to enable the driver repeatedly for the specified timeout.\n * If the driver is already enabled, the driver remains enabled.\n * @param [options.timeout=10] Timeout in seconds. Specify 0 to attempt to enable the driver once.\n */\n public async driverEnable(\n options: Axis.DriverEnableOptions = {}\n ): Promise<void> {\n const {\n timeout = 10,\n } = options;\n const request: requests.DriverEnableRequest & gateway.Message = {\n ...requests.DriverEnableRequest.DEFAULT,\n interfaceId: this.device.connection.interfaceId,\n device: this.device.deviceAddress,\n axis: this.axisNumber,\n timeout: timeout,\n toBinary() {\n return requests.DriverEnableRequest.toBinary(this);\n },\n };\n\n await gateway.callAsync('device/driver_enable', request);\n }\n\n /**\n * Activates a peripheral on this axis.\n * Removes all identity information for the device.\n * Run the identify method on the device after activating to refresh the information.\n */\n public async activate(): Promise<void> {\n const request: requests.AxisEmptyRequest & gateway.Message = {\n ...requests.AxisEmptyRequest.DEFAULT,\n interfaceId: this.device.connection.interfaceId,\n device: this.device.deviceAddress,\n axis: this.axisNumber,\n toBinary() {\n return requests.AxisEmptyRequest.toBinary(this);\n },\n };\n\n await gateway.callAsync('device/activate', request);\n }\n\n /**\n * Restores all axis settings to their default values.\n * Deletes all zaber axis storage keys.\n * Disables lockstep if the axis is part of one. Unparks the axis.\n * Preserves storage.\n * The device needs to be identified again after the restore.\n */\n public async restore(): Promise<void> {\n const request: requests.DeviceRestoreRequest & gateway.Message = {\n ...requests.DeviceRestoreRequest.DEFAULT,\n interfaceId: this.device.connection.interfaceId,\n device: this.device.deviceAddress,\n axis: this.axisNumber,\n toBinary() {\n return requests.DeviceRestoreRequest.toBinary(this);\n },\n };\n\n await gateway.callAsync('device/restore', request);\n }\n\n /**\n * Moves the axis in a sinusoidal trajectory.\n * @param amplitude Amplitude of the sinusoidal motion (half of the motion's peak-to-peak range).\n * @param amplitudeUnits Units of position.\n * @param period Period of the sinusoidal motion in milliseconds.\n * @param periodUnits Units of time.\n * @param [options.count=0] Number of sinusoidal cycles to complete.\n * Must be a multiple of 0.5\n * If count is not specified or set to 0, the axis will move indefinitely.\n * @param [options.waitUntilIdle=true] Determines whether function should return after the movement is finished or just started.\n */\n public async moveSin(\n amplitude: number,\n amplitudeUnits: Length | Angle | Native,\n period: number,\n periodUnits: Time | Native,\n options: Axis.MoveSinOptions = {}\n ): Promise<void> {\n const {\n count = 0,\n waitUntilIdle = true,\n } = options;\n const request: requests.DeviceMoveSinRequest & gateway.Message = {\n ...requests.DeviceMoveSinRequest.DEFAULT,\n interfaceId: this.device.connection.interfaceId,\n device: this.device.deviceAddress,\n axis: this.axisNumber,\n amplitude: amplitude,\n amplitudeUnits: amplitudeUnits,\n period: period,\n periodUnits: periodUnits,\n count: count,\n waitUntilIdle: waitUntilIdle,\n toBinary() {\n return requests.DeviceMoveSinRequest.toBinary(this);\n },\n };\n\n await gateway.callAsync('device/move_sin', request);\n }\n\n /**\n * Stops the axis at the end of the sinusoidal trajectory.\n * If the sinusoidal motion was started with an integer-plus-half cycle count,\n * the motion ends at the half-way point of the sinusoidal trajectory.\n * @param [options.waitUntilIdle=true] Determines whether function should return after the movement is finished.\n */\n public async moveSinStop(\n options: Axis.MoveSinStopOptions = {}\n ): Promise<void> {\n const {\n waitUntilIdle = true,\n } = options;\n const request: requests.DeviceStopRequest & gateway.Message = {\n ...requests.DeviceStopRequest.DEFAULT,\n interfaceId: this.device.connection.interfaceId,\n device: this.device.deviceAddress,\n axis: this.axisNumber,\n waitUntilIdle: waitUntilIdle,\n toBinary() {\n return requests.DeviceStopRequest.toBinary(this);\n },\n };\n\n await gateway.callAsync('device/move_sin_stop', request);\n }\n}\n\nnamespace Axis {\n export interface HomeOptions {\n /**\n * Determines whether function should return after the movement is finished or just started.\n */\n waitUntilIdle?: boolean;\n }\n export interface StopOptions {\n /**\n * Determines whether function should return after the movement is finished or just started.\n */\n waitUntilIdle?: boolean;\n }\n export interface WaitUntilIdleOptions {\n /**\n * Determines whether to throw error when fault is observed.\n */\n throwErrorOnFault?: boolean;\n }\n export interface MoveAbsoluteOptions {\n /**\n * Determines whether function should return after the movement is finished or just started.\n */\n waitUntilIdle?: boolean;\n /**\n * Movement velocity.\n * Default value of 0 indicates that the maxspeed setting is used instead.\n * Requires at least Firmware 7.25.\n */\n velocity?: number;\n /**\n * Units of velocity.\n */\n velocityUnit?: Velocity | AngularVelocity | Native;\n /**\n * Movement acceleration.\n * Default value of 0 indicates that the accel setting is used instead.\n * Requires at least Firmware 7.25.\n */\n acceleration?: number;\n /**\n * Units of acceleration.\n */\n accelerationUnit?: Acceleration | AngularAcceleration | Native;\n /**\n * Which direction a cyclic device should take to get to the target position.\n */\n cyclicDirection?: CyclicDirection;\n /**\n * Number of extra cycles to complete before stopping at the target.\n */\n extraCycles?: number;\n }\n export interface MoveMaxOptions {\n /**\n * Determines whether function should return after the movement is finished or just started.\n */\n waitUntilIdle?: boolean;\n /**\n * Movement velocity.\n * Default value of 0 indicates that the maxspeed setting is used instead.\n * Requires at least Firmware 7.25.\n */\n velocity?: number;\n /**\n * Units of velocity.\n */\n velocityUnit?: Velocity | AngularVelocity | Native;\n /**\n * Movement acceleration.\n * Default value of 0 indicates that the accel setting is used instead.\n * Requires at least Firmware 7.25.\n */\n acceleration?: number;\n /**\n * Units of acceleration.\n */\n accelerationUnit?: Acceleration | AngularAcceleration | Native;\n }\n export interface MoveMinOptions {\n /**\n * Determines whether function should return after the movement is finished or just started.\n */\n waitUntilIdle?: boolean;\n /**\n * Movement velocity.\n * Default value of 0 indicates that the maxspeed setting is used instead.\n * Requires at least Firmware 7.25.\n */\n velocity?: number;\n /**\n * Units of velocity.\n */\n velocityUnit?: Velocity | AngularVelocity | Native;\n /**\n * Movement acceleration.\n * Default value of 0 indicates that the accel setting is used instead.\n * Requires at least Firmware 7.25.\n */\n acceleration?: number;\n /**\n * Units of acceleration.\n */\n accelerationUnit?: Acceleration | AngularAcceleration | Native;\n }\n export interface MoveRelativeOptions {\n /**\n * Determines whether function should return after the movement is finished or just started.\n */\n waitUntilIdle?: boolean;\n /**\n * Movement velocity.\n * Default value of 0 indicates that the maxspeed setting is used instead.\n * Requires at least Firmware 7.25.\n */\n velocity?: number;\n /**\n * Units of velocity.\n */\n velocityUnit?: Velocity | AngularVelocity | Native;\n /**\n * Movement acceleration.\n * Default value of 0 indicates that the accel setting is used instead.\n * Requires at least Firmware 7.25.\n */\n acceleration?: number;\n /**\n * Units of acceleration.\n */\n accelerationUnit?: Acceleration | AngularAcceleration | Native;\n }\n export interface MoveVelocityOptions {\n /**\n * Movement acceleration.\n * Default value of 0 indicates that the accel setting is used instead.\n * Requires at least Firmware 7.25.\n */\n acceleration?: number;\n /**\n * Units of acceleration.\n */\n accelerationUnit?: Acceleration | AngularAcceleration | Native;\n }\n export interface MoveIndexOptions {\n /**\n * Determines whether function should return after the movement is finished or just started.\n */\n waitUntilIdle?: boolean;\n /**\n * Movement velocity.\n * Default value of 0 indicates that the maxspeed setting is used instead.\n * Requires at least Firmware 7.25.\n */\n velocity?: number;\n /**\n * Units of velocity.\n */\n velocityUnit?: Velocity | AngularVelocity | Native;\n /**\n * Movement acceleration.\n * Default value of 0 indicates that the accel setting is used instead.\n * Requires at least Firmware 7.25.\n */\n acceleration?: number;\n /**\n * Units of acceleration.\n */\n accelerationUnit?: Acceleration | AngularAcceleration | Native;\n }\n export interface GenericCommandOptions {\n /**\n * Controls whether to throw an exception when the device rejects the command.\n */\n checkErrors?: boolean;\n /**\n * The timeout, in milliseconds, for a device to respond to the command.\n * Overrides the connection default request timeout.\n */\n timeout?: number;\n }\n export interface GenericCommandMultiResponseOptions {\n /**\n * Controls whether to throw an exception when a device rejects the command.\n */\n checkErrors?: boolean;\n /**\n * The timeout, in milliseconds, for a device to respond to the command.\n * Overrides the connection default request timeout.\n */\n timeout?: number;\n }\n export interface CanSetStateOptions {\n /**\n * The firmware version of the device to apply the state to.\n * Use this to ensure the state will still be compatible after an update.\n */\n firmwareVersion?: FirmwareVersion;\n }\n export interface DriverEnableOptions {\n /**\n * Timeout in seconds. Specify 0 to attempt to enable the driver once.\n */\n timeout?: number;\n }\n export interface MoveSinOptions {\n /**\n * Number of sinusoidal cycles to complete.\n * Must be a multiple of 0.5\n * If count is not specified or set to 0, the axis will move indefinitely.\n */\n count?: number;\n /**\n * Determines whether function should return after the movement is finished or just started.\n */\n waitUntilIdle?: boolean;\n }\n export interface MoveSinStopOptions {\n /**\n * Determines whether function should return after the movement is finished.\n */\n waitUntilIdle?: boolean;\n }\n}\n"]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
//
|
|
3
|
-
//
|
|
2
|
+
// ===== THIS FILE IS GENERATED FROM A TEMPLATE ===== //
|
|
3
|
+
// ============== DO NOT EDIT DIRECTLY ============== //
|
|
4
4
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
5
|
if (k2 === undefined) k2 = k;
|
|
6
6
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|