The PR-650 is connected to a usb port via an Ultra U12-40958 USB to DB9 and DB25 Parallel Adapter with XP drivers installed. Device manager recognized the adapter, and we assigned it to COM5 to correspond with the default port in PR650init and CMCheckInit.
When we try to run the calibration, or CMCheckInit on it's own, we get the following error:
Error in function OpenSerialPort: Usage error
Error opening serial port device COM5 - The serial port is already open, close it first! (5) [EBUSY EPERM]. Could be a permission problem as well.
??? Error using ==> IOPort
Usage:
[handle, errmsg] = IOPort('OpenSerialPort', port [, configString]);
Error in ==> PR650init at 64
hPort = IOPort('OpenSerialPort', portNumber, handshakeCode);
Error in ==> CMCheckInit at 130
stat = PR650init(portNameIn);
We have tried manually closing COM5 using fclose, and get verification that it is closed. However, on running CMCheckInit again, it still thinks the port is open.
Does anyone have any suggestions for how to fix this?