| |
- device_actions_dialog(lib, device_id)
- The main Manager of the example.
:param lib: structure for accessing the functionality of the libximc library.
:param device_id: device id.
Follow the on-screen instructions to change the settings.
- device_movement_actions_dialog(lib, device_id, mode=1)
- The Manager motion control.
Allows you to move both in feedback counts and in user units.
:param lib: structure for accessing the functionality of the libximc library.
:param device_id: device id.
:param mode: data mode in feedback counts or in user units. (Default value = 1)
Follow the on-screen instructions to change the settings.
- device_selection_dialog()
- Device selection Manager.
Set bindy (network) keyfile. Must be called before any call to "enumerate_devices" or "open_device" if you
wish to use network-attached controllers. Accepts both absolute and relative paths, relative paths are resolved
relative to the process working directory. If you do not need network devices then "set_bindy_key" is optional.
In Python make sure to pass byte-array object to this function (b"string literal").
Follow the on-screen instructions to change the settings.
- flex_wait_for_stop(lib, device_id, msec, mode=1)
- This function performs dynamic output coordinate in the process of moving.
:param lib: structure for accessing the functionality of the libximc library.
:param device_id: device id.
:param msec: Pause between reading the coordinates.
:param mode: data mode in feedback counts or in user units. (Default value = 1)
- get_motor_settings(lib, device_id)
- Receiving the configuration of the motor.
:param lib: structure for accessing the functionality of the libximc library.
:param device_id: device id.
- get_stage_information(lib, device_id)
- Read information from the EEPROM of the progress bar if it is installed.
:param lib: structure for accessing the functionality of the libximc library.
:param device_id: device id.
- get_status(lib, device_id)
- A function of reading status information from the device
You can use this function to get basic information about the device status.
:param lib: structure for accessing the functionality of the libximc library.
:param device_id: device id.
- getch()
- Select the type of keyboard processing depending on your rights.
- getch_new()
- Processing keystrokes by scancode. Provides work independent of the national layout.
- gl_settings(lib, device_id)
- Manager of the controller settings.
Follow the on-screen instructions to change the settings.
:param lib: structure for accessing the functionality of the libximc library.
:param device_id: device id.
- input_flags(flags, names_flags)
- Function for entering flag values.
:param lib: structure for accessing the functionality of the libximc library.
:param device_id: device id.
- input_new(s='')
- Wrapper for the data entry function.
:param s: Description of the input value(Default value = "")
- main()
- Main function of the example
Starts Manager search for devices and the General Manager work with the device.
- motor_settings(lib, device_id)
- :param lib: structure for accessing the functionality of the libximc library.
:param device_id: device id.
- test_edges_settings(lib, device_id)
- View and configure the limit switch mode.
Follow the on-screen instructions to change the settings.
:param lib: structure for accessing the functionality of the libximc library.
:param device_id: device id.
- test_eeprom(lib, device_id)
- Checks for the presence of EEPROM. If it is present, it displays information.
:param lib: structure for accessing the functionality of the libximc library.
:param device_id: device id.
- test_extio(lib, device_id)
- External input / output settings Manager.
Follow the on-screen instructions to change the settings.
:param lib: structure for accessing the functionality of the libximc library.
:param device_id: device id.
- test_feedback_settings(lib, device_id)
- View and change the feedback mode.
To manage feedback, follow the prompts on the screen.
:param lib: structure for accessing the functionality of the libximc library.
:param device_id: device id.
- test_get_move_settings(lib, device_id, mvst, mode=1)
- Read the move settings.
:param lib: structure for accessing the functionality of the libximc library.
:param device_id: device id.
:param mvst: the structure with parameters of movement.
:param mode: data mode in feedback counts or in user units. (Default value = 1)
- test_get_position(lib, device_id, mode=1)
- Obtaining information about the position of the positioner.
This function allows you to get information about the current positioner coordinates,
both in steps and in encoder counts, if it is set.
Also, depending on the state of the mode parameter, information can be obtained in user units.
:param lib: structure for accessing the functionality of the libximc library.
:param device_id: device id.
:param mode: mode in feedback counts or in user units. (Default value = 1)
- test_info(lib, device_id)
- Reading information about the device.
:param lib: structure for accessing the functionality of the libximc library.
:param device_id: device id.
- test_left(lib, device_id)
- Move to the left.
:param lib: structure for accessing the functionality of the libximc library.
:param device_id: device id.
- test_microstep_mode(lib, device_id)
- Setting the microstep mode. Works only for stepper motors
Follow the on-screen instructions to change the settings.
:param lib: structure for accessing the functionality of the libximc library.
:param device_id: device id.
- test_move(lib, device_id, distance, udistance, mode=1)
- Move to the specified coordinate.
Depending on the mode parameter, you can set coordinates in steps or feedback counts, or in custom units.
:param lib: structure for accessing the functionality of the libximc library.
:param device_id: device id.
:param distance: the position of the destination.
:param udistance: destination position in micro steps if this mode is used.
:param mode: mode in feedback counts or in user units. (Default value = 1)
- test_move_settings(lib, device_id, mode=1)
- Setting up movement parameters.
Follow the on-screen instructions to change the settings.
:param lib: structure for accessing the functionality of the libximc library.
:param device_id: device id.
:param mode: data mode in feedback counts or in user units. (Default value = 1)
- test_movr(lib, device_id, distance, udistance, mode=1)
- The shift by the specified offset coordinates.
Depending on the mode parameter, you can set coordinates in steps or feedback counts, or in custom units.
:param lib: structure for accessing the functionality of the libximc library.
:param device_id: device id.
:param distance: size of the offset in steps.
:param udistance: Size of the offset in micro steps.
:param mode: (Default value = 1)
- test_right(lib, device_id)
- Move to the right.
:param lib: structure for accessing the functionality of the libximc library.
:param device_id: device id.
- test_serial(lib, device_id)
- Reading the device's serial number.
:param lib: structure for accessing the functionality of the libximc library.
:param device_id: device id.
- test_set_move_settings(lib, device_id, mvst, mode=1)
- Write the move settings.
:param lib: structure for accessing the functionality of the libximc library.
:param device_id: device id.
:param mvst: the structure with parameters of movement.
:param mode: data mode in feedback counts or in user units. (Default value = 1)
- test_status(lib, device_id)
- A function of reading status information from the device
You can use this function to get basic information about the device status.
:param lib: structure for accessing the functionality of the libximc library.
:param device_id: device id.
- test_sync_settings(lib, device_id)
- test_user_unit_mode(lib, device_id)
- User unit mode settings
After setting this multiplier, you can use special commands with the suffix _calb to set the movement in mm or degrees.
Follow the on-screen instructions to change the settings.
:param lib: structure for accessing the functionality of the libximc library.
:param device_id: device id.
- test_wait_for_stop(lib, device_id, interval)
- Waiting for the movement to complete.
:param lib: structure for accessing the functionality of the libximc library.
:param device_id: device id.
:param interval: step of the check time in milliseconds.
|