Skip to main content

Version 5.4.x

GPIO conditions are now called signals​

GPIO conditions have been renamed to signals, see Input/output. The old method names still work, but are deprecated:

DeprecatedReplacement
getGpioConditiongetGpioSignal
listGpioConditionslistGpioSignals
listUserGpioConditionslistUserGpioSignals
listWritableGpioConditionslistWritableGpioSignals
removeUserGpioConditionremoveUserGpioSignal
setGpioConditionssetGpioSignals
waitForGpioConditionwaitForGpioSignal
  • The constant signals always and never are renamed to always_active and never_active. The old names still work, but are no longer listed, and are reserved as names of user expressions.
  • Each printer has a writable printer.<printerID>.maintenance_mode signal, see Built-in signals.
  • Every writable signal has the actions signal.<signal>.activate and signal.<signal>.deactivate, see Actions. They replace the actions printer.<printerID>.enable_maintenance and printer.<printerID>.disable_maintenance.

New requests​

Changed requests​

Text Line protocol​

  • Text Line protocol actions have a pattern, a regular expression that picks the part of the line to use, see Action fields.
  • Actions accept a minimum and a maximum trigger distance, which form a trigger window.
  • Actions can use a snapshot of the label, taken when the line is received.

Label objects​