C:\Users\CQO>python Python 2.7.13 (v2.7.13:a06454b1afa1, Dec 17 2016, 20:42:59) [MSC v.1500 32 bit ( Intel)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> from instrumental import instrument, list_instruments >>> paramsets = list_instruments() C:\Python27\lib\site-packages\pyvisa\resources\messagebased.py:568: FutureWarnin g: ask is deprecated and will be removed in 1.10, use query instead. '1.10, use query instead.', FutureWarning) >>> paramsets [] >>> bristolWM = instrument(paramsets[0]) 20180313-16:03:37.033: SERCAM: ERR:tcCLDevice_Serial::Initialize could not open serial port Traceback (most recent call last): File "", line 1, in File "C:\Python27\lib\site-packages\instrumental\drivers\__init__.py", line 12 67, in instrument inst = find_nonvisa_instrument(params) File "C:\Python27\lib\site-packages\instrumental\drivers\__init__.py", line 11 67, in find_nonvisa_instrument return create_instrument(driver_module, classname, normalized_params) File "C:\Python27\lib\site-packages\instrumental\drivers\__init__.py", line 10 87, in create_instrument return cls._create(paramset) File "C:\Python27\lib\site-packages\instrumental\drivers\__init__.py", line 51 3, in _create obj._initialize(**paramset.get('settings', {})) File "C:\Python27\lib\site-packages\instrumental\drivers\spectrometers\bristol .py", line 106, in _initialize raise Exception("Failed to open connection to spectrum analyzer") Exception: Failed to open connection to spectrum analyzer >>> bristolWM = instrument(paramsets[0]) 20180313-16:04:16.972:CLDEVICE: ERR:compute chksum - length=16, xsum:012A 20180313-16:04:16.979:CLDEVICE: ERR:compute chksum - length=16, xsum:022A 20180313-16:04:16.986:CLDEVICE: ERR:compute chksum - length=16, xsum:032A 20180313-16:04:16.993:CLDEVICE: ERR:compute chksum - length=16, xsum:042A 20180313-16:04:17.001:CLDEVICE: ERR:compute chksum - length=12, xsum:0543 20180313-16:04:17.038:CLDEVICE: ERR:compute chksum - length=16, xsum:0000 20180313-16:04:17.044:CLDEVICE: ERR:CallBackParser BAD SEQNO - ID = 63, Seq_No = 225, cksum = 1636, length=8 20180313-16:04:17.056:CLDEVICE: ERR:compute chksum - length=8, xsum:0643 20180313-16:04:17.096:CLDEVICE: ERR:compute chksum - length=276, xsum:0000 20180313-16:04:17.103:CLDEVICE: ERR:compute chksum - length=12, xsum:CBED >>> 20180313-16:04:18.316:CLDEVICE: ERR:compute chksum - length=104, xsum:0000 20180313-16:04:18.322:CLDEVICE: ERR:compute chksum - length=22, xsum:0000 20180313-16:04:21.831:CLDEVICE: ERR:compute chksum - length=104, xsum:0000 20180313-16:04:21.837:CLDEVICE: ERR:compute chksum - length=22, xsum:0000 20180313-16:04:25.947:CLDEVICE: ERR:compute chksum - length=104, xsum:0000 20180313-16:04:25.953:CLDEVICE: ERR:compute chksum - length=22, xsum:0000 20180313-16:04:29.462:CLDEVICE: ERR:compute chksum - length=104, xsum:0000 20180313-16:04:29.468:CLDEVICE: ERR:compute chksum - length=22, xsum:0000 KeyboardInterrupt >>> KeyboardInterrupt >>> KeyboardInterrupt >>> >>> KeyboardInterrupt >>> >>> KeyboardInterrupt >>> 20180313-16:04:33.578:CLDEVICE: ERR:compute chksum - length=104, xsum:0000 20180313-16:04:33.584:CLDEVICE: ERR:compute chksum - length=22, xsum:0000 >>> KeyboardInterrupt >>> >>> KeyboardInterrupt >>> ^Z C:\Users\CQO>python Python 2.7.13 (v2.7.13:a06454b1afa1, Dec 17 2016, 20:42:59) [MSC v.1500 32 bit ( Intel)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> from instrumental import instrument,list_instruments >>> paramsets = list_instruments() C:\Python27\lib\site-packages\pyvisa\resources\messagebased.py:568: FutureWarnin g: ask is deprecated and will be removed in 1.10, use query instead. '1.10, use query instead.', FutureWarning) >>> paramsets [] >>> bristolWM = instrument(paramsets[0]) 20180313-16:55:29.927:CLDEVICE: ERR:compute chksum - length=16, xsum:012A 20180313-16:55:29.927:CLDEVICE: ERR:compute chksum - length=16, xsum:022A 20180313-16:55:29.934:CLDEVICE: ERR:compute chksum - length=16, xsum:032A 20180313-16:55:29.942:CLDEVICE: ERR:compute chksum - length=16, xsum:042A 20180313-16:55:29.950:CLDEVICE: ERR:compute chksum - length=12, xsum:0543 20180313-16:55:30.005:CLDEVICE: ERR:compute chksum - length=16, xsum:0000 20180313-16:55:30.005:CLDEVICE: ERR:CallBackParser BAD SEQNO - ID = 63, Seq_No = 56, cksum = C7B5, length=8 20180313-16:55:30.020:CLDEVICE: ERR:compute chksum - length=8, xsum:0643 20180313-16:55:30.059:CLDEVICE: ERR:compute chksum - length=276, xsum:0000 20180313-16:55:30.067:CLDEVICE: ERR:compute chksum - length=12, xsum:CBED >>> 20180313-16:55:32.497:CLDEVICE: ERR:compute chksum - length=104, xsum:0000 20180313-16:55:32.497:CLDEVICE: ERR:compute chksum - length=22, xsum:0000 20180313-16:55:36.520:CLDEVICE: ERR:compute chksum - length=104, xsum:0000 20180313-16:55:36.520:CLDEVICE: ERR:compute chksum - length=22, xsum:0000 20180313-16:55:40.028:CLDEVICE: ERR:compute chksum - length=104, xsum:0000 20180313-16:55:40.028:CLDEVICE: ERR:compute chksum - length=22, xsum:0000 20180313-16:55:44.067:CLDEVICE: ERR:compute chksum - length=104, xsum:0000 20180313-16:55:44.067:CLDEVICE: ERR:compute chksum - length=22, xsum:0000 20180313-16:55:47.591:CLDEVICE: ERR:compute chksum - length=104, xsum:0000 20180313-16:55:47.591:CLDEVICE: ERR:compute chksum - length=22, xsum:0000 20180313-16:55:51.630:CLDEVICE: ERR:compute chksum - length=104, xsum:0000 20180313-16:55:51.630:CLDEVICE: ERR:compute chksum - length=22, xsum:0000 20180313-16:55:55.137:CLDEVICE: ERR:compute chksum - length=104, xsum:0000 20180313-16:55:55.137:CLDEVICE: ERR:compute chksum - length=22, xsum:0000 20180313-16:55:59.177:CLDEVICE: ERR:compute chksum - length=104, xsum:0000 20180313-16:55:59.177:CLDEVICE: ERR:compute chksum - length=22, xsum:0000 20180313-16:56:02.700:CLDEVICE: ERR:compute chksum - length=104, xsum:0000 20180313-16:56:02.700:CLDEVICE: ERR:compute chksum - length=22, xsum:0000 20180313-16:56:06.723:CLDEVICE: ERR:compute chksum - length=104, xsum:0000 20180313-16:56:06.723:CLDEVICE: ERR:compute chksum - length=22, xsum:0000 20180313-16:56:10.231:CLDEVICE: ERR:compute chksum - length=104, xsum:0000 20180313-16:56:10.231:CLDEVICE: ERR:compute chksum - length=22, xsum:0000 20180313-16:56:14.270:CLDEVICE: ERR:compute chksum - length=104, xsum:0000 20180313-16:56:14.270:CLDEVICE: ERR:compute chksum - length=22, xsum:0000 20180313-16:56:17.794:CLDEVICE: ERR:compute chksum - length=104, xsum:0000 20180313-16:56:17.794:CLDEVICE: ERR:compute chksum - length=22, xsum:0000 KeyboardInterrupt >>> 20180313-16:56:21.833:CLDEVICE: ERR:compute chksum - length=104, xsum:0000 20180313-16:56:21.833:CLDEVICE: ERR:compute chksum - length=22, xsum:0000 KeyboardInterrupt >>> KeyboardInterrupt >>> 20180313-16:56:25.341:CLDEVICE: ERR:compute chksum - length=104, xsum:0000 20180313-16:56:25.341:CLDEVICE: ERR:compute chksum - length=22, xsum:0000 KeyboardInterrupt >>> 20180313-16:56:29.380:CLDEVICE: ERR:compute chksum - length=104, xsum:0000 20180313-16:56:29.380:CLDEVICE: ERR:compute chksum - length=22, xsum:0000 ^Z C:\Users\CQO>