I modified the code of the simple led example to take data over the net using a tcp listener
There appears to be a conflict between the phidgets library and the IO library with the following errors
Error 2 No overload for 'led_Error' matches delegate 'System.IO.ErrorEventHandler'
Error 1 'ErrorEventHandler' is an ambiguous reference between 'System.IO.ErrorEventHandler' and 'Phidgets.Events.ErrorEventHandler'
Error 3 'ErrorEventArgs' is an ambiguous reference between 'System.IO.ErrorEventArgs' and 'Phidgets.Events.ErrorEventArgs'
If I comment out the " led.Error += new ErrorEventHandler(led_Error);"
static void led_Error(object sender, ErrorEventArgs e)
the program works well and does what its meant to do
However obviously not handling phidgets errors is not a satisfactory solution
any suggestions on a workaround for the conflict .. ? or is there something simple Ive overlooked?