beautypg.com

Pevnt, Appendices ~ appendix e: serial commands, Explanation – ClearOne AP400 User Manual

Page 66: Return values

background image

Appendices

~ Appendix E: Serial Commands

62

Technical Services Group ~ 1-800-283-5936 (USA) ~ 1-801-974-3760

PEVNT

This command programs or returns the program of the GPIO

status pins from the serial port. The command line follows the

same format as shown in the PCMD example (previous page).

[DEVICE] PEVNT

Explanation

LOCATION=1

Status pin 2 active

LOCATION=2

Status pin 2 inactive

LOCATION=3

Status pin 4 active

LOCATION=4

Status pin 4 inactive

LOCATION=5

Status pin 6 active

LOCATION=6

Status pin 6 inactive

LOCATION=7

Status pin 8 active

LOCATION=8

Status pin 8 inactive

LOCATION=9

Status pin 10 active

LOCATION=10

Status pin 10 inactive

LOCATION=11

Status pin 12 active

LOCATION=12

Status pin 12 inactive

LOCATION=13

Status pin 14 active

LOCATION=14

Status pin 14 inactive

LOCATION=15

Status pin 16 active

LOCATION=16

Status pin 16 inactive

EVENT=String

Pin will execute string

when actuated

EVENT=Null

Parameter to return the

current programming for the

pin

EVENT=Clear

Parameter to clear current

programming (do nothing

state)

EVENT LIST: AA, AD, AGC, CHAIRO, EQ, GAIN, GMODE, LFP,

MUTE, PRESET, TE

Return Values

The command will return the updated condition of the pin in the

same format as the command. If the command did not alter the

state, the command returns the current event for which the pin is

programmed.

Preset Command Note:
PRESET has two status
parameters which can be set

in a PEVNT command line: preset and
NOT preset. To indicate NOT preset, add
“!” to the end of the string. For
example, this could be used to show
when PRESET 1 occurs and then shut
off if any other preset is selected. You
would enter PRESET 1 in the active
location and PRESET 1! in the inactive
location for the desired pin.