I was consistently getting a BSOD with the code 0xd1, on usbser.sys, on windows 8.1. I am running LabVIEW 2013 SP1. The bluescreen only occurs on Windows 8.1 and everything functions fine on 7 and XP.
The "USB to Serial Adapter" is actually a microcontroller, not a physical USB to Serial adapter. The microcontroller's usb driver is just an INF to point to the generic Windows USB to Serial drivers.
The BSOD occurs after several minutes of my software running, while it is polling the controller every second. After changing the communications mode in my software to synchronous on every VISA write and read call, the BSODs stopped occurring and the program has been running stable for several hours now on Windows 8.1.
This BSOD seems to be the result of a strange interaction between the hardware, VISA and the Windows 8.1 USB to Serial drivers. Sending lots of traffic through a terminal emulator does not produce a similar BSOD.
Has anyone ever seen anything like this? If so did you discover an explanation or any clues to fixing it more permanently than always using synchronous communication?