Specifications

Programming Model Example
temp1419.vee: This program operates stand-alone. It is written to follow the
programming model outlined in Chapter 3. Examples can be found for writing
multiple algorithms, variable monitoring and modification, interrupts, temperature
measurements and data display. Please refer to Figure 5-5 for the remainder of the
discussion.
The hardware configuration assumes that a type T thermocouple is attached to
channel 102, that the thermocouple reference sensor is attached to channel 103 and
that there is a digital output channel at 156. Figure 5-1 illustrates the necessary
wiring connections for this and the other VT1419A/Agilent VEE examples. Of
particular interest here is that the thermocouple is placed at a channel less than the
reference junction channel. Since the VT1419A’s C-compiler sorts all channels in
numerical order for scanning by the A/D at runtime, that assignment must be
overridden with the SENS:REF:CHAN command as illustrated in Link Engineering
Units so that the reference channel is scanned BEFORE the thermocouple channel
that needs the reference junction compensation.
VEE Programming Examples
Programming Model Example
Chapter 5 149
Figure 5-5: Programming Model Detail View
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com