M5200A PXIe Digitizer Modules Startup Guide
67
Setting up the M5200x software
3
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 M5200x
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_ktm5200x arrays
2 Import the M5200x Python library for programming the M5200A card.
Example:
import keysight_ktm5200x as m5200x
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).
Содержание M5200A
Страница 1: ...0 3 H LJLWL HU 0RGXOHV RXU VD VHF ELWV UHVROXWLRQ 67 5783 8 ...
Страница 8: ...8 M5200A PXIe Digitizer Modules Startup Guide ...
Страница 12: ...12 M5200A PXIe Digitizer Modules Startup Guide Contents ...
Страница 28: ...28 M5200A PXIe Digitizer Modules Startup Guide 1 Overview on M5200A PXIe Digitizer Modules ...
Страница 70: ...70 M5200A PXIe Digitizer Modules Startup Guide 3 Setting up the M5200x software ...
Страница 79: ...M5200A PXIe Digitizer Modules Startup Guide 79 ...