AMX TPDESIGN4 V2.5 Guide d'installation Page 48

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 75
  • Table des matières
  • DEPANNAGE
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 47
Programming AMX Controllers for a Kaleidescape System
Page 48
Programming Events
The zone being controlled by the Kaleidescape App for iPad can be changed by
pulsing channels between 600 and 608 or by using the call Select Zone for Kaleidescape
Controller in your zone selection code. The parameters that must be included in this
call are the iPad ID, new zone number, volume level of the zone, and mute status of
the zone. In the example below, pulsing channel 600 will disconnect the volume
buttons from all zones, pulsing channels between 601 and 608 will connect the
volume commands to zones 1 through 8.
In the sample code, the iPad is also used as a touch panel on the system (TP_ONE)
and is in the first position of the KTouchPanels array.
BUTTON_EVENT[KTouchPanels, 600] //deselect touch panel
BUTTON_EVENT[KTouchPanels, 601] //select ZKones[1]
BUTTON_EVENT[KTouchPanels, 602] //select ZKones[2]
BUTTON_EVENT[KTouchPanels, 603] //select ZKones[3]
BUTTON_EVENT[KTouchPanels, 604] //select ZKones[4]
BUTTON_EVENT[KTouchPanels, 605] //select ZKones[5]
BUTTON_EVENT[KTouchPanels, 606] //select ZKones[6]
BUTTON_EVENT[KTouchPanels, 607] //select ZKones[7]
BUTTON_EVENT[KTouchPanels, 608] //select ZKones[8]
{
push:
{
stack_var integer touchPanelRef
stack_var integer zone
touchPanelRef = get_last(KTouchPanels)
zone = button.input.channel - 600
send_string 0, "'Zone select button event, button ', itoa(zone),
' pressed on panel ', itoa(touchPanelRef), '.'"
call 'Select Zone for Kaleidescape Controller' (
controllerProperties[touchPanelRef].controllerZoneName,
zone,
zoneVolumeProperties[zone].volLevel,
zoneVolumeProperties[zone].muteStatus)
}
}
Programming Feedback
Volume level feedback can be sent to a Kaleidescape controller by setting Level 1 of
the zone in KZones, or using the call Send Volume Level to Kaleidescape Controller, to the
room’s volume level.
Vue de la page 47
1 2 ... 43 44 45 46 47 48 49 50 51 52 53 ... 74 75

Commentaires sur ces manuels

Pas de commentaire