Interesting. So I find dRemovErr = -25, /*tried to remove an open driver*/ I am doing serial comms and that uses a driver but in the middle of a loop of 200 iterations when all the calls before and after this call to send data to inverter and receive its response, are ok makes little sense.