asam3_specs

Purpose:

Process ASAM3 TCP Monitoring Specs. The asam3_specs command reads the ASAM3 specifications file and configures the asam3cli task to perform the monitoring function.

Enter:

asam3_specs  [spec_file_name]  [-v] [-reset|-rebuild] [INCA|CANApe]

Where:

spec_file_name Optional. Specify the specification filename that contains the ECM variable names to read and the CyFlex variable names where the values will be placed. The default file is asam3_specs.nnn.
-v Optional. Specify this flag to read the specification file and verify the validity of the CyFlex variable name values. Detected errors will be displayed on the screen. 
-reset Optional. Specify this option to rewrite the asam3_specs file by generating unique CyFlex variable names. These will include all the characters in ECM variable name up to the first invalid character found and include a suffix. The suffix will be ‘_csar_N’ where N = number.
-rebuild Optional. Specify this option to only regenerate CyFlex variable name when it finds a ‘-‘ dash in the place of CyFlex variable names or it finds a CyFlex variable name that contains invalid characters or is too long.
INCA|CANape

Optional. Specify either INCA or CANape:

  • Specify INCA to indicate asam3_specs is communicating with the INCA system. 
  • Specify CANape to indicate asam3_specs is communicating with the CANape system.

Example:

asam3_specs
The above command processes asam3_specs.nnn file for ASAM3 monitoring specifications, where nnn is the local test cell number.

asam3_specs  -v
This command processes the asam3_specs.nnn file like the above example. The asam3_specs.nnn file will then be read and the CyFlex variable names will be verified to be valid or not valid.

asam3_specs  spec_file  -v
This command processes a specified spec_file to be processed like the above examples. The spec_file will be read and the CyFlex variable names will be verified to be valid or not valid.

asam3_specs  spec_file  INCA
This command processes the INCA spec_file like the above examples. INCA will work with the -v option if it is also specified.

asam3_specs  spec_file  CANape
This command processes the CANape spec_file like the above examples. CANape will work with the -v option if it is also specified.

asam3_specs spec_file -rebuild
This command revises the ECM0 Section of the spec file as follows:

Before:

ECM0  1000   DYNAMICDAQ
AcltrPosCrd.ppAcltrPdlPos.deVal   %   AcltrPosCrd_ppAcltrPdlPos_deval
AftInIntfProc.ppAftSysExhPr.deVal kPa -

After:

ECM0  1000   DYNAMICDAQ
AcltrPosCrd.ppAcltrPdlPos.deVal    %   AcltrPosCrd_ppAcltrPdlPos_deval
AftInpIntfProc.ppAftSysExhPr.deVal kPa AftInpIntfProc_csar_0

asam3_specs spec_file -reset
This command revises the ECM0 Section of the spec file as follows:

Before:

ECM0  1000   DYNAMICDAQ
AccltrPdlPosnCrd.ppAccltrPdlPosn.deVal   %   AccltrPdlPosnCrd_ppcAccltrPdlPosn_deval
AftInpIntfProc.ppAftSysExhPr.deVal       kPa -

After:

ECM0  1000   DYNAMICDAQ
AccltrPdlPosnCrd.ppAccltrPdlPosn.deVal   %   AccltrPdlPosnCrd_csar_0
AftInpIntfProc.ppAftSysExhPr.deVal       kPa AftInpIntfProc_csar_1

asam3_specs spec_file -reset
This command revises the ECM0 Section of the spec file where only ECM variable names are provided as follows:

Before:

ECM0  1000   DYNAMICDAQ
AccltrPdlPosnCoord.ppAccltrPdlPosn.deVal
AftInpIntfProc.ppAftSysExhPr.deVal

After:

ECM0  1000   DYNAMICDAQ
AccltrPdlPosnCoord.ppAccltrPdlPosn.deVal  None  AccltrPdlPosnCoord_csar_0
AftInpIntfProc.ppAftSysExhPr.deVal        None  AftInpIntfProc_csar_1

Notes:

See Also:

asam3_initvarasam3cli, ASAM3 Interface Setup