Skip to content

time.clock has been deprecated in Python 3.3 and will be removed from Python 3.8 #394

@bjaraujo

Description

@bjaraujo

..C:\Users\bjaraujo\AppData\Local\Programs\Python\Python37-32\lib\site-packages\pyvisa\resources\gpib.py:101: DeprecationWarning: time.clock has been deprecated in Python 3.3 and will be removed from Python 3.8: use time.perf_counter or time.process_time instead
starting_time = time.clock()
C:\Users\bjaraujo\AppData\Local\Programs\Python\Python37-32\lib\site-packages\pyvisa\resources\gpib.py:107: DeprecationWarning: time.clock has been deprecated in Python 3.3 and will be removed from Python 3.8: use time.perf_counter or time.process_time instead
adjusted_timeout = int((starting_time + timeout/1e3 - time.clock())*1e3)

python -m visa info

Machine Details:
   Platform ID:    Windows-10-10.0.16299-SP0
   Processor:      Intel64 Family 6 Model 78 Stepping 3, GenuineIntel

Python:
   Implementation: CPython
   Executable:     C:\Users\bjaraujo\AppData\Local\Programs\Python\Python37-32\python.exe
   Version:        3.7.2
   Compiler:       MSC v.1916 32 bit (Intel)
   Bits:           32bit
   Build:          Dec 23 2018 22:20:52 (#tags/v3.7.2:9a3ffc0492)
   Unicode:        UCS4

PyVISA Version: 1.9.1

Backends:
   ni:
      Version: 1.9.1 (bundled with PyVISA)
      #1: C:\WINDOWS\system32\visa32.dll:
         found by: auto
         bitness: 32
         Vendor: National Instruments
         Impl. Version: 17827072
         Spec. Version: 5244928

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions