User`s guide

Optimizing Agilent VEE Programs Chapter 12
VEE User’s Guide 449
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.
Use one If/Then/Else object with multiple conditions instead
of multiple If/Then/Else objects.
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).
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.
Use the Sequencer to control the flow of execution of several
UserFunctions instead of separate Call objects.
When using the Sequencer, only enable logging for
transactions where the Log record is required.
When using Strip Charts and Logging AlphaNumeric
displays, set the Buffer Size in Properties to the smallest
number possible for your application.
Use the triadic operator, (condition ? expression1 :
expression2), instead of the If/Then/Else object with Gates
and a Junction.
When using bitmaps, set them to Actual or Centered rather
than Scaled, since Scaled will take a few moments longer.
When using indicators such as the Fill Bar or Thermometer,
turn off Show Digital Display.
When using Color Alarms, if you are switching between
colors rapidly, turn off Show 3D Border.
In addition to the techniques already mentioned, linking
compiled functions in other languages to your VEE programs
can increase execution speed. Using compiled functions on PCs
(as DLLs) are described in the next section.