System for testing automobile instrument with controller area network (CAN) bus and testing method thereof
A technology of CAN bus and test system, which is applied in the field of test system of CAN bus automobile instrument, can solve the problems that the performance of automobile instrument cannot be fully reflected, and the test of CAN bus automobile instrument is single, so as to shorten the test cycle, maximize convenience and accuracy , The effect of reducing the cost of testing
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0039] Such as Figure 4 As shown, the test system is initialized first;
[0040] Step S0001, the control module controls the timing module to reset and start timing;
[0041] Step S0002, the control module judges whether the timing time of the timing module has reached the vehicle speed message sending period T_SPD set in the system; if the judgment result is yes, the system enters step S0003, if the judgment result is no, the control module controls the timing module to continue timekeeping;
[0042] Step S0003, the control module controls the random variable random to randomly take a value from the value 1--100, and then the system enters step S0004;
[0043] Step S0004, the control module compares the value of the random variable random with the size of the internally set data variables data1 and data2; if data1≤random≤data2 is satisfied, the system enters step S0005; if the relationship data1≤random≤data2 is not satisfied, then The system enters step S006.
[0044] St...
Embodiment 2
[0048] Such as Figure 5 As shown, the test system is initialized first;
[0049] Step S0001, the control module controls the timing module to reset and start timing;
[0050] Step S0002, the control module judges whether the timing time of the timing module has reached the vehicle speed message sending period T_SPD set in the system; if the judgment result is yes, the system enters step S0003, if the judgment result is no, the control module controls the timing module to continue timekeeping;
[0051] Step S0003, the control module controls the random variable random to randomly take a value from the value 1--100, and then the system enters step S0004;
[0052] Step S0004, the control module compares the value of the random variable random with the size of the internally set data variables data1 and data2; if data1≤random≤data2 is satisfied, the system enters step S0005; if the relationship data1≤random≤data2 is not satisfied, then The system enters step S006.
[0053] St...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 