varx_specs
Purpose:
-
Configure real variable transfers for the var_transfer program by processing a specification file.
Enter:
-
varx_specs [filename]
Where:
-
filename
Optional. Specify the pathname of a specification file. The default filename is /specs/varx_specs.NNN where NNN is the test cell name.
Example:
-
varx_specs
The above processes the default specification file and send messages to all the var_transfer applications that are running. Depending on the contents of the file, one of the instances will process the specifications.Spec file format:
############ example spec file ############
#
# registered name of the instance of var_transfer which will
# process these specifications
# the @REG_NAME specifications is optional – default name is “VarTransfer”
@REG_NAME
VarTransfer
#input_label output_label bias gain filter
my_label my_out_label 0 1.0 0.0
..etc
# All variables specified above the first @SYNC_EVENT keyword
# will be processed at the process interval specified on the
# command line of the var_transfer task – those below @SYNC_EVENT
# will be processed only when the sync event is received
#Note: the specified sync events must exist before this spec
# file is processed
@SYNC_EVENT
my_sync_ev
#input_label output_label bias gain filter
my_ins1 my_outs1 0 1.0 0.0
..etc
# Variables specified after this keyword will be
# processed whenever the “my_sync_ev2” event is received
@SYNC_EVENT
my_sync_ev2
#input_label output_label bias gain filter
my_ins2 my_outs2 0 1.0 0.0
…etc
##############################################################
#
# registered name of the instance of var_transfer which will
# process these specifications
# the @REG_NAME specifications is optional – default name is “VarTransfer”
@REG_NAME
VarTransfer
#input_label output_label bias gain filter
my_label my_out_label 0 1.0 0.0
..etc
# All variables specified above the first @SYNC_EVENT keyword
# will be processed at the process interval specified on the
# command line of the var_transfer task – those below @SYNC_EVENT
# will be processed only when the sync event is received
#Note: the specified sync events must exist before this spec
# file is processed
@SYNC_EVENT
my_sync_ev
#input_label output_label bias gain filter
my_ins1 my_outs1 0 1.0 0.0
..etc
# Variables specified after this keyword will be
# processed whenever the “my_sync_ev2” event is received
@SYNC_EVENT
my_sync_ev2
#input_label output_label bias gain filter
my_ins2 my_outs2 0 1.0 0.0
…etc
##############################################################
Notes:
-
The var_transfer program uses specifications from this program to transfer variables with optional bias, gain, and filter.