getEncoderQuadInvert v5.2
Get whether the quadrature inputs of an encoder speed source are inverted, i.e. whether the direction of travel reported by the encoder is reversed.
Parameter
| Key | Type | Description |
|---|---|---|
| id | string | Optional speed source ID. If omitted, the speed source of printer is used. |
| printer | string | Printer ID. Required if id is omitted and more than one printer is available. |
Return value
| Key | Type | Description |
|---|---|---|
| invert | boolean | Whether the encoder quadrature is inverted. |
Example
getEncoderQuadInvert {"printer": "printer1"}