Advertisement
Guest User

Untitled

a guest
Jun 25th, 2016
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 30.51 KB | None | 0 0
  1. 2016-06-25 11:22:03,489 - pyvisa - WARNING - No eom provided for InterfaceType.usb, RAW.Using LF.
  2. 2016-06-25 11:22:03,492 - pyvisa - DEBUG - Created library wrapper for default.yaml
  3. 2016-06-25 11:22:03,492 - pyvisa - DEBUG - Created ResourceManager with session 6907541
  4. Resource Manager of Visa Library at default.yaml
  5.  
  6. ......................
  7. 2016-06-25 11:22:03,493 - pyvisa - DEBUG - GPIB0::4::65535::INSTR - opening ...
  8. 2016-06-25 11:22:03,493 - pyvisa - DEBUG - GPIB0::4::65535::INSTR - is open with session 3271283
  9. GPIB0::4::65535::INSTR
  10. GPIBInstrument at GPIB0::4::65535::INSTR
  11. 2016-06-25 11:22:03,493 - pyvisa - DEBUG - Writing into device input buffer: b'*'
  12. 2016-06-25 11:22:03,493 - pyvisa - DEBUG - Writing into device input buffer: b'I'
  13. 2016-06-25 11:22:03,493 - pyvisa - DEBUG - Writing into device input buffer: b'D'
  14. 2016-06-25 11:22:03,493 - pyvisa - DEBUG - Writing into device input buffer: b'N'
  15. 2016-06-25 11:22:03,493 - pyvisa - DEBUG - Writing into device input buffer: b'?'
  16. 2016-06-25 11:22:03,493 - pyvisa - DEBUG - Writing into device input buffer: b'\r'
  17. 2016-06-25 11:22:03,493 - pyvisa - DEBUG - Writing into device input buffer: b'\n'
  18. 2016-06-25 11:22:03,493 - pyvisa - DEBUG - GPIB0::4::65535::INSTR - reading 20480 bytes (last status <StatusCode.success_max_count_read: 1073676294>)
  19. 2016-06-25 11:22:05,498 - pyvisa - DEBUG - GPIB0::4::65535::INSTR - exception while reading: VI_ERROR_TMO (-1073807339): Timeout expired before operation completed.
  20. Traceback (most recent call last):
  21. File "visa-sims.py", line 38, in <module>
  22. print(inst.query('*IDN?'))
  23. File "/home/dalun/ENV/pyvenv/visasim/venv/lib/python3.5/site-packages/pyvisa/resources/messagebased.py", line 407, in query
  24. return self.read()
  25. File "/home/dalun/ENV/pyvenv/visasim/venv/lib/python3.5/site-packages/pyvisa/resources/messagebased.py", line 332, in read
  26. message = self.read_raw().decode(enco)
  27. File "/home/dalun/ENV/pyvenv/visasim/venv/lib/python3.5/site-packages/pyvisa/resources/messagebased.py", line 306, in read_raw
  28. chunk, status = self.visalib.read(self.session, size)
  29. File "/home/dalun/ENV/pyvenv/visasim/venv/lib/python3.5/site-packages/pyvisa-sim/highlevel.py", line 187, in read
  30. raise errors.VisaIOError(constants.VI_ERROR_TMO)
  31. pyvisa.errors.VisaIOError: VI_ERROR_TMO (-1073807339): Timeout expired before operation completed.
  32.  
  33.  
  34. ......................
  35. 2016-06-25 11:22:05,501 - pyvisa - DEBUG - USB0::0x1111::0x2222::0x2468::0::INSTR - opening ...
  36. 2016-06-25 11:22:05,502 - pyvisa - DEBUG - USB0::0x1111::0x2222::0x2468::0::INSTR - is open with session 9986315
  37. 2016-06-25 11:22:05,502 - pyvisa - DEBUG - GPIB0::4::65535::INSTR - closing
  38. 2016-06-25 11:22:05,502 - pyvisa - DEBUG - GPIB0::4::65535::INSTR - is closed
  39. USB0::0x1111::0x2222::0x2468::0::INSTR
  40. USBInstrument at USB0::0x1111::0x2222::0x2468::0::INSTR
  41. 2016-06-25 11:22:05,503 - pyvisa - DEBUG - Writing into device input buffer: b'*'
  42. 2016-06-25 11:22:05,503 - pyvisa - DEBUG - Writing into device input buffer: b'I'
  43. 2016-06-25 11:22:05,503 - pyvisa - DEBUG - Writing into device input buffer: b'D'
  44. 2016-06-25 11:22:05,503 - pyvisa - DEBUG - Writing into device input buffer: b'N'
  45. 2016-06-25 11:22:05,504 - pyvisa - DEBUG - Writing into device input buffer: b'?'
  46. 2016-06-25 11:22:05,504 - pyvisa - DEBUG - Writing into device input buffer: b'\r'
  47. 2016-06-25 11:22:05,504 - pyvisa - DEBUG - Writing into device input buffer: b'\n'
  48. 2016-06-25 11:22:05,505 - pyvisa - DEBUG - USB0::0x1111::0x2222::0x2468::0::INSTR - reading 20480 bytes (last status <StatusCode.success_max_count_read: 1073676294>)
  49. 2016-06-25 11:22:07,511 - pyvisa - DEBUG - USB0::0x1111::0x2222::0x2468::0::INSTR - exception while reading: VI_ERROR_TMO (-1073807339): Timeout expired before operation completed.
  50. Traceback (most recent call last):
  51. File "visa-sims.py", line 38, in <module>
  52. print(inst.query('*IDN?'))
  53. File "/home/dalun/ENV/pyvenv/visasim/venv/lib/python3.5/site-packages/pyvisa/resources/messagebased.py", line 407, in query
  54. return self.read()
  55. File "/home/dalun/ENV/pyvenv/visasim/venv/lib/python3.5/site-packages/pyvisa/resources/messagebased.py", line 332, in read
  56. message = self.read_raw().decode(enco)
  57. File "/home/dalun/ENV/pyvenv/visasim/venv/lib/python3.5/site-packages/pyvisa/resources/messagebased.py", line 306, in read_raw
  58. chunk, status = self.visalib.read(self.session, size)
  59. File "/home/dalun/ENV/pyvenv/visasim/venv/lib/python3.5/site-packages/pyvisa-sim/highlevel.py", line 187, in read
  60. raise errors.VisaIOError(constants.VI_ERROR_TMO)
  61. pyvisa.errors.VisaIOError: VI_ERROR_TMO (-1073807339): Timeout expired before operation completed.
  62.  
  63.  
  64. ......................
  65. 2016-06-25 11:22:07,512 - pyvisa - DEBUG - GPIB0::9::65535::INSTR - opening ...
  66. 2016-06-25 11:22:07,513 - pyvisa - DEBUG - GPIB0::9::65535::INSTR - is open with session 7118661
  67. 2016-06-25 11:22:07,513 - pyvisa - DEBUG - USB0::0x1111::0x2222::0x2468::0::INSTR - closing
  68. 2016-06-25 11:22:07,513 - pyvisa - DEBUG - USB0::0x1111::0x2222::0x2468::0::INSTR - is closed
  69. GPIB0::9::65535::INSTR
  70. GPIBInstrument at GPIB0::9::65535::INSTR
  71. 2016-06-25 11:22:07,514 - pyvisa - DEBUG - Writing into device input buffer: b'*'
  72. 2016-06-25 11:22:07,514 - pyvisa - DEBUG - Writing into device input buffer: b'I'
  73. 2016-06-25 11:22:07,514 - pyvisa - DEBUG - Writing into device input buffer: b'D'
  74. 2016-06-25 11:22:07,514 - pyvisa - DEBUG - Writing into device input buffer: b'N'
  75. 2016-06-25 11:22:07,515 - pyvisa - DEBUG - Writing into device input buffer: b'?'
  76. 2016-06-25 11:22:07,515 - pyvisa - DEBUG - Writing into device input buffer: b'\r'
  77. 2016-06-25 11:22:07,515 - pyvisa - DEBUG - Writing into device input buffer: b'\n'
  78. 2016-06-25 11:22:07,516 - pyvisa - DEBUG - GPIB0::9::65535::INSTR - reading 20480 bytes (last status <StatusCode.success_max_count_read: 1073676294>)
  79. 2016-06-25 11:22:09,521 - pyvisa - DEBUG - GPIB0::9::65535::INSTR - exception while reading: VI_ERROR_TMO (-1073807339): Timeout expired before operation completed.
  80. Traceback (most recent call last):
  81. File "visa-sims.py", line 38, in <module>
  82. print(inst.query('*IDN?'))
  83. File "/home/dalun/ENV/pyvenv/visasim/venv/lib/python3.5/site-packages/pyvisa/resources/messagebased.py", line 407, in query
  84. return self.read()
  85. File "/home/dalun/ENV/pyvenv/visasim/venv/lib/python3.5/site-packages/pyvisa/resources/messagebased.py", line 332, in read
  86. message = self.read_raw().decode(enco)
  87. File "/home/dalun/ENV/pyvenv/visasim/venv/lib/python3.5/site-packages/pyvisa/resources/messagebased.py", line 306, in read_raw
  88. chunk, status = self.visalib.read(self.session, size)
  89. File "/home/dalun/ENV/pyvenv/visasim/venv/lib/python3.5/site-packages/pyvisa-sim/highlevel.py", line 187, in read
  90. raise errors.VisaIOError(constants.VI_ERROR_TMO)
  91. pyvisa.errors.VisaIOError: VI_ERROR_TMO (-1073807339): Timeout expired before operation completed.
  92.  
  93.  
  94. ......................
  95. 2016-06-25 11:22:09,523 - pyvisa - DEBUG - TCPIP0::localhost:4444::inst0::INSTR - opening ...
  96. 2016-06-25 11:22:09,524 - pyvisa - DEBUG - TCPIP0::localhost:4444::inst0::INSTR - is open with session 4652238
  97. 2016-06-25 11:22:09,524 - pyvisa - DEBUG - GPIB0::9::65535::INSTR - closing
  98. 2016-06-25 11:22:09,524 - pyvisa - DEBUG - GPIB0::9::65535::INSTR - is closed
  99. TCPIP0::localhost:4444::inst0::INSTR
  100. TCPIPInstrument at TCPIP0::localhost:4444::inst0::INSTR
  101. 2016-06-25 11:22:09,525 - pyvisa - DEBUG - Writing into device input buffer: b'*'
  102. 2016-06-25 11:22:09,525 - pyvisa - DEBUG - Writing into device input buffer: b'I'
  103. 2016-06-25 11:22:09,525 - pyvisa - DEBUG - Writing into device input buffer: b'D'
  104. 2016-06-25 11:22:09,525 - pyvisa - DEBUG - Writing into device input buffer: b'N'
  105. 2016-06-25 11:22:09,526 - pyvisa - DEBUG - Writing into device input buffer: b'?'
  106. 2016-06-25 11:22:09,526 - pyvisa - DEBUG - Writing into device input buffer: b'\r'
  107. 2016-06-25 11:22:09,526 - pyvisa - DEBUG - Writing into device input buffer: b'\n'
  108. 2016-06-25 11:22:09,527 - pyvisa - DEBUG - TCPIP0::localhost:4444::inst0::INSTR - reading 20480 bytes (last status <StatusCode.success_max_count_read: 1073676294>)
  109. 2016-06-25 11:22:11,533 - pyvisa - DEBUG - TCPIP0::localhost:4444::inst0::INSTR - exception while reading: VI_ERROR_TMO (-1073807339): Timeout expired before operation completed.
  110. Traceback (most recent call last):
  111. File "visa-sims.py", line 38, in <module>
  112. print(inst.query('*IDN?'))
  113. File "/home/dalun/ENV/pyvenv/visasim/venv/lib/python3.5/site-packages/pyvisa/resources/messagebased.py", line 407, in query
  114. return self.read()
  115. File "/home/dalun/ENV/pyvenv/visasim/venv/lib/python3.5/site-packages/pyvisa/resources/messagebased.py", line 332, in read
  116. message = self.read_raw().decode(enco)
  117. File "/home/dalun/ENV/pyvenv/visasim/venv/lib/python3.5/site-packages/pyvisa/resources/messagebased.py", line 306, in read_raw
  118. chunk, status = self.visalib.read(self.session, size)
  119. File "/home/dalun/ENV/pyvenv/visasim/venv/lib/python3.5/site-packages/pyvisa-sim/highlevel.py", line 187, in read
  120. raise errors.VisaIOError(constants.VI_ERROR_TMO)
  121. pyvisa.errors.VisaIOError: VI_ERROR_TMO (-1073807339): Timeout expired before operation completed.
  122.  
  123.  
  124. ......................
  125. 2016-06-25 11:22:11,534 - pyvisa - DEBUG - ASRL3::INSTR - opening ...
  126. 2016-06-25 11:22:11,535 - pyvisa - DEBUG - ASRL3::INSTR - is open with session 4606835
  127. 2016-06-25 11:22:11,535 - pyvisa - DEBUG - TCPIP0::localhost:4444::inst0::INSTR - closing
  128. 2016-06-25 11:22:11,536 - pyvisa - DEBUG - TCPIP0::localhost:4444::inst0::INSTR - is closed
  129. ASRL3::INSTR
  130. SerialInstrument at ASRL3::INSTR
  131. 2016-06-25 11:22:11,536 - pyvisa - DEBUG - Writing into device input buffer: b'*'
  132. 2016-06-25 11:22:11,537 - pyvisa - DEBUG - Writing into device input buffer: b'I'
  133. 2016-06-25 11:22:11,537 - pyvisa - DEBUG - Writing into device input buffer: b'D'
  134. 2016-06-25 11:22:11,537 - pyvisa - DEBUG - Writing into device input buffer: b'N'
  135. 2016-06-25 11:22:11,537 - pyvisa - DEBUG - Writing into device input buffer: b'?'
  136. 2016-06-25 11:22:11,538 - pyvisa - DEBUG - Writing into device input buffer: b'\r'
  137. 2016-06-25 11:22:11,538 - pyvisa - DEBUG - Writing into device input buffer: b'\n'
  138. 2016-06-25 11:22:11,538 - pyvisa - DEBUG - Found response in queries: b'SCPI,MOCK,VERSION_1.0'
  139. 2016-06-25 11:22:11,539 - pyvisa - DEBUG - ASRL3::INSTR - reading 20480 bytes (last status <StatusCode.success_max_count_read: 1073676294>)
  140. SCPI,MOCK,VERSION_1.0
  141.  
  142.  
  143.  
  144. ......................
  145. 2016-06-25 11:22:11,539 - pyvisa - DEBUG - GPIB0::8::65535::INSTR - opening ...
  146. 2016-06-25 11:22:11,540 - pyvisa - DEBUG - GPIB0::8::65535::INSTR - is open with session 7422512
  147. 2016-06-25 11:22:11,540 - pyvisa - DEBUG - ASRL3::INSTR - closing
  148. 2016-06-25 11:22:11,541 - pyvisa - DEBUG - ASRL3::INSTR - is closed
  149. GPIB0::8::65535::INSTR
  150. GPIBInstrument at GPIB0::8::65535::INSTR
  151. 2016-06-25 11:22:11,541 - pyvisa - DEBUG - Writing into device input buffer: b'*'
  152. 2016-06-25 11:22:11,541 - pyvisa - DEBUG - Writing into device input buffer: b'I'
  153. 2016-06-25 11:22:11,542 - pyvisa - DEBUG - Writing into device input buffer: b'D'
  154. 2016-06-25 11:22:11,542 - pyvisa - DEBUG - Writing into device input buffer: b'N'
  155. 2016-06-25 11:22:11,542 - pyvisa - DEBUG - Writing into device input buffer: b'?'
  156. 2016-06-25 11:22:11,542 - pyvisa - DEBUG - Writing into device input buffer: b'\r'
  157. 2016-06-25 11:22:11,543 - pyvisa - DEBUG - Writing into device input buffer: b'\n'
  158. 2016-06-25 11:22:11,543 - pyvisa - DEBUG - GPIB0::8::65535::INSTR - reading 20480 bytes (last status <StatusCode.success_max_count_read: 1073676294>)
  159. 2016-06-25 11:22:13,549 - pyvisa - DEBUG - GPIB0::8::65535::INSTR - exception while reading: VI_ERROR_TMO (-1073807339): Timeout expired before operation completed.
  160. Traceback (most recent call last):
  161. File "visa-sims.py", line 38, in <module>
  162. print(inst.query('*IDN?'))
  163. File "/home/dalun/ENV/pyvenv/visasim/venv/lib/python3.5/site-packages/pyvisa/resources/messagebased.py", line 407, in query
  164. return self.read()
  165. File "/home/dalun/ENV/pyvenv/visasim/venv/lib/python3.5/site-packages/pyvisa/resources/messagebased.py", line 332, in read
  166. message = self.read_raw().decode(enco)
  167. File "/home/dalun/ENV/pyvenv/visasim/venv/lib/python3.5/site-packages/pyvisa/resources/messagebased.py", line 306, in read_raw
  168. chunk, status = self.visalib.read(self.session, size)
  169. File "/home/dalun/ENV/pyvenv/visasim/venv/lib/python3.5/site-packages/pyvisa-sim/highlevel.py", line 187, in read
  170. raise errors.VisaIOError(constants.VI_ERROR_TMO)
  171. pyvisa.errors.VisaIOError: VI_ERROR_TMO (-1073807339): Timeout expired before operation completed.
  172.  
  173.  
  174. ......................
  175. 2016-06-25 11:22:13,550 - pyvisa - DEBUG - USB0::0x1111::0x2222::0x4444::0::INSTR - opening ...
  176. 2016-06-25 11:22:13,551 - pyvisa - DEBUG - USB0::0x1111::0x2222::0x4444::0::INSTR - is open with session 4676375
  177. 2016-06-25 11:22:13,551 - pyvisa - DEBUG - GPIB0::8::65535::INSTR - closing
  178. 2016-06-25 11:22:13,552 - pyvisa - DEBUG - GPIB0::8::65535::INSTR - is closed
  179. USB0::0x1111::0x2222::0x4444::0::INSTR
  180. USBInstrument at USB0::0x1111::0x2222::0x4444::0::INSTR
  181. 2016-06-25 11:22:13,552 - pyvisa - DEBUG - Writing into device input buffer: b'*'
  182. 2016-06-25 11:22:13,552 - pyvisa - DEBUG - Writing into device input buffer: b'I'
  183. 2016-06-25 11:22:13,553 - pyvisa - DEBUG - Writing into device input buffer: b'D'
  184. 2016-06-25 11:22:13,553 - pyvisa - DEBUG - Writing into device input buffer: b'N'
  185. 2016-06-25 11:22:13,553 - pyvisa - DEBUG - Writing into device input buffer: b'?'
  186. 2016-06-25 11:22:13,553 - pyvisa - DEBUG - Writing into device input buffer: b'\r'
  187. 2016-06-25 11:22:13,554 - pyvisa - DEBUG - Writing into device input buffer: b'\n'
  188. 2016-06-25 11:22:13,554 - pyvisa - DEBUG - USB0::0x1111::0x2222::0x4444::0::INSTR - reading 20480 bytes (last status <StatusCode.success_max_count_read: 1073676294>)
  189. 2016-06-25 11:22:15,561 - pyvisa - DEBUG - USB0::0x1111::0x2222::0x4444::0::INSTR - exception while reading: VI_ERROR_TMO (-1073807339): Timeout expired before operation completed.
  190. Traceback (most recent call last):
  191. File "visa-sims.py", line 38, in <module>
  192. print(inst.query('*IDN?'))
  193. File "/home/dalun/ENV/pyvenv/visasim/venv/lib/python3.5/site-packages/pyvisa/resources/messagebased.py", line 407, in query
  194. return self.read()
  195. File "/home/dalun/ENV/pyvenv/visasim/venv/lib/python3.5/site-packages/pyvisa/resources/messagebased.py", line 332, in read
  196. message = self.read_raw().decode(enco)
  197. File "/home/dalun/ENV/pyvenv/visasim/venv/lib/python3.5/site-packages/pyvisa/resources/messagebased.py", line 306, in read_raw
  198. chunk, status = self.visalib.read(self.session, size)
  199. File "/home/dalun/ENV/pyvenv/visasim/venv/lib/python3.5/site-packages/pyvisa-sim/highlevel.py", line 187, in read
  200. raise errors.VisaIOError(constants.VI_ERROR_TMO)
  201. pyvisa.errors.VisaIOError: VI_ERROR_TMO (-1073807339): Timeout expired before operation completed.
  202.  
  203.  
  204. ......................
  205. 2016-06-25 11:22:15,562 - pyvisa - DEBUG - GPIB0::10::65535::INSTR - opening ...
  206. 2016-06-25 11:22:15,563 - pyvisa - DEBUG - GPIB0::10::65535::INSTR - is open with session 9842742
  207. 2016-06-25 11:22:15,563 - pyvisa - DEBUG - USB0::0x1111::0x2222::0x4444::0::INSTR - closing
  208. 2016-06-25 11:22:15,564 - pyvisa - DEBUG - USB0::0x1111::0x2222::0x4444::0::INSTR - is closed
  209. GPIB0::10::65535::INSTR
  210. GPIBInstrument at GPIB0::10::65535::INSTR
  211. 2016-06-25 11:22:15,564 - pyvisa - DEBUG - Writing into device input buffer: b'*'
  212. 2016-06-25 11:22:15,565 - pyvisa - DEBUG - Writing into device input buffer: b'I'
  213. 2016-06-25 11:22:15,565 - pyvisa - DEBUG - Writing into device input buffer: b'D'
  214. 2016-06-25 11:22:15,565 - pyvisa - DEBUG - Writing into device input buffer: b'N'
  215. 2016-06-25 11:22:15,566 - pyvisa - DEBUG - Writing into device input buffer: b'?'
  216. 2016-06-25 11:22:15,566 - pyvisa - DEBUG - Writing into device input buffer: b'\r'
  217. 2016-06-25 11:22:15,566 - pyvisa - DEBUG - Writing into device input buffer: b'\n'
  218. 2016-06-25 11:22:15,567 - pyvisa - DEBUG - GPIB0::10::65535::INSTR - reading 20480 bytes (last status <StatusCode.success_max_count_read: 1073676294>)
  219. 2016-06-25 11:22:17,572 - pyvisa - DEBUG - GPIB0::10::65535::INSTR - exception while reading: VI_ERROR_TMO (-1073807339): Timeout expired before operation completed.
  220. Traceback (most recent call last):
  221. File "visa-sims.py", line 38, in <module>
  222. print(inst.query('*IDN?'))
  223. File "/home/dalun/ENV/pyvenv/visasim/venv/lib/python3.5/site-packages/pyvisa/resources/messagebased.py", line 407, in query
  224. return self.read()
  225. File "/home/dalun/ENV/pyvenv/visasim/venv/lib/python3.5/site-packages/pyvisa/resources/messagebased.py", line 332, in read
  226. message = self.read_raw().decode(enco)
  227. File "/home/dalun/ENV/pyvenv/visasim/venv/lib/python3.5/site-packages/pyvisa/resources/messagebased.py", line 306, in read_raw
  228. chunk, status = self.visalib.read(self.session, size)
  229. File "/home/dalun/ENV/pyvenv/visasim/venv/lib/python3.5/site-packages/pyvisa-sim/highlevel.py", line 187, in read
  230. raise errors.VisaIOError(constants.VI_ERROR_TMO)
  231. pyvisa.errors.VisaIOError: VI_ERROR_TMO (-1073807339): Timeout expired before operation completed.
  232.  
  233.  
  234. ......................
  235. 2016-06-25 11:22:17,574 - pyvisa - DEBUG - USB0::0x1111::0x2222::0x3692::0::INSTR - opening ...
  236. 2016-06-25 11:22:17,575 - pyvisa - DEBUG - USB0::0x1111::0x2222::0x3692::0::INSTR - is open with session 9164775
  237. 2016-06-25 11:22:17,575 - pyvisa - DEBUG - GPIB0::10::65535::INSTR - closing
  238. 2016-06-25 11:22:17,576 - pyvisa - DEBUG - GPIB0::10::65535::INSTR - is closed
  239. USB0::0x1111::0x2222::0x3692::0::INSTR
  240. USBInstrument at USB0::0x1111::0x2222::0x3692::0::INSTR
  241. 2016-06-25 11:22:17,576 - pyvisa - DEBUG - Writing into device input buffer: b'*'
  242. 2016-06-25 11:22:17,576 - pyvisa - DEBUG - Writing into device input buffer: b'I'
  243. 2016-06-25 11:22:17,577 - pyvisa - DEBUG - Writing into device input buffer: b'D'
  244. 2016-06-25 11:22:17,577 - pyvisa - DEBUG - Writing into device input buffer: b'N'
  245. 2016-06-25 11:22:17,577 - pyvisa - DEBUG - Writing into device input buffer: b'?'
  246. 2016-06-25 11:22:17,578 - pyvisa - DEBUG - Writing into device input buffer: b'\r'
  247. 2016-06-25 11:22:17,578 - pyvisa - DEBUG - Writing into device input buffer: b'\n'
  248. 2016-06-25 11:22:17,578 - pyvisa - DEBUG - USB0::0x1111::0x2222::0x3692::0::INSTR - reading 20480 bytes (last status <StatusCode.success_max_count_read: 1073676294>)
  249. 2016-06-25 11:22:19,583 - pyvisa - DEBUG - USB0::0x1111::0x2222::0x3692::0::INSTR - exception while reading: VI_ERROR_TMO (-1073807339): Timeout expired before operation completed.
  250. Traceback (most recent call last):
  251. File "visa-sims.py", line 38, in <module>
  252. print(inst.query('*IDN?'))
  253. File "/home/dalun/ENV/pyvenv/visasim/venv/lib/python3.5/site-packages/pyvisa/resources/messagebased.py", line 407, in query
  254. return self.read()
  255. File "/home/dalun/ENV/pyvenv/visasim/venv/lib/python3.5/site-packages/pyvisa/resources/messagebased.py", line 332, in read
  256. message = self.read_raw().decode(enco)
  257. File "/home/dalun/ENV/pyvenv/visasim/venv/lib/python3.5/site-packages/pyvisa/resources/messagebased.py", line 306, in read_raw
  258. chunk, status = self.visalib.read(self.session, size)
  259. File "/home/dalun/ENV/pyvenv/visasim/venv/lib/python3.5/site-packages/pyvisa-sim/highlevel.py", line 187, in read
  260. raise errors.VisaIOError(constants.VI_ERROR_TMO)
  261. pyvisa.errors.VisaIOError: VI_ERROR_TMO (-1073807339): Timeout expired before operation completed.
  262.  
  263.  
  264. ......................
  265. 2016-06-25 11:22:19,585 - pyvisa - DEBUG - ASRL2::INSTR - opening ...
  266. 2016-06-25 11:22:19,585 - pyvisa - DEBUG - ASRL2::INSTR - is open with session 9965585
  267. 2016-06-25 11:22:19,586 - pyvisa - DEBUG - USB0::0x1111::0x2222::0x3692::0::INSTR - closing
  268. 2016-06-25 11:22:19,586 - pyvisa - DEBUG - USB0::0x1111::0x2222::0x3692::0::INSTR - is closed
  269. ASRL2::INSTR
  270. SerialInstrument at ASRL2::INSTR
  271. 2016-06-25 11:22:19,586 - pyvisa - DEBUG - Writing into device input buffer: b'*'
  272. 2016-06-25 11:22:19,587 - pyvisa - DEBUG - Writing into device input buffer: b'I'
  273. 2016-06-25 11:22:19,587 - pyvisa - DEBUG - Writing into device input buffer: b'D'
  274. 2016-06-25 11:22:19,587 - pyvisa - DEBUG - Writing into device input buffer: b'N'
  275. 2016-06-25 11:22:19,587 - pyvisa - DEBUG - Writing into device input buffer: b'?'
  276. 2016-06-25 11:22:19,588 - pyvisa - DEBUG - Writing into device input buffer: b'\r'
  277. 2016-06-25 11:22:19,588 - pyvisa - DEBUG - Writing into device input buffer: b'\n'
  278. 2016-06-25 11:22:19,588 - pyvisa - DEBUG - Found response in queries: b'SCPI,MOCK,VERSION_1.0'
  279. 2016-06-25 11:22:19,588 - pyvisa - DEBUG - ASRL2::INSTR - reading 20480 bytes (last status <StatusCode.success_max_count_read: 1073676294>)
  280. SCPI,MOCK,VERSION_1.0
  281.  
  282.  
  283.  
  284. ......................
  285. 2016-06-25 11:22:19,589 - pyvisa - DEBUG - USB0::0x1111::0x2222::0x1234::0::INSTR - opening ...
  286. 2016-06-25 11:22:19,590 - pyvisa - DEBUG - USB0::0x1111::0x2222::0x1234::0::INSTR - is open with session 3814204
  287. 2016-06-25 11:22:19,590 - pyvisa - DEBUG - ASRL2::INSTR - closing
  288. 2016-06-25 11:22:19,590 - pyvisa - DEBUG - ASRL2::INSTR - is closed
  289. USB0::0x1111::0x2222::0x1234::0::INSTR
  290. USBInstrument at USB0::0x1111::0x2222::0x1234::0::INSTR
  291. 2016-06-25 11:22:19,591 - pyvisa - DEBUG - Writing into device input buffer: b'*'
  292. 2016-06-25 11:22:19,591 - pyvisa - DEBUG - Writing into device input buffer: b'I'
  293. 2016-06-25 11:22:19,591 - pyvisa - DEBUG - Writing into device input buffer: b'D'
  294. 2016-06-25 11:22:19,592 - pyvisa - DEBUG - Writing into device input buffer: b'N'
  295. 2016-06-25 11:22:19,592 - pyvisa - DEBUG - Writing into device input buffer: b'?'
  296. 2016-06-25 11:22:19,592 - pyvisa - DEBUG - Writing into device input buffer: b'\r'
  297. 2016-06-25 11:22:19,592 - pyvisa - DEBUG - Writing into device input buffer: b'\n'
  298. 2016-06-25 11:22:19,593 - pyvisa - DEBUG - USB0::0x1111::0x2222::0x1234::0::INSTR - reading 20480 bytes (last status <StatusCode.success_max_count_read: 1073676294>)
  299. 2016-06-25 11:22:21,599 - pyvisa - DEBUG - USB0::0x1111::0x2222::0x1234::0::INSTR - exception while reading: VI_ERROR_TMO (-1073807339): Timeout expired before operation completed.
  300. Traceback (most recent call last):
  301. File "visa-sims.py", line 38, in <module>
  302. print(inst.query('*IDN?'))
  303. File "/home/dalun/ENV/pyvenv/visasim/venv/lib/python3.5/site-packages/pyvisa/resources/messagebased.py", line 407, in query
  304. return self.read()
  305. File "/home/dalun/ENV/pyvenv/visasim/venv/lib/python3.5/site-packages/pyvisa/resources/messagebased.py", line 332, in read
  306. message = self.read_raw().decode(enco)
  307. File "/home/dalun/ENV/pyvenv/visasim/venv/lib/python3.5/site-packages/pyvisa/resources/messagebased.py", line 306, in read_raw
  308. chunk, status = self.visalib.read(self.session, size)
  309. File "/home/dalun/ENV/pyvenv/visasim/venv/lib/python3.5/site-packages/pyvisa-sim/highlevel.py", line 187, in read
  310. raise errors.VisaIOError(constants.VI_ERROR_TMO)
  311. pyvisa.errors.VisaIOError: VI_ERROR_TMO (-1073807339): Timeout expired before operation completed.
  312.  
  313.  
  314. ......................
  315. 2016-06-25 11:22:21,600 - pyvisa - DEBUG - ASRL4::INSTR - opening ...
  316. 2016-06-25 11:22:21,601 - pyvisa - DEBUG - ASRL4::INSTR - is open with session 8676659
  317. 2016-06-25 11:22:21,601 - pyvisa - DEBUG - USB0::0x1111::0x2222::0x1234::0::INSTR - closing
  318. 2016-06-25 11:22:21,601 - pyvisa - DEBUG - USB0::0x1111::0x2222::0x1234::0::INSTR - is closed
  319. ASRL4::INSTR
  320. SerialInstrument at ASRL4::INSTR
  321. 2016-06-25 11:22:21,602 - pyvisa - DEBUG - Writing into device input buffer: b'*'
  322. 2016-06-25 11:22:21,602 - pyvisa - DEBUG - Writing into device input buffer: b'I'
  323. 2016-06-25 11:22:21,602 - pyvisa - DEBUG - Writing into device input buffer: b'D'
  324. 2016-06-25 11:22:21,603 - pyvisa - DEBUG - Writing into device input buffer: b'N'
  325. 2016-06-25 11:22:21,603 - pyvisa - DEBUG - Writing into device input buffer: b'?'
  326. 2016-06-25 11:22:21,603 - pyvisa - DEBUG - Writing into device input buffer: b'\r'
  327. 2016-06-25 11:22:21,603 - pyvisa - DEBUG - Writing into device input buffer: b'\n'
  328. 2016-06-25 11:22:21,604 - pyvisa - DEBUG - Found response in queries: b'SCPI,MOCK,VERSION_1.0'
  329. 2016-06-25 11:22:21,604 - pyvisa - DEBUG - ASRL4::INSTR - reading 20480 bytes (last status <StatusCode.success_max_count_read: 1073676294>)
  330. SCPI,MOCK,VERSION_1.0
  331.  
  332.  
  333.  
  334. ......................
  335. 2016-06-25 11:22:21,605 - pyvisa - DEBUG - TCPIP0::localhost:2222::inst0::INSTR - opening ...
  336. 2016-06-25 11:22:21,605 - pyvisa - DEBUG - TCPIP0::localhost:2222::inst0::INSTR - is open with session 8033531
  337. 2016-06-25 11:22:21,605 - pyvisa - DEBUG - ASRL4::INSTR - closing
  338. 2016-06-25 11:22:21,606 - pyvisa - DEBUG - ASRL4::INSTR - is closed
  339. TCPIP0::localhost:2222::inst0::INSTR
  340. TCPIPInstrument at TCPIP0::localhost:2222::inst0::INSTR
  341. 2016-06-25 11:22:21,606 - pyvisa - DEBUG - Writing into device input buffer: b'*'
  342. 2016-06-25 11:22:21,606 - pyvisa - DEBUG - Writing into device input buffer: b'I'
  343. 2016-06-25 11:22:21,607 - pyvisa - DEBUG - Writing into device input buffer: b'D'
  344. 2016-06-25 11:22:21,607 - pyvisa - DEBUG - Writing into device input buffer: b'N'
  345. 2016-06-25 11:22:21,607 - pyvisa - DEBUG - Writing into device input buffer: b'?'
  346. 2016-06-25 11:22:21,607 - pyvisa - DEBUG - Writing into device input buffer: b'\r'
  347. 2016-06-25 11:22:21,608 - pyvisa - DEBUG - Writing into device input buffer: b'\n'
  348. 2016-06-25 11:22:21,608 - pyvisa - DEBUG - TCPIP0::localhost:2222::inst0::INSTR - reading 20480 bytes (last status <StatusCode.success_max_count_read: 1073676294>)
  349. 2016-06-25 11:22:23,613 - pyvisa - DEBUG - TCPIP0::localhost:2222::inst0::INSTR - exception while reading: VI_ERROR_TMO (-1073807339): Timeout expired before operation completed.
  350. Traceback (most recent call last):
  351. File "visa-sims.py", line 38, in <module>
  352. print(inst.query('*IDN?'))
  353. File "/home/dalun/ENV/pyvenv/visasim/venv/lib/python3.5/site-packages/pyvisa/resources/messagebased.py", line 407, in query
  354. return self.read()
  355. File "/home/dalun/ENV/pyvenv/visasim/venv/lib/python3.5/site-packages/pyvisa/resources/messagebased.py", line 332, in read
  356. message = self.read_raw().decode(enco)
  357. File "/home/dalun/ENV/pyvenv/visasim/venv/lib/python3.5/site-packages/pyvisa/resources/messagebased.py", line 306, in read_raw
  358. chunk, status = self.visalib.read(self.session, size)
  359. File "/home/dalun/ENV/pyvenv/visasim/venv/lib/python3.5/site-packages/pyvisa-sim/highlevel.py", line 187, in read
  360. raise errors.VisaIOError(constants.VI_ERROR_TMO)
  361. pyvisa.errors.VisaIOError: VI_ERROR_TMO (-1073807339): Timeout expired before operation completed.
  362.  
  363.  
  364. ......................
  365. 2016-06-25 11:22:23,615 - pyvisa - DEBUG - TCPIP0::localhost:3333::inst0::INSTR - opening ...
  366. 2016-06-25 11:22:23,615 - pyvisa - DEBUG - TCPIP0::localhost:3333::inst0::INSTR - is open with session 7746592
  367. 2016-06-25 11:22:23,616 - pyvisa - DEBUG - TCPIP0::localhost:2222::inst0::INSTR - closing
  368. 2016-06-25 11:22:23,616 - pyvisa - DEBUG - TCPIP0::localhost:2222::inst0::INSTR - is closed
  369. TCPIP0::localhost:3333::inst0::INSTR
  370. TCPIPInstrument at TCPIP0::localhost:3333::inst0::INSTR
  371. 2016-06-25 11:22:23,616 - pyvisa - DEBUG - Writing into device input buffer: b'*'
  372. 2016-06-25 11:22:23,616 - pyvisa - DEBUG - Writing into device input buffer: b'I'
  373. 2016-06-25 11:22:23,617 - pyvisa - DEBUG - Writing into device input buffer: b'D'
  374. 2016-06-25 11:22:23,617 - pyvisa - DEBUG - Writing into device input buffer: b'N'
  375. 2016-06-25 11:22:23,617 - pyvisa - DEBUG - Writing into device input buffer: b'?'
  376. 2016-06-25 11:22:23,617 - pyvisa - DEBUG - Writing into device input buffer: b'\r'
  377. 2016-06-25 11:22:23,618 - pyvisa - DEBUG - Writing into device input buffer: b'\n'
  378. 2016-06-25 11:22:23,618 - pyvisa - DEBUG - TCPIP0::localhost:3333::inst0::INSTR - reading 20480 bytes (last status <StatusCode.success_max_count_read: 1073676294>)
  379. 2016-06-25 11:22:25,624 - pyvisa - DEBUG - TCPIP0::localhost:3333::inst0::INSTR - exception while reading: VI_ERROR_TMO (-1073807339): Timeout expired before operation completed.
  380. Traceback (most recent call last):
  381. File "visa-sims.py", line 38, in <module>
  382. print(inst.query('*IDN?'))
  383. File "/home/dalun/ENV/pyvenv/visasim/venv/lib/python3.5/site-packages/pyvisa/resources/messagebased.py", line 407, in query
  384. return self.read()
  385. File "/home/dalun/ENV/pyvenv/visasim/venv/lib/python3.5/site-packages/pyvisa/resources/messagebased.py", line 332, in read
  386. message = self.read_raw().decode(enco)
  387. File "/home/dalun/ENV/pyvenv/visasim/venv/lib/python3.5/site-packages/pyvisa/resources/messagebased.py", line 306, in read_raw
  388. chunk, status = self.visalib.read(self.session, size)
  389. File "/home/dalun/ENV/pyvenv/visasim/venv/lib/python3.5/site-packages/pyvisa-sim/highlevel.py", line 187, in read
  390. raise errors.VisaIOError(constants.VI_ERROR_TMO)
  391. pyvisa.errors.VisaIOError: VI_ERROR_TMO (-1073807339): Timeout expired before operation completed.
  392.  
  393.  
  394. ......................
  395. 2016-06-25 11:22:25,626 - pyvisa - DEBUG - TCPIP0::localhost::inst0::INSTR - opening ...
  396. 2016-06-25 11:22:25,626 - pyvisa - DEBUG - TCPIP0::localhost::inst0::INSTR - is open with session 1275768
  397. 2016-06-25 11:22:25,627 - pyvisa - DEBUG - TCPIP0::localhost:3333::inst0::INSTR - closing
  398. 2016-06-25 11:22:25,627 - pyvisa - DEBUG - TCPIP0::localhost:3333::inst0::INSTR - is closed
  399. TCPIP0::localhost::inst0::INSTR
  400. TCPIPInstrument at TCPIP0::localhost::inst0::INSTR
  401. 2016-06-25 11:22:25,627 - pyvisa - DEBUG - Writing into device input buffer: b'*'
  402. 2016-06-25 11:22:25,628 - pyvisa - DEBUG - Writing into device input buffer: b'I'
  403. 2016-06-25 11:22:25,628 - pyvisa - DEBUG - Writing into device input buffer: b'D'
  404. 2016-06-25 11:22:25,628 - pyvisa - DEBUG - Writing into device input buffer: b'N'
  405. 2016-06-25 11:22:25,628 - pyvisa - DEBUG - Writing into device input buffer: b'?'
  406. 2016-06-25 11:22:25,629 - pyvisa - DEBUG - Writing into device input buffer: b'\r'
  407. 2016-06-25 11:22:25,629 - pyvisa - DEBUG - Writing into device input buffer: b'\n'
  408. 2016-06-25 11:22:25,629 - pyvisa - DEBUG - TCPIP0::localhost::inst0::INSTR - reading 20480 bytes (last status <StatusCode.success_max_count_read: 1073676294>)
  409. 2016-06-25 11:22:27,636 - pyvisa - DEBUG - TCPIP0::localhost::inst0::INSTR - exception while reading: VI_ERROR_TMO (-1073807339): Timeout expired before operation completed.
  410. Traceback (most recent call last):
  411. File "visa-sims.py", line 38, in <module>
  412. print(inst.query('*IDN?'))
  413. File "/home/dalun/ENV/pyvenv/visasim/venv/lib/python3.5/site-packages/pyvisa/resources/messagebased.py", line 407, in query
  414. return self.read()
  415. File "/home/dalun/ENV/pyvenv/visasim/venv/lib/python3.5/site-packages/pyvisa/resources/messagebased.py", line 332, in read
  416. message = self.read_raw().decode(enco)
  417. File "/home/dalun/ENV/pyvenv/visasim/venv/lib/python3.5/site-packages/pyvisa/resources/messagebased.py", line 306, in read_raw
  418. chunk, status = self.visalib.read(self.session, size)
  419. File "/home/dalun/ENV/pyvenv/visasim/venv/lib/python3.5/site-packages/pyvisa-sim/highlevel.py", line 187, in read
  420. raise errors.VisaIOError(constants.VI_ERROR_TMO)
  421. pyvisa.errors.VisaIOError: VI_ERROR_TMO (-1073807339): Timeout expired before operation completed.
  422.  
  423. ...
  424. 2016-06-25 11:22:27,656 - pyvisa - DEBUG - TCPIP0::localhost::inst0::INSTR - closing
  425. 2016-06-25 11:22:27,657 - pyvisa - DEBUG - TCPIP0::localhost::inst0::INSTR - is closed
  426. 2016-06-25 11:22:27,670 - pyvisa - DEBUG - Closing ResourceManager (session: 6907541)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement