I was previously using the library at http://www.logix4u.net/ but I dont
think its working on the windows server 2003 machine I am testing the
application on. With that you set the port (data or control) and the value
to assign to the port, however I am unsure how to do the same with the code
you suggested.