Troubleshooting Issues With Python; Installing M5200X Drivers On Python Ver. Other Than; Installing Python After The Instrument Driver - Keysight M5200A Startup Manual

Pxie digitizer modules
Table of Contents

Advertisement

Section 4.2: Troubleshooting issues with Python

4.2.1: Installing M5200x Drivers on Python ver. other than 3.7

4.2.2: Installing Python after the Instrument Driver

M5200A PXIe Digitizer Modules Startup Guide
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
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
For offline installation, the M5200A module drivers require that the
NOTE
Python module numpy be already installed and will fail, if it has not
already been installed.
Troubleshooting and Safety information
4
73

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the M5200A and is the answer not in the manual?

Table of Contents