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

Pxie lvds digital io modules; 28 lvds channels, 8 trigger io
Table of Contents

Advertisement

Section 4.2: Troubleshooting issues with Python

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

4.2.2: Installing Python after the Instrument Driver

M5302A PXIe LVDS Digital IO Modules Startup Guide
M5302x 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 .tar.gz file,
as shown:
C:\Program Files\Keysight\M5302x\python>pip install
keysight_ktm5302x-1.0.11418.tar.gz
The installers for M5302A 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 .whl file, as shown:
C:\Program Files\Keysight\M5302x\python>pip install
keysight_ktm5302x-1.0.11418-cp37-cp37m-win_amd64.whl
For offline installation, the M5302A module drivers require that the
NOTE
Python module numpy be already installed and will fail, if it has not
already been installed.
Troubleshooting
4
87

Advertisement

Table of Contents
loading

Table of Contents