100
1
SW
9.2.5
EVENT FUNCTIONS
Event functions lets PLAYER execute automated functions. There are 3 possibilities GPI1,
GPI2 and SILENCE settings.
Functions
Function:
Description:
Reload event configuration. Call it after modify the preset configuration using CFG_set
and CFG_commit
Arguments:
txtEvent
– String indicating the event to reload (GPI1, GPI2 or SILENCE)
9.2.6
EVENT VARIABLES
When programmaing GPI1 or GPI2 these variables are available
gpiN.settings.source_polarity
Event polarity DIRECT or REVERSE
gpiN.settings.target_type
INTERNAL, PRESET RECALL, TRANSPORT CONTROL,
LOAD & PLAY SOURCE or PRIORITY SOURCE
gpiN.settings.target_preset
If target_type=PRESET RECALL put here the preset number
1 to 20
gpiN.settings.target_transport
If target_type=TRANSPORT CONTROL enter here one of
this options: STOP, PLAY, PREV/RW, NEXT/FW
gpiN.settings.target_loadsource
if target_type=LOAD & PLAY SOURCE or
target=PRIORITY SOURCE put here the url you want to load
and play
gpiN.settings.target_priomode
If target_type=PRIORITY SOURCE enter here the priority
mode. Choose between HOLD or PULSE
gpiN.settings.target_prio_retrigger If target_priomode=PULSE set to 1 to active retrigger option.
0 to disable it
gpiN.settings.target_prio_pulse_time If target_prio_retrigger=1 put here the playback duration
N should be 1 or 2 (for GPI1 or GPI2)
While programming SILENCE these variables are available
silence.settings.source_detecttime Put here the detection time in seconds
silence.settings.target_type
INTERNAL, PRESET RECALL, LOAD & PLAY SOURCE
silence.settings.target_preset
If target_type=PRESET RECALL put here the preset number 1
to 20
silence.settings.target_loadsource if target_type=LOAD & PLAY SOURCE or
target=PRIORITY SOURCE put here the url you want to load
and play
EVENT_reload(txtEvent)