1 / 83

Programmazione dei Sistemi AMX

Programmazione dei Sistemi AMX . San Sepolcro, 19 Maggio 2006. Ing.Andrea Tamagnini. I Software AMX: Netlinx Studio, Visual Architect, TPDesign4, G4 Panel Builder, Cafè Duet.

corin
Download Presentation

Programmazione dei Sistemi AMX

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Programmazione dei Sistemi AMX San Sepolcro, 19 Maggio 2006 Ing.Andrea Tamagnini

  2. I Software AMX: Netlinx Studio, Visual Architect, TPDesign4, G4 Panel Builder, Cafè Duet AMX mette a disposizione differenti ambienti di programmazione per i differenti skill degli sviluppatori di tutto il mondo: ambienti di sviluppo tradizionali, ambienti di sviluppo grafici, ambiente di sviluppo Java

  3. Netlinx Studio 2.0 Ambiente di sviluppo tradizionale a linee di codice con avanzate funzionalità di diagnostica a Workspace compatibile con i sistemi Netlinx e Axcent

  4. L’interfaccia grafica del Netlinx Studio

  5. Configurazione e Indirizzamento dei Sistemi NetLinx

  6. Device:Port:System • Quando un Touch panel è connesso al sistema NetLinx il cui system ID è 1, verrà “visto” come dispositivo 10128:1:1 o 10128:1:0 (code). D:P:S = 10128:1:1

  7. Settaggi di un Progetto in NetLinx Studio • Esempio di come vengono indirizzati I vari compnenti di un sistema controllato da AMX: • Autopatch A/V Switcher - RS232 Control • Sony (SVO1620) VCR - IR Control • JVC (AV2760) TV - IR Control • RCA (DS4430RW) Sat receiver - IR Control • Sony (VPLV800Q) Video Projector - IR Control • AMX (NXT-CV7) TouchPanel • AMX (NI2000) Relay • AMX (NI2000) Input Output

  8. Struttura del Codice in NetLinx

  9. Tutto si basa su eventi : DEFINE_EVENT • Cinque tipi differenti di eventi: • BUTTON_EVENT • CHANNEL_EVENT • DATA_EVENT • LEVEL_EVENT • TIMELINE_EVENT

  10. BUTTON_EVENT • A BUTTON_EVENT occurs when an Input Channel turns on and off • When you think about events which may occur in relation to a button in a Control System the events will fall into one of three categories: • What happens when the button is pushed • What happens when the button is released • What happens while the button is held

  11. BUTTON_EVENT BUTTON_EVENT [<device>,<channel>] { PUSH: { // push event handler code } RELEASE: { // release event handler code } HOLD [<time>,[REPEAT]]: { // hold event handler code } }

  12. BUTTON_EVENT • Quale informazione descrive un BUTTON_EVENT? • Channel number of the button • The D:P:S device number of the device generating the BUTTON_EVENT • The individual Device Number, Port and System ID used for the D:P:S • The amount of time the button has been held

  13. Proprietà di BUTTON_EVENT

  14. CHANNEL_EVENT • CHANNEL_EVENTs occur when an output channels are turned on and off • Channel_Events are very simple and only have two conditions: • What happens when the channel turns on • What happens when the channel turns off

  15. CHANNEL_EVENT CHANNEL_EVENT [<device>,<channel>] { ON: { // on event handler code } OFF: { // off event handler code } }

  16. CHANNEL_EVENT • Quale informazione descrive un CHANNEL_EVENT? • Channel number of the device • The D:P:S Device number of the relay card that contains the relay • The individual Device number, Port and System ID of the D:P:S device number

  17. Input System Master Input Characteristics • Quando si preme un pulsante sul touch screen la funzione input del pulsante invia un “input change” all’unità di controllo.

  18. Controlling Something Over There • L’idea base di un sistema per il controllo remoto è quella di inviare comandi o macro-comandi ( + comandi in successione ) ad un apparato

  19. Getting Started PanelBuilder-Style Environment System Device List Devices to add to system Device Properties

  20. Add a System Controller

  21. Add a Touch Panel

  22. Add a Wireless Access Point ActiveConnect

  23. Add a Network Switch

  24. Add another Touch Panel

  25. Add a Keypad

  26. Add a Device

  27. Add Another Device

  28. And Another…

  29. And Another…

  30. And Another…

  31. And Another…

  32. And Another

  33. What if it’s an IR Device?

  34. Simplified IR Capture Select functions to capture Function Templates based on Duet API Minimal keyboard/mouse interaction

  35. Simplified IR Capture Select device characteristics Minimal keyboard/mouse interaction

  36. Simplified IR Capture Automatically advances to next function Minimal keyboard/mouse interaction

  37. What about Serial and IP Devices? Similar to IR Capture

  38. User Interface Design Tab for each User Interface

  39. KeypadBuilder-Style Keypad Design HOME UP ENTER DOWN STOP PLAY PAUSE PWR FFWD SREV REV SFWD

  40. PanelBuilder-Style Touch Panel Design EmbeddedG4API codes in Templates

  41. Edit Device Names

  42. Edit Device Names

  43. Edit Device Names

  44. Edit Device Names

  45. Edit Device Names

  46. Edit Device Names

  47. Edit Device Names

  48. Add Menu Navigation

More Related