.pd Push Switch Double press
Starts a timed software switch double press, this is equivalent to a double 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 | SwitchDoublePressCommand |
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
| Type | Switch |
|---|---|
| Value | |
| Range | |
| Order In Interpretation | 4 |
-p
List the current parameter values
| Type | Switch |
|---|---|
| Value | |
| Range | |
| Order In Interpretation | 3 |
-t
Press duration in seconds
| Type | Numeric |
|---|---|
| Value | n |
| Range | n=0..99 |
| Order In Interpretation | 2 |
| Default Value | 5 |
-x
Reset the parameters to defaults
| Type | Switch |
|---|---|
| Value | |
| Range | |
| Order In Interpretation | 1 |
Parameter Interpretation Order
-x, -t, -p, -n
Parameter Defaults
-t 5
Response Headers
Examples
| Command | Response | Action |
| .pd -p -n | CS: .pd -p -n
PR: -n -p -t 5 -x OK: | No Action |
| .pd | CS: .pd
ME: Switch already in use ER:014 | The switch press was refused because the switch was already in use |