![Keysight M5201A Скачать руководство пользователя страница 69](http://html1.mh-extra.com/html/keysight/m5201a/m5201a_startup-manual_1961127069.webp)
M5201A PXIe Downconverter Modules Startup Guide
69
Troubleshooting and Safety information
4
Section 4.2: Troubleshooting issues with Python
4.2.1: Installing M5201x Drivers on Python ver. other than 3.7
M5201x 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\M5201x\python>pip install
keysight_ktm5201x-1.0.43106.tar.gz
4.2.2: Installing Python after the Instrument Driver
The installers for M5201A 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\M5201x\python>pip install
keysight_ktm5201x-1.0.43106-cp37-cp37m-win_amd64.whl
NOTE
For offline installation, the M5201A module drivers require that the
Python module
numpy
be already installed and will fail, if it has not
already been installed.
Содержание M5201A
Страница 1: ...0 3 H RZQFRQYHUWHU 0RGXOHV RXU 5 67 5783 8...
Страница 8: ...8 M5201A PXIe Downconverter Modules Startup Guide...
Страница 12: ...12 M5201A PXIe Downconverter Modules Startup Guide Contents...
Страница 26: ...26 M5201A PXIe Downconverter Modules Startup Guide 1 Overview on M5201A PXIe Downconverter modules...
Страница 66: ...66 M5201A PXIe Downconverter Modules Startup Guide 3 Setting up the M5201x software...
Страница 72: ...72 M5201A PXIe Downconverter Modules Startup Guide 4 Troubleshooting and Safety information...
Страница 73: ...M5201A PXIe Downconverter Modules Startup Guide 73...