Skip to main content

listStations v6.1

List the marking stations, in the order they are shown on the overview.

A marking station is a point on the line where one or more printers mark the same product, for example two printers labeling opposite sides of a pallet. Every printer is in exactly one station, and a printer on its own is a station with one printer. Stations are arranged in the web UI under Settings → Marking stations.

A new printer gets a station of its own, with the printer's ID as its ID, or the printer's ID followed by _2, _3 and so on if that is taken. Each station has GPIO signals and actions that act on all its printers.

Parameter​

None

Return value​

An array with an object for each station:

KeyTypeDescription
idstringThe station ID, used in the names of its GPIO signals and actions.
printersarray of stringsThe IDs of the printers in the station.
displayNamestringThe name shown as the station's title on the overview. Left out if the station has none, and the ID is shown instead.

Example​

listStations

Returns:

OK [{"id":"Pallet","printers":["Left","Right"],"displayName":"Pallet sides"},{"id":"Case","printers":["Case"]}]