Specifications

How to Use the System Software 49Chapter 2
Instrument Handlers
Instrument Handlers are a layer of software between Agilent TestExec SL
and standard instrument drivers (see Figure 2-28). In general, Instrument
Handlers are designed to be called from C/C++ code action
Instrument handlers contain functions written in C code that are organized
by instrument type and function, and require parameters relevant to the
function. For example, the call to set up triggering for a voltmeter is:
dmmConfTrigIn (dmm, trigselect, count, delay);
Function dmmConfTrigIn accepts four parameters: dmm, trigselect, count,
and delay. The generic name of the function is
ConfTrigIn, and the name
of the instrument, in this case
dmm, is added as a prefix to form the full,
specific name of the function.
Note Instrument handlers are maintained constant in different TS-5400 software
releases, which is not the case with the drivers. Thus, use instrument
handlers for actions whenever possible.
Figure 2-28. Software Layers
User Actions
Instrument Handler
Driver
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com