Template Format
General Format: <template name> IN <list of inputs> OUT <list
of outputs>
Where <template name> is the name of the template selected, <list
of inputs> is a list of the inputs required by the function being used, and
<list of outputs> is a list of the outputs returned by the function
being used.
Template Names
Template names follow a naming convention which indicates the type of
service. All functions which start with a 'D' are diagnostic services. All
functions which start with a 'T' are training services.
Input and Output Names and Types
Each input or output is indicated using a descriptive name and type symbol.
The general format for an input or output parameter is as follows:
$name $ OR #name #
Where 'name' is the descriptive name for that input/output parameter and
either a dollar sign ($) or pound sign (#) indicates the parameter type. A
dollar sign ($) indicates a string type input or output. A pound sign (#)
indicates a number type input or output.
Each template will have a different list of inputs and outputs each with
their descriptive names and types which are specific to the Class V function
being used.
Example: D_GET_SUSPECT_PART IN #index # OUT $partname $
Where 'D_GET_SUSPECT_PART' is the name of the template, '#index #' is a
number type input and, '$partname $' is a string type output.
Inputs
Inputs can be passed to the function using either AIMSS variables or
literal values.
A literal value is simply an exact value rather than a variable containing
a value. It can be used when the value of the input is known by the author at
design time or a value which never changes. To select a literal value as an
input simply replace the type symbol ($ or #) with the appropriate value.
String values must be enclosed in quotes ('').
Example: D_GET_SUSPECT_PART IN #index 1 OUT $partname PART
D_SET_MEAS_FAIL IN $measname 'Measurement 1'
Where 1 and 'Measurement 1' are literal values.
To select an AIMSS variable as an input simply replace the type symbol ($
or #) with the name of the AIMSS variable. To do this from the Process - Edit
Content screen, highlight the symbol ($ or #) and click on the 'Select
Variable' button. Choose the variable in the list and click 'Ok'. The name of
that variable automatically replaces the type symbol($ or #).
Example: D_GET_SUSPECT_PART IN #index INDEX OUT $partname PART
D_SET_MEAS_FAIL IN $measname MEASUREMENT
Where INDEX and MEASUREMENT are AIMSS variables.
Outputs
Outputs contain the values which are returned from the function being used.
As a result, they must be AIMSS variables. No 'literal' values can be used.
To select an AIMSS variable as an output simply replace the type symbol ($
or #) with the name of the AIMSS variable in the same way as with inputs. To
do this from the Process - Edit Content screen, highlight the symbol ($ or #)
and click on the 'Select Variable' button. Choose the variable in the list and
click 'Ok'. The name of that variable automatically replaces the type symbol($
or #).
Example: D_GET_SUSPECT_PART IN #index 1 OUT $partname PART
D_GET_SUSPECT_COUNT OUT #count COUNT
Where PART and COUNT are AIMSS variables.
See Diagnostic Template Descriptions
Return to
Class V Products Page
Return to
Giordano Automation Home Page