Beispiel #1
0
        /// <summary>
        /// Init parameter set up with empty key
        /// </summary>
        private void InitParameter()
        {
            Dictionary <string, string> argKvPairs = new Dictionary <string, string>()
            {
            };

            EvalParameter = new HashDependentParameter("Cycle_Time_Check", @"This parameter is used for detecting variation of some message's cycle time all through a CAN trace file. 
And evaluate the actual cycle time detected form CAN trace  FAIL or PASS if cycle time is over a range(user defined) or not.


", argKvPairs, null);
        }
        /// <summary>
        /// Init parameter set up with empty key
        /// </summary>
        private void InitParameter()
        {
            Dictionary <string, string> argKvPairs = new Dictionary <string, string>()
            {
            };

            EvalParameter = new HashDependentParameter("Check_Message_Counter", @"This parameter can be used to monitor live counter.

Check_Message_Counter = %(‘signal’ => ‘sig’, ‘Min’ => 0, ‘Max’ => 15, ‘StartTime’ => 2000, ‘StopTime’ => 5000, ‘Step’ => 1)

## TriggerX can be used in StartTime and StopTime.
## StartTime, StopTime and Step are optional; default value for Step is 1.
 

", argKvPairs, null);
        }
        /// <summary>
        /// Init parameter set up with empty key
        /// </summary>
        private void InitParameter()
        {
            Dictionary <string, string> argKvPairs = new Dictionary <string, string>()
            {
            };

            EvalParameter = new HashDependentParameter("Calculate_Signal_Countup", @"This parameter can be used to calculate signal count up.

Calculate_Signal_Countup = %(‘signal’ => ‘sig’, ‘StartTime’ => 2000, ‘StopTime’ => 5000,’Expected’ =>’500-600’)
Calculate_Signal_Countup = %(‘signal’ => ‘sig’, ‘StartTime’ => 2000, ‘Duration’ => 3000, ,’Expected’ =>’500-600’)

## TriggerX can be used in StartTime and StopTime.

 

", argKvPairs, null);
        }
Beispiel #4
0
        /// <summary>
        /// Init parameter set up with empty key
        /// </summary>
        private void InitParameter()
        {
            Dictionary <string, string> argKvPairs = new Dictionary <string, string>()
            {
            };

            EvalParameter = new HashDependentParameter("Check_Message_Checksum", @"This parameter can be used to monitor checksum

Check_Message_Checksum = %(‘signal’ => ‘sig’, ‘StartTime’ => 2000, ‘StopTime’ => 5000, ‘algorithm’ => 'CRC_ECM1')

## TriggerX can be used in StartTime and StopTime.
## StartTime, StopTime are optional;
## Algo is the algrithm provided in project defaults
 

", argKvPairs, null);
        }
        private void InitParameter()
        {
            Dictionary <string, string> argKvPairs = new Dictionary <string, string>()
            {
                { "Check_condition", "" },
            };

            EvalParameter = new HashDependentParameter("read_CAN_signal_over_condition", @"If the CAN signals are to be read only at a particular point then this parameter is used. For this parameter the condition is given. For example, if you want to read the CAN sig-nals at the point where the ESP CAN lamp is set to failure value then, the CAN lamp name and the failure value should be given.(Note: only decimal value is supported in ‘signal_value’) 
e.g.1. read_CAN_signal_over_condition = %('can_signal' => 'VSA_WARN_STATUS_VSA', 'signal_value' => 1, 'Check_condition' => '==')
2. read_CAN_signal_over_condition = %('can_signal' => 'VSA_WARN_STATUS_VSA', 'signal_value' => 1, 'Check_condition' => '==' , ‘Start_Time’ => 20000, ‘delay’ => 2000)
3. read_CAN_signal_over_condition   =   %(check_condition => 'AndTriggerX')
# The name of the CAN signal should be the same as in dbc file.
# Start_Time and delay are optional
# TriggerX can not be used as Start_Time. TriggerX can be used from v1_16.

", argKvPairs, null);
        }
Beispiel #6
0
        /// <summary>
        /// Init parameter set up with empty key
        /// </summary>
        private void InitParameter()
        {
            Dictionary <string, string> argKvPairs = new Dictionary <string, string>()
            {
            };

            EvalParameter = new HashDependentParameter("First_Frame_Check_All_Msg", @"This two parameters are used for detecting time when the ECU send Messages are re-ceived for the First time after IG ON and detecting time when the ECU send the first frame(it could be any message) after IG ON.

ECU ON trigger should be given by user; otherwise CAN batch will LC INFO signal as default trigger. 
Format:
First_Frame_Check = ‘xx-yy’
First_Frame_Check_All_Msg = %(‘Msg1’ => ‘xx-yy’, ‘Msg2’ => ‘>aa’, ‘Msg3’ => ‘<aa’)
ECU_ON_Trigger = %(‘Sig1’ => ‘xx’)


", argKvPairs, null);
        }
Beispiel #7
0
        /// <summary>
        /// Init parameter set up with a mandatory key "Check_condition"
        /// </summary>
        private void InitParameter()
        {
            Dictionary <string, string> argKvPairs = new Dictionary <string, string>()
            {
                { "Check_condition", "" },
            };

            EvalParameter = new HashDependentParameter("read_ecu_time", @"This parameter is used to set trigger point if user want to evaluate the delta time between two conditions or need a trigger point for start point.The parameter read_delta_time_xx (xx= 1,2,3,…), and mark of the trigger point when be used is “TRiggerxx”(xx=1,2,3….).
Four formats are supported.
e.g.
read_ecu_time_1 = %( 'Check_condition' => 'TimeOut', 'Message' => 'ECT1S07' )
read_ecu_time_2 = %( 'Check_condition' => ' DLCFail', 'Message' => 'ECT1S07' )
read_ecu_time_3 = %( 'Check_condition' => ' Init', 'Message' => 'ECT1S07' )
read_ecu_time_4    = %( 'can_signal' => 'Ch3C', 'signal_value' => 32752, 'Check_condition' => '==', ‘Start_Time’ => 20000, ‘delay’ => 2000)
ECU_signal_Deltatime_1 = @(’500-600’)
ECU_signal_Deltatime_2 = @(’500-600’)
ECU_signal_Deltatime_3 = @(’500-600’)



", argKvPairs, null);
        }
        /// <summary>
        /// Init parameter set up with empty key
        /// </summary>
        private void InitParameter()
        {
            Dictionary <string, string> argKvPairs = new Dictionary <string, string>()
            {
                { "signal_name", "" }, { "pattern", "" }
            };

            EvalParameter = new HashDependentParameter("analyze_signal_pattern", @"This parameter is used to check signal patterns. Start condition, pattern value plus delta time for each value are supported (length of the pattern is open). As well as a range for the delta time. Function will also work if no delta time is needed.
Result will be added in the general STEPS report.

Format: 
analyze_signal_pattern = %('signal_name'=>'name' ,‘pattern’ => ‘value1->value2(deltatime2)->value3(deltatime3)->value4’, ’tolerance’=>’range of delta time’, 'Start_Time' => time,  'Duration' => time or 'Stop_Time'=>time)

range of delta time:  evaluation range shoud be deltatime +- range.
'Start_Time' => 'Trigger1' or 'Start_Time' => '500' used as same as used in 'read_delta_time_'
'Stop_Time='1000' or ' 'Duration' => '1000' (unit:ms)
‘deltatimex’,'Start_Time','Stop_Time' and 'Duration' are options.
# The first value and last value in pattern should not contain the delta time.
# the expected pattern can be only one value. ‘pattern’ => ‘value1’, this means signal value will not change in whole scope.


", argKvPairs, null);
        }