Trouble with your plugin not working as it should? Check out the "log.txt" file in the Touch Portal data folder. (See intro for the location) The error log shows you exactly where it does not work.
From Touch Portal version 2.2 the logging for plug-ins is turned off by default. Use the parameter:
for the TouchPortalGui.exe file to turn on the plugin logging.