Specifications

Figure 5-8 illustrates where this module would be integrated into a VEE application
program. This is a part of the Link Engineering Units setup that was learned in
Chapter 3. Simply select the channel, the maximum voltage expect to be seen on
that channel (MaxVolts represents ±voltage), and enter any formula using the
available Agilent VEE math functions. It’s that simple!
The only restriction is that the variable “V” must be used representing the voltage
read from the channel. When the selected channel is read by the VT1419A’s A/D,
that voltage will be “inserted” into the formula just as represented in the example.
Appendix E discusses custom function table generation which is based upon the
same principle as EU table conversion. EU conversion executes within a few
microseconds, so there is no problem with running the VT1419A sample rate at
100 kHz (10 µs per sample).
The CustomEUDeclarationsArray can hold up to 64 channel definitions. Any valid
channel number 100-163 for an Analog Input Channel will cause the associated
table to be built and downloaded into the VT1419A’s EU table memory space.
Leaving the field Channel at “0" will cause that channel to be ignored by this
module. Any *RST or power-ON condition will require re-execution of this
module.
The object Select PC/UNIX Files contains file name and directory paths necessary
to make the module execute properly on a PC or UNIX platform. Figure 5-8 also
shows that object open for observation. The default location of the VT1419A
example programs is “c:\dabundle.” A typical UNIX path is included for example.
The example uses the Agilent VEE function whichOS() to determine which
directory structure to use.
VEE Programming Examples
Engineering Unit Conversion
Chapter 5 155
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com