Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 1.2 KB

NextXAVA.md

File metadata and controls

24 lines (18 loc) · 1.2 KB

HandyAPI::NextXAVA

Properties

Name Type Description Notes
stop_on_target Boolean Flag to indicate whether or not the movement of the slide should stop when the specified target position have been reached. Setting this value to <code>false</code> should in most cases give a smoother movement when sending a stream HDSP commands continuously to the device. [optional][default to false]
immediate_response Boolean Flag to indicate if the server should return a response immediately upon receinving the command from the client or wait for a response from the device before returning a response to the client. [optional][default to false]
position Float Absolute position in millimeter (mm). 0 = absolute bottom position.
velocity Float Absolute velocity in millimeter per millisecond (mm/ms). The sign indicates the direction of the movement. Negative: moving towards the bottom. Positive: moving towards the top.

Example

require 'handy_api'

instance = HandyAPI::NextXAVA.new(
  stop_on_target: null,
  immediate_response: null,
  position: null,
  velocity: 200
)