OK, I got a little further so now the temp_channel array recievess meaningful values, but the arithmetic (divide by zero) error subsists. It can be overruled by enclosing the usb_tc08_get_single call in a try block. Not pretty, but usable. Next problem arose when I tried to create a wrapper dll clas...