EasyManua.ls Logo

Agilent Technologies VEE Pro

Agilent Technologies VEE Pro
577 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
412 Chapter 11
Optimizing Agilent VEE Programs
Basic Techniques for Optimizing Programs
Other Ways to Optimize Agilent VEE Programs
There are other optimization techniques that you can use in programs when
appropriate, as follows:
n Make sure you are using the VEE compiler by running your programs in
VEE 4 or higher Execution Mode. For more information, refer to
Agilent VEE Execution Modes on page 427.
n Run the program from the panel view instead of the detailed view. VEE
will have less objects to maintain on the screen.
n Use global variables rather than pass values (especially large arrays or
records) into and out of
UserObjects and UserFunctions. Declare
all the global variables. This also allows you to use local variables. See
Data Variable Declare Variable.
n Collect data for graphical displays and plot the entire array at once rather
than plotting each individual scalar point. If the
X values of a plot are
regularly spaced, use an
XY Trace display rather than an X vs. Y Plot.
n Use one
If/Then/Else object with multiple conditions instead of
multiple
If/Then/Else objects.
n Set graphical displays to be as plain as possible. The settings that allow
the fastest update times are
Grid Type None and nothing checked
in the
Properties dialog box. Only use AutoScale control pins where
necessary, and turn off the
Automatic AutoScaling if not needed (in
the
Scales folder).
n When reading data from a file, use the
ARRAY 1D TO END: (*)
transaction instead of performing READ transactions on one element at a
time and using the
EOF pin.
n Use the
Sequencer to control the flow of execution of several
UserFunctions instead of separate Call objects.
n When using the
Sequencer, only enable logging for transactions where
the
Log record is required.

Table of Contents

Related product manuals