
64
M5201A PXIe Downconverter Modules Startup Guide
3
Setting up the M5201x software
3.5.3: Initiating PathWave Test Sync Executive software
As mentioned earlier, the KS2201A PathWave Test Sync Executive
software is not a standalone software. It enhances the Keysight M5201x
API to support HVI technology by adding the DLL files required for Python
libraries. After you install the KS2201A PathWave Test Sync Executive
software, you can find the library in
C:\Program Files\Keysight\HVI\api\
python\keysight_pathwave_hvi.
The HVI API within the KS2201A PathWave Test Sync Executive software
consists of classes that provide native HVI functionalities that are common
across any measurement instrument deployed within an HVI system.
To use the HVI API in Python, import the HVI API Python package that is
included with the HVI installer. This will be your first part of your code in
each of your files. Unless this package is imported, the HVI API will not be
found.
The following work flow, using Python commands, shows how to add HVI
library to an application and create an HVI instance.
1 Import required system components and python libraries (as needed).
Examples:
import sys
import os
import numpy as np # For keysight_ktm5201x arrays
2 Import the M5201x Python library for programming the M5201A card.
Example:
import keysight_ktm5201x as m5201x
3 Import the HVI library to create an HVI instance.
Example:
import keysight_hvi as kthvi
4 Create KtHvi instance
Example:
module_resource_name = 'KtHvi'
hvi = kthvi.Hvi(module_resource_name)
5 Add each engine to the KtHvi instance
Example:
NOTE
HVI programming using the KS2201A PathWave test Sync Executive
software is supported with Python version 3.7.x and higher (64-bit).
Содержание 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...