Home AMX User Forum NetLinx Studio

Direct Testing w/ Touchpanel

I haven't found anything around this but is there a way to be able to interactively use a touchpanel design as a part of testing? For example, upon starting debugging, fire up the touchpanel so that when I click on something in the touchpanel, it sends a signal to the control as if I had touched it...so I can test all functionality? Or do I just need to use Emulate a Device in Diagnostics and turn the channels on that way? This would definitely be a nice upgrate to NetLinx Studio if it's not available. :)

Cheers,
Matthew

Comments

  • viningvining Posts: 4,368
    For that you need to use emulate a device or control a device in diagnostics. Emulate device allows you to push buttons and trigger button events in your code. Control device allows you to directly control devices.
  • Spire_JeffSpire_Jeff Posts: 1,917
    I doubt you will see this being offered as a function in TPD4. AMX has been fairly adamant about not providing a software based touch panel interface beyond the web interface you can create with TPD3, or the web keypad interface.

    Some developers keep a touch panel around specifically for testing tho. A good way to do this is using a TPI/4 from ebay. It supports all touch panel files (except R4 as far as I know), and it can be had for little money. You can use it with a mouse and monitor, or just VNC into it.

    Altho, I think it would be a nice addition to add a debug mode to TPD4. The debug mode would ONLY do the same thing as emulate device in NS2. This would mean that the touch panel would not be functional and would not have two way communication, it would simply be expanding on the emulate a device interface. It would be helpful because there are times when I need to do some testing and I find myself having to switch between 2, 3, or more buttons and issuing push/release commands. I could create a quick test panel file, but then I have to send files, wait for reboot, test, then send the original file, then wait for another reboot.

    Jeff
Sign In or Register to comment.