M5200A PXIe Digitizer Modules Startup Guide
73
Troubleshooting and Safety information
4
Section 4.2: Troubleshooting issues with Python
4.2.1: Installing M5200x Drivers on Python ver. other than 3.7
M5200x instrument drivers include the binary distribution for Python 3.7.x
running on a 64-bit version of windows. For other versions of Python, the
Python shim is created that will allow Python to access the instrument
driver. In order to correctly compile the shim, you require a version of
Visual Studio 2017 installed (the community edition is sufficient for this)
with the C++ Desktop Development workload installed. Once the
appropriate prerequisites are installed, you must navigate to the
instrument driver python folder and install the python module’s
.tar.gz
file,
as shown:
C:\Program Files\Keysight\M5200x\python>pip install
keysight_ktm5200x-1.0.43106.tar.gz
4.2.2: Installing Python after the Instrument Driver
The installers for M5200A module drivers attempt to install Python during
installation. However, there are various reasons, including the ones listed
below, that this may not work for you.
1 Python 3.7.x is not set as the default Python interpreter on the system.
2 Python is installed after installing the instrument driver.
In such cases, it may be necessary for you to manually install the Python
module containing the instrument driver. To do this, navigate to the
instrument driver python folder and install the Python’s
.whl
file, as shown:
C:\Program Files\Keysight\M5200x\python>pip install
keysight_ktm5200x-1.0.43106-cp37-cp37m-win_amd64.whl
NOTE
For offline installation, the M5200A module drivers require that the
Python module
numpy
be already installed and will fail, if it has not
already been installed.
Summary of Contents for M5200A
Page 1: ...0 3 H LJLWL HU 0RGXOHV RXU VD VHF ELWV UHVROXWLRQ 67 5783 8 ...
Page 8: ...8 M5200A PXIe Digitizer Modules Startup Guide ...
Page 12: ...12 M5200A PXIe Digitizer Modules Startup Guide Contents ...
Page 28: ...28 M5200A PXIe Digitizer Modules Startup Guide 1 Overview on M5200A PXIe Digitizer Modules ...
Page 70: ...70 M5200A PXIe Digitizer Modules Startup Guide 3 Setting up the M5200x software ...
Page 79: ...M5200A PXIe Digitizer Modules Startup Guide 79 ...