Skip to main content

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​

KeyTypeDescription
idstringOptional speed source ID. If omitted, the speed source of printer is used.
printerstringPrinter ID. Required if id is omitted and more than one printer is available.

Return value​

KeyTypeDescription
invertbooleanWhether the encoder quadrature is inverted.

Example​

getEncoderQuadInvert {"printer": "printer1"}