Strange behave
adys
Junior Member
I have the folowing code:
BUTTON_EVENT[tpList, TOOL_BAR_WAKEUP]
BUTTON_EVENT[tpList, TOOL_BAR_SECURITY]
BUTTON_EVENT[tpList, TOOL_BAR_DRAPES]
BUTTON_EVENT[tpList, TOOL_BAR_VIDEO]
BUTTON_EVENT[tpList, TOOL_BAR_AUDIO]
BUTTON_EVENT[tpList, TOOL_BAR_HVAC]
BUTTON_EVENT[tpList, TOOL_BAR_LIGHTS]
{
PUSH:
{
SWITCH(BUTTON.INPUT.CHANNEL)
{
CASE TOOL_BAR_WAKEUP:
{
}
CASE TOOL_BAR_SECURITY:
{
}
CASE TOOL_BAR_DRAPES:
{
}
CASE TOOL_BAR_VIDEO:
{
updateSourceScreen(tpList)
updateVolumeScreen(tpList)
updateSpeakersScreen(tpList)
}
CASE TOOL_BAR_AUDIO:
{
}
CASE TOOL_BAR_HVAC:
{
}
CASE TOOL_BAR_LIGHTS:
{
}
} // END OF - SWITCH
} // END OF - PUSH
}
When I debug it, I get into the case but not to the TOOL_BAR_VIDEO
It was a multi state button
I change it to general, removed the commnads, change the channel, set address code to none.
the strange thing is that its get into the button event but looks like I don't get right BUTTON.INPUT.CHANNEL...
Any idea?
thanks
Ady
BUTTON_EVENT[tpList, TOOL_BAR_WAKEUP]
BUTTON_EVENT[tpList, TOOL_BAR_SECURITY]
BUTTON_EVENT[tpList, TOOL_BAR_DRAPES]
BUTTON_EVENT[tpList, TOOL_BAR_VIDEO]
BUTTON_EVENT[tpList, TOOL_BAR_AUDIO]
BUTTON_EVENT[tpList, TOOL_BAR_HVAC]
BUTTON_EVENT[tpList, TOOL_BAR_LIGHTS]
{
PUSH:
{
SWITCH(BUTTON.INPUT.CHANNEL)
{
CASE TOOL_BAR_WAKEUP:
{
}
CASE TOOL_BAR_SECURITY:
{
}
CASE TOOL_BAR_DRAPES:
{
}
CASE TOOL_BAR_VIDEO:
{
updateSourceScreen(tpList)
updateVolumeScreen(tpList)
updateSpeakersScreen(tpList)
}
CASE TOOL_BAR_AUDIO:
{
}
CASE TOOL_BAR_HVAC:
{
}
CASE TOOL_BAR_LIGHTS:
{
}
} // END OF - SWITCH
} // END OF - PUSH
}
When I debug it, I get into the case but not to the TOOL_BAR_VIDEO
It was a multi state button
I change it to general, removed the commnads, change the channel, set address code to none.
the strange thing is that its get into the button event but looks like I don't get right BUTTON.INPUT.CHANNEL...
Any idea?
thanks
Ady
Comments
-
Problem solved - thanks
No!
it didn't!
just return the button to be with ^ANI and with address code and loop back and again its not working...
Categories
- All Categories
- 2.5K AMX General Discussion
- 922 AMX Technical Discussion
- 514 AMX Hardware
- 502 AMX Control Products
- 3 AMX Video Distribution Products
- 9 AMX Networked AV (SVSI) Products
- AMX Workspace & Collaboration Products
- 3.4K AMX Software
- 151 AMX Resource Management Suite Software
- 386 AMX Design Tools
- 2.4K NetLinx Studio
- 135 Duet/Cafe Duet
- 248 NetLinx Modules & Duet Modules
- 57 AMX RPM Forum
- 228 MODPEDIA - The Public Repository of Modules for Everyone
- 943 AMX Specialty Forums
- 2.6K AMXForums Archive
- 2.6K AMXForums Archive Threads
- 1.5K AMX Hardware
- 432 AMX Applications and Solutions
- 249 Residential Forum
- 182 Tips and Tricks
- 146 AMX Website/Forums