4 - Simulating and Reviewing Ethernet Message Files

Once you have saved Ethernet data to a file, you have several options for working with it. Two of the most important are simulating the file and reviewing it, which we’ll show you how to do in this chapter.

Note that this part of the guide assumes that you saved a buffer of Ethernet data in Section 3.9. If you have not done this yet, please review the relevant parts of Chapter 3 and save an Ethernet buffer before proceeding here.

4.1 Simulating an Ethernet Data File

Simulating a data file is an alternative to going online with a live network. Vehicle Spy will replay the file, causing its messages to appear in Messages View in the same order, and with the same timing, as occurred on the network when they were captured. This is a useful tool for diagnosing problems, since you can repeat a message exchange in the same way multiple times. You can also control the speed of the simulation, slowing it down for easier observation.

If you’ve simulated a file in Vehicle Spy before, the process is pretty much the same for Ethernet data files.

A Windows file selection box will now appear opened on your data directory.

Assuming that a valid file was selected, Vehicle Spy will begin playing back its messages within Messages View. The screen will appear quite similar to how it did when going online live, except that you will notice the simulation bar at the top, which shows you VSpy’s progress as it goes through the file (Figure 25). The current speed of the simulation is shown in the bar (in the figure it says “speed: 1.00x”). You can change this by moving the adjacent speed slider left or right, selecting a speed from 0.01x to 20x.

You stop the simulation by going offline.

4.2 Reviewing an Ethernet Data File

Reviewing a file is used most often to simply look at what messages it contains. You choose the file and the messages are shown in the order they were stored with the same timestamps. Again, this process is pretty much the same for Ethernet data as it is for other networks.

Let’s try an example.

Tell Vehicle Spy to Review a File: Choose Review Buffer... from the File menu.

Select a File: When the Windows file selection dialog appears, select a file from your data directory.

Vehicle Spy will now present a dialog box allowing you to choose what platform you want to use and whether you want to load the file in standard or streaming mode. Again, this is identical to what happens when reviewing a .VSB file with CAN or other network data. In most cases we can leave these options at their default settings.

Vehicle Spy will load the buffer file, stopping with the last message showed at the bottom of the Messages View display.

Last updated