Options
COMBINE_DEVICES

Hi Guys,
Does anyone try this ?
Can someone guide me how to detect ONLINE and OFFLINE event via virtual Touch Panel?
Thanks in Advance.
Does anyone try this ?
DEFINE_DEVICE dvTPBR = 10001: 1:0 // Real Panel vdvTPBR = 34001: 1:0 // Virtual Panel DEFINE_COMBINE (vdvTP, dvTP) DEFINE_FUNCTION fDoSomething_1() { // Do Something 1 } DEFINE_FUNCTION fDoSomething_2() { // Do Something 2 } DEFINE_EVENT DATA_EVENT [vdvTP] { ONLINE: { fDoSomething_1(); } OFFLINE: { fDoSomething_2(); } }Problem in above code is. when i put actual device 'dvTP' in DATA_EVENT i can detect ONLINE and OFFLINE events when I POWER ON and POWER OFF the touch panel and it execute fDoSomething_1() and fDoSomething_2(). But when I put a virtual device 'vdvTP', it never get in to ONLINE and OFFLINE event.
Can someone guide me how to detect ONLINE and OFFLINE event via virtual Touch Panel?
Thanks in Advance.
Comments
Paul