Column Control DTX

Creating Hardware Handler in C/C++ for Keysight TestExec SL

Application Notes

Introduction

A hardware handler lies in between the TestExec SL and the driver for a hardware module. The purpose of having a hardware handler is to enhance TestExec SL’s ability to control devices by communicating directly with the instrument’s driver. In other words, the handler contains codes that implement the functions called by TestExec SL when it interacts with the hardware. Hardware handlers can be written in C/C++ or any of the managed (based on Microsoft’s .NET software technology) programming languages, including C# and VB.NET.

 

There are distinctive advantages of using the hardware handler. Firstly, hardware handler offers ease of maintenance in terms of code development. Since function calls are generally the same across instruments, it is easier to reuse actions for different types of test systems. Subsequently, tests or testplans built from the same actions can also be reused. As a minimum prerequisite, all hardware handlers require general purpose functions that are compatible with various kinds of hardware modules:

  • Open (initialize) a module.
  • Close a module.
  • Reset a module to a default state (which can be different from its initialized state).
  • Declare any parameters needed to create a unique instance of the handler, such as which instrument  identifier to use.

×

Please have a salesperson contact me.

*Indicates required field

Preferred method of communication? *Required Field
Preferred method of communication? Change email?
Preferred method of communication?

By clicking the button, you are providing Keysight with your personal data. See the Keysight Privacy Statement for information on how we use this data.

Thank you.

A sales representative will contact you soon.

Column Control DTX