Skip to main content
Version: Ver.4.10

CAN GW Analysis

See CAN Gateway Analysis Specifications for detailed latency/loss evaluation conditions.

After combining multiple channel logs using Ch Mixing, the following analyses are available under “CAN GW Analyze” on the Analyze tab.

  • Gateway latency and message loss analysis (GW Latency & Msg. Lost Analyze)
  • Gateway residence analysis (GW Msg. Residence Peak Analyze)

CAN GW Analyze Tab Reference​

CAN GW Analyze controls excerpt with ① GW CAN Frame List, ② GW Information, and ③ analysis buttons outlined in red and numbered

Figure 1. CAN GW Analyze settings and execution controls.

No.ItemDescription
①GW CAN Frame ListShows registered frame mappings. Checked rows are analyzed.
②GW InformationConfigures gateway source/destination channels and frame conditions.
②From / ToFrom is the gateway source; To is the destination. Configure Ch, CAN/CAN-FD, Std./Ext., and CAN ID for each.
②Ch dropdownSelects the target channel. Specify different channels for From and To.
②CAN / CAN-FDSelects the frame type on each side.
②Std. / Ext.Selects standard/extended ID.
②CAN ID fieldEnter the CAN ID in hexadecimal.
②+ buttonAdds the GW Information settings to the list. Up to 64 entries can be registered.
②Update button (circular arrow)Updates the selected list row with the GW Information settings.
②Delete button (trash)Deletes the selected list row.
③GW Latency & Msg. Lost AnalyzeRuns gateway latency/message loss analysis.
③GW Msg. Residence Peak AnalyzeRuns gateway residence analysis.
③ClearDeletes all registered frame mappings.

CAN GW Analyze Procedure​

  1. Open CAN GW Analyze for a combined log Combine the target logs with Ch Mixing and select “CAN GW Analyze” at the bottom of the Analyze tab.
Analyze Window with Analyze tab above and CAN GW Analyze tab below outlined in red

Figure 2. CAN GW Analyze tab location.

  1. Configure and register source/destination frames Set the channel, frame type, ID format, and CAN ID for From and To under GW Information. Click + to add the mapping to GW CAN Frame List and check that the checkbox for the registered target row is checked. Figure 3 registers From as Ch1-1, CAN-FD, Std. ID 310, and To as Ch1-2, CAN-FD, Std. ID 330.
GW Information source/destination frame conditions, add button, and registered list outlined in red

Figure 3. Registering a frame mapping to analyze.

  1. Run latency and message loss analysis Check that the checkbox for the registered target row is checked, then click “GW Latency & Msg. Lost Analyze.”
Checked target row and GW Latency & Msg. Lost Analyze button outlined in red

Figure 4. Checking the target row and running latency/message loss analysis.

  1. Run residence analysis Close the latency/message loss results using Close. Check that the checkbox for the registered target row is checked, then click “GW Msg. Residence Peak Analyze” to analyze the peak resident frame count.
Checked target row and GW Msg. Residence Peak Analyze button outlined in red

Figure 5. Checking the target row and running residence analysis.

Both analyses display results in the “Analyze Result” window. Click Close to close the results window.

Gateway Latency and Message Loss Results Reference​

“GW Latency & Msg. Lost Analyze” results appear on the Gateway Analyze tab in Analyze Result.

Gateway latency/loss results and timestamp fields outlined in red on the Gateway Analyze tab in Analyze Result

Figure 6. Gateway latency/message loss analysis results.

Figure 6 shows maximum latency 10.146 ms, minimum 9.593 ms, average 9.872 ms, and Sample 607. The maximum latency timestamp is +000:00:10.927.690, and Lost Time is -.

ItemDescription
From / ToShows source/destination channels. Protocol and ID for each side show CAN/CAN-FD, standard/extended ID, and CAN ID.
Max(ms)Shows maximum latency.
Max TimeStampShows the log timestamp at maximum latency.
Min(ms)Shows minimum latency.
Min TimeStampShows the log timestamp at minimum latency.
Ave(ms)Shows average latency.
Recv,Ave(ms)Shows the average reception interval at the gateway source.
Max Delay RateShows maximum latency ÷ average reception interval at the gateway source.
SampleShows the number of matched source/destination pairs.
Lost TimeShows the log timestamp of the first message loss.
Target Log tabShows the analyzed log.
Gateway Analyze tabShows analysis results.
SaveSaves displayed analysis results in CSV format.
CloseCloses the Analyze Result window.

If message loss occurs, Max/Min/Ave/Recv,Ave/Max Delay Rate/Sample show results up to the first loss.

Opening the Corresponding Log from Results​

If Max TimeStamp, Min TimeStamp, or Lost Time contains a timestamp, double-click it to switch to Target Log and select the corresponding row. Figure 7 shows the result of double-clicking Max TimeStamp in Figure 6.

Target Log tab in Analyze Result with the selected row corresponding to the analysis timestamp outlined in red

Figure 7. Jumping from results to the corresponding Target Log row.

The selected row is destination Ch1-2, ID 330, at +000:00:10.927.690. Its difference from the preceding source Ch1-1, ID 310, timestamp +000:00:10.917.544 matches the maximum latency of 10.146 ms in Figure 6.

Gateway Residence Results Reference​

“GW Msg. Residence Peak Analyze” results appear on the Gateway Analyze tab in Analyze Result. The upper table shows results by destination channel, and the lower table shows results by registered frame.

Gateway residence results in Analyze Result with ① upper Ch1-2 results and ② lower per-frame results numbered and outlined in red, and each Save button outlined

Figure 8. Gateway residence analysis results.

In Figure 8, ① shows results by channel and ② by frame. In the ① Ch table, Ch1-2 has GW Frame 1, Peak 1, Peak Time +000:00:00.019.246, and Sample 1214. The ② Frame table mapping Ch1-1, ID 310 → Ch1-2, ID 330 also shows Peak 1, the same Peak Time, and Sample 1214.

TableItemDescription
① ChToShows the gateway destination channel.
① ChGW FrameShows the number of gateway target frames.
① ChPeakShows the maximum resident frame count for that destination channel.
① ChPeak TimeShows the log timestamp where the peak occurred.
① ChSampleShows the number of samples used to increment/decrement the residence count.
① ChSaveSaves per-channel results in CSV format.
② FrameFrom / ToShows source/destination channels. Protocol and ID for each side show CAN/CAN-FD, standard/extended ID, and CAN ID.
② FramePeakShows the maximum resident frame count for that frame mapping.
② FramePeak TimeShows the log timestamp where the peak occurred.
② FrameSampleShows the number of samples used to increment/decrement the residence count.
② FrameSaveSaves per-frame results in CSV format.

Check the analyzed log on Target Log and results on Gateway Analyze. Click Close to close the Analyze Result window.