Motion Devices¶
Typearray
The motionDevices array lists the motion devices used to move the probe(s) over the specimen.
motionDevices¶
Typearray
| Property | Type | Description |
|---|---|---|
id required |
integer | Unique motion device id, referenced in the dimensions array of discreteGrid and allCycle objects |
| name | string | Name of the motion device |
encoder required |
object | An encoder object |
Related objects: UCoordinate, VCoordinate, Polar, allCycle datasets
encoder¶
Typeobject
The encoder object describes a generic encoder used to register the position of a motion device.
| Property | Type | Description |
|---|---|---|
| serialNumber | string | Serial number of the encoder |
mode required |
string | Encoder pulse mode: Quadrature, ClockDir, PulseUp, PulseDown, Tach, or Index |
stepResolution required |
number | Resolution of the encoder in steps per unit (meter or revolution depending on unit) |
| unit | string | Unit of stepResolution: StepPerMeter for linear encoders or StepPerRevolution for rotary encoders |
| preset | number | Preset value |
| inverted | boolean | Whether the encoder counting direction was reversed |
Tach— Each encoder step corresponds to a partial rotation.stepResolutiondefines the number of steps per revolution.Index— Each encoder step corresponds to one complete revolution.stepResolutionis typically1.0.