![background image](http://html1.mh-extra.com/html/amx/modero-nxd-cv5/modero-nxd-cv5_operation-reference-manual_2938958131.webp)
Programming
125
5" Modero Widescreen Touch Panel
Button Query Commands
Button Query commands reply back with a custom event. There will be one custom event for each
button/state combination. Each query is assigned a unique custom event type.
The following example is
for debug purposes only:
NetLinx Example: CUSTOM_EVENT[device, Address, Custom event type]
DEFINE_EVENT
CUSTOM_EVENT[TP,529,1001] // Text
CUSTOM_EVENT[TP,529,1002] // Bitmap
CUSTOM_EVENT[TP,529,1003] // Icon
CUSTOM_EVENT[TP,529,1004] // Text Justification
CUSTOM_EVENT[TP,529,1005] // Bitmap Justification
CUSTOM_EVENT[TP,529,1006] // Icon Justification
CUSTOM_EVENT[TP,529,1007] // Font
CUSTOM_EVENT[TP,529,1008] // Text Effect Name
CUSTOM_EVENT[TP,529,1009] // Text Effect Color
CUSTOM_EVENT[TP,529,1010] // Word Wrap
CUSTOM_EVENT[TP,529,1011] // ON state Border Color
CUSTOM_EVENT[TP,529,1012] // ON state Fill Color
CUSTOM_EVENT[TP,529,1013] // ON state Text Color
CUSTOM_EVENT[TP,529,1014] // Border Name
CUSTOM_EVENT[TP,529,1015] // Opacity
{
Send_String 0,"'ButtonGet Id=',ITOA(CUSTOM.ID),' Type=',ITOA(CUSTOM.TYPE)"
Send_String 0,"'Flag =',ITOA(CUSTOM.FLAG)"
Send_String 0,"'VALUE1 =',ITOA(CUSTOM.VALUE1)"
Send_String 0,"'VALUE2 =',ITOA(CUSTOM.VALUE2)"
Send_String 0,"'VALUE3 =',ITOA(CUSTOM.VALUE3)"
Send_String 0,"'TEXT =',CUSTOM.TEXT"
Send_String 0,"'TEXT LENGTH =',ITOA(LENGTH_STRING(CUSTOM.TEXT))"
}
Summary of Contents for Modero NXD-CV5
Page 12: ...Introduction 6 5 Modero Widescreen Touch Panel...
Page 18: ...CV5 Touch Panel Accessories 12 5 Modero Widescreen Touch Panel...
Page 58: ...Configuring Communication 52 5 Modero Widescreen Touch Panel...
Page 98: ...Firmware Pages and Descriptions 92 5 Modero Widescreen Touch Panel...
Page 158: ...Appendix A 152 5 Modero Widescreen Touch Panel...
Page 159: ...Appendix A 153 5 Modero Widescreen Touch Panel...
Page 160: ...Appendix A 154 5 Modero Widescreen Touch Panel...
Page 161: ...Appendix A 155 5 Modero Widescreen Touch Panels...