Touchpanel keyboard, help!
Carlos Negron
Junior Member
Hi, I'm working with a Modero 8400. I'm trying to use the same keyboard that the panel has in the System Page Template to enter some infromation to an Audia Flex TI card. (preset information). I know how to bring up the keyboard. The thing is that I don't realize how to receive that information on my program. Do I have define those buttons on the keyboard on my program?
I know that I have to put that information on a variable or a buffer but don't know how to do it.
Thanks in advance,
New kid
I know that I have to put that information on a variable or a buffer but don't know how to do it.
Thanks in advance,
New kid
Comments
-
You need to create a Data_Event String_Event handler for port 1 of your TP in code to capture data from the keyboard. You might want to go to System Page Templates in TPD-4 and copy the keyboard and paste it into you regular pages and give it a specific name to distiguish inputs from this keyboard for this device from other keyboards for other device. You can avoid this if page tracking and knowing what purpose invoked the keyboard.
-
Touchpanel keyboard, help!
So what does all the trick is the line (CREATE_BUFFER tp,tp_buffer)? -
How do I make a String_Event handler for port 1 of my TP in code to capture data from the keyboard?
-
do something like this:
DATA_EVENT [TP] //10001:1:0 { ONLINE: { // } OFFLINE: { // } ONERROR: { // } STRING: {//SELECT ACTIVE would be nicer if (find_string(tp_buffer,'My_1st_Named_KEYB-',1)) { //do something for keyboard 1 } else if (find_string(tp_buffer,'My_2nd_Named_KEYB-',1)) { //do something for keyboard 2 } else if (find_string(tp_buffer,'KEYB-',1)) { //do something for system keyboard //this would have to be last cuz it's true with all keyboard returns } } } -
Touchpanel keyboard, help!
Thank you so much!!
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
