Table of Contents

.ps Push Switch Single press

Starts a timed software switch single press, this is equivalent to a single press and hold of the hardware switch. If the switch is already in use an error will be returned. If the duration is set to zero the switch press will continue until stopped with an abort command. If the switch action is set to barcode then the switch press will end on completion of the barcode read.

Android iOS .NET
link coming soon link coming soon SwitchSinglePressCommand

Parameters

Identifier Values Description
-n No action, just set the parameters
-p List the current parameter values
-t n Press duration in seconds
-x Reset the parameters to defaults

Parameter detail

-n

No action, just set the parameters

TypeSwitch
Value
Range
Order In Interpretation4

-p

List the current parameter values

TypeSwitch
Value
Range
Order In Interpretation3

-t

Press duration in seconds

TypeNumeric
Valuen
Rangen=0..99
Order In Interpretation2
Default Value5

-x

Reset the parameters to defaults

TypeSwitch
Value
Range
Order In Interpretation1

Parameter Interpretation Order

-x, -t, -p, -n

Parameter Defaults

-t 5

Response Headers

CS ER ME OK PR

Examples

CommandResponseAction
.ps -p -nCS: .ps -p -n

PR: -n -p -t 5 -x

OK:

No Action
.psCS: .ps

ME: Switch already in use

ER:014

The switch press was refused because the switch was already in use