Common functions for interacting with PiFace products