emulateSerialData for windows