Volume
Component
Name: Volume
Interface: IVolumeComponent
Component Functions:
Name:
Channel:
Level: Command:
cycleVolumeMute()
26
cycleVolumePreset()
138
getVolumePreset()
saveVolumePreset(pre-
set)
setVolume(level)
setVolumeMuteOn(state)
199
setVolumePreset(preset)
setVol-
25
umeRamp(DOWN)
setVolumeRamp(UP)
24
Listener
Name: Volume Listener
Interface: IVolumeComponentListener
Listener Functions:
Name:
Channel:
Level: Command:
processVolumeEvent
processVolumeMu-
199
teEvent
processVolumePre-
setEvent
processVolumeRampE-
25
vent
processVolumeRampE-
24
vent
Standard NetLinx API (SNAPI) R 1.8.0
IVolumeComponent
?VOLPRESET
VOLPRESETSAVE-<preset>
1
VOLPRESET-<preset>
1
VOLPRESET-<preset>
Constant:
Notes:
VOL_MUTE
Momentary Function Channel: Cycle volume mute when channel is activated
VOL_PRESET
Momentary Function Channel: Cycle camera preset when channel is activated
Query for volume preset, responds with VOLPRESET-<preset>
Save Volume Preset where <preset> is 1 to x and x is the maximum supported preset
(see specific module documentation)
VOL_LVL
Set volume, range is 0-255
VOL_MUTE_ON
Discrete Function Channel: Volume mute is on while channel is active
Recall volume preset where <preset> is 1 to x and x is the maximum supported preset
(see specific module documentation)
VOL_DN
Ramping Channel: Volume is ramped down while channel is active
VOL_UP
Ramping Channel: Volume is ramped up while channel is active
IVolumeComponentListener
Constant:
Notes:
VOL_LVL
Volume changed, range is 0-255
VOL_MUTE_FB
Feedback Channel: Volume is muted if channel is on
Volume preset changed, where <preset> is 1-x and x is the maximum supported preset
(see specific module documentation)
VOL_DN_FB
Feedback Channel: Volume is ramping down while channel is on
VOL_UP_FB
Feedback Channel: Volume is ramping up while channel is on
157
Need help?
Do you have a question about the CAFE DUET STANDARD NETLINX API (SNAPI) COMPONENTS AND LISTENERS and is the answer not in the manual?
Questions and answers