Virtual Keypad problem
mpmiszczyk
Posts: 8
Hi
I have some problems with VirtualKeypadME_dr1_0_0 module. I've did everything just like in example program I've downloaded with module, but it doesn't work. I've manage to retrieve some FB from control system, but I don't have idea what to do with it, or where to start looking for solution.
(0000025965) DA.processNewDevice: {Device-Revision=1.0.0, Device-Category=other, Device-Make=AMX, Physical-Device=41001:1:0, objectClass=[Ljava.
(0000025965) lang.String;@80468f, Device-SDKClass=com.amx.duet.devicesdk.TextKeypad, Device-GUID=18cd0572-07c9-11dc-8314-0800200c9a66, Bundle-Ve
(0000025966) rsion=1.0.0, Device-Model=TextKeypad, Duet-Device=41001:1:0, service.id=4, Duet-Module=VirtualKeypadME_dr1_0_0}
(0000027307) Device Access: DeviceAccess.loadDrivers - failed to resolve dependencies for /bundle/VirtualKeypadME_dr1_0_0
Another thing is that I don't know exactly how you suppose to connect to this visualisation using iPhone. I figure that with internet browser using controller IP; but do you have to specify any port or is it working on 80 (and witch port forward on your router)? Right now on 80 there is WebControl; mayby I have to disable/enable something right there.
Any help would by appreciated.
I have some problems with VirtualKeypadME_dr1_0_0 module. I've did everything just like in example program I've downloaded with module, but it doesn't work. I've manage to retrieve some FB from control system, but I don't have idea what to do with it, or where to start looking for solution.
(0000025965) DA.processNewDevice: {Device-Revision=1.0.0, Device-Category=other, Device-Make=AMX, Physical-Device=41001:1:0, objectClass=[Ljava.
(0000025965) lang.String;@80468f, Device-SDKClass=com.amx.duet.devicesdk.TextKeypad, Device-GUID=18cd0572-07c9-11dc-8314-0800200c9a66, Bundle-Ve
(0000025966) rsion=1.0.0, Device-Model=TextKeypad, Duet-Device=41001:1:0, service.id=4, Duet-Module=VirtualKeypadME_dr1_0_0}
(0000027307) Device Access: DeviceAccess.loadDrivers - failed to resolve dependencies for /bundle/VirtualKeypadME_dr1_0_0
Another thing is that I don't know exactly how you suppose to connect to this visualisation using iPhone. I figure that with internet browser using controller IP; but do you have to specify any port or is it working on 80 (and witch port forward on your router)? Right now on 80 there is WebControl; mayby I have to disable/enable something right there.
Any help would by appreciated.
0
Comments
yes; and web control does show MVP5200i which is installed on site. But no iPhone or Virtual Keypad. And last line in text I've pasted in my does show up some error witch module initialization (whole message received during system startup). But I don't know what to do with it what to do.
Maybe someone had similar problem with java modules.
Maybe it's just me. It is my first java module ever.I've just copied what woes in example downloaded from AMX web site, so I might be just missing something obvious and silly. At least I hope so.
well to be honest my program it's not just simple copy of AMX's one. Here is list of things I've done:
1. In main file I've declared device (copy from AMX):
VIRTUALKEYPAD = 41001:1:0
2. Created and included new program named VirtualKeypad
3. In this program defined module (again just straight copy):
DEFINE_MODULE 'VirtualKeypadME_dr1_0_0' VKP(VIRTUALKEYPAD, VIRTUALKEYPAD);
4. Added my own button and data events to this device (hardly could be the problem)
5. Added some logic in DEFINE_PROGRAM section for maintaining feedBack on my Virtual Keypad (hard to accomplish with event logic):
DEFINE_PROGRAM
[VIRTUALKEYPAD,10]=brDigState[45]; //FB z bramy wjazdowej
[VIRTUALKEYPAD,7]=satInput[38].stat; //FB z garaz
if (satInput[21].stat // FB z rolet
and satInput[42].stat
and satInput[45].stat
and satInput[23].stat
and satInput[36].stat
and satInput[26].stat
and satInput[32].stat
and satInput[30].stat
and satInput[28].stat){
on [VIRTUALKEYPAD,5];
} else {
off [VIRTUALKEYPAD,5];
}
if (satInput[22].stat // FB z rolet
and satInput[44].stat
and satInput[43].stat
and satInput[34].stat
and satInput[33].stat
and satInput[39].stat
and satInput[41].stat
and satInput[20].stat
and satInput[31].stat
and satInput[29].stat
and satInput[27].stat
and satInput[31].stat){
on [VIRTUALKEYPAD,2];
} else {
off [VIRTUALKEYPAD,2];
}
For me it's quite straight forward and it should work. But it doesn't.
?
Normally these are in program files\common\amxshare\duet\bundle.