setDataToPanel
Sends data your channel has to one panel, as a property of that panel.
Type
assocArray: { <panel type>: { <property>: value } }
Example
' One property per write
m.maestro.setDataToPanel = { PANEL_TYPE: { PROPERTY_A: valueA } }
m.maestro.setDataToPanel = { PANEL_TYPE: { PROPERTY_B: valueB } }
' What Just Happened: show the closest key moment now
m.maestro.setDataToPanel = { whatJustHappened: { triggerModule: true } }
Notes
- Write one panel per write: only the first panel key of a write is read. Writing one property per write keeps each change separate.
- Panel types and property names match the panel's documentation; the panel type is case-insensitive.
- Data for a panel not built yet is kept and applied when it builds, and again on every rebuild.
- On every build the order is
userSettings, thensetDataToPaneldata, then the panel's config from Maestro, then the runtimeconfiguration. For a property the page config also sets, write yours again afterpanelsBuilt. - Set it after
configin a session.