I'm trying to create a user space HAL component in Python but I am having little success. Ultimately I want to read HAL pins and output the values to a serial (USB faked) port. Using "admin halcmd loadusr path" I can get my program to generate error messages to the log file but not actually do anything useful. Can anyone post a simple, working, Python script for comparison to my failed efforts?