Specifications
·
When <alg_name> is ‘MAIN’, ALG:TIME? returns the worst-case execution
time for an entire measurement & control cycle (sum of MAIN, all enabled
algorithms, analog and digital inputs, and control outputs).
·
If triggered more rapidly than the value returned by ALG:TIME? ‘MAIN’, the
VT1419A will generate a “Trigger too fast” error.
NOTE If <alg_name> specifies an undefined algorithm, ALG:TIME? returns 0. This can
be used to determine whether algorithm <alg_name> is defined.
·
When Accepted: Before INIT only.
·
Returned Value: numeric value. The type is float32
ALGorithm:FUNCtion:DEFine
ALGorithm:FUNCtion:DEFine <function_name>,<range>,<offset>,
<func_data> defines a custom function that can be called from within a custom
algorithm. See Appendix E “Generating User Defined Functions” for full
information. Also see the Agilent VEE example program “fn_1419.vee”on
page 156.
Parameters
Parameter
Name
Parameter
Type
Range of
Values
Default
Units
function_name string valid ‘C’ identifier
(if not already defined in
‘GLOBALS’)
none
range numeric (float32) see comments none
offset numeric (float32) see comments none
func_data 512 element array of uint16 see comments none
Comments
·
By providing this custom function capability, the VT1419A’s algorithm language
can be kept simple in terms of mathematical capability. This increases speed.
Rather than having to calculate high-order polynomial approximations of
non-linear functions, this custom function scheme loads a pre-computed look-up
table of values into memory. This method allows computing virtually any
transcendental or non-linear function in about 18 µs. Resolution is 16 bits.
·
The <function_name> parameter is a global identifier and cannot be the same as a
previously define global variable. A user function is globally available to all
defined algorithms.
VT1419A Command Reference
ALGorithm
Chapter 6 197
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com










