Configuring the Bus Monitor
- Updated2025-01-10
- 3 minute(s) read
Configuring the Bus Monitor
- Navigate to the Configuration Tool within NI-VCOM.
- Select Enable from the Bus Monitor drop-down menu.
- Save the Bus Monitor configuration file.
- Deploy the Bus Monitor configuration file to your target.
- Run your NI-VCOM application with the Bus Monitor configuration file through VeriStand or LabVIEW.
Using the Bus Monitor to View Communication
Data
- Navigate to the Bus Monitor page within the NI-VCOM WebUI.
-
Specify the Server Address and Server
Port for the Bus Monitor.
- Server Address—the IP address of the machine running the NI-VCOM application (VeriStand, LabVIEW, etc.). The default server address is "localhost".
- Server Port—the Ethernet port that the NI-VCOM application uses to establish the connection with the Bus Monitor tool. The default server port is "50012". The server port should not be occupied by other applications, so if the default port number is used by other applications, you must specify an available port number in the configuration file and in the server port. If the port number you specify in the server port doesn't match the port number in the configuration file, the Bus Monitor won't connect to the NI-VCOM application.
- Optional:
Specify the Bus Monitor configuration file if you want to view decoded signal
values or plot signal values in a graph. Skip this step if you only need to view
raw frames.
- Click Settings.
- Click Change Configuration File.
-
Select a configuration file and click
Load.
The configuration file you choose appears in the Loaded Configuration File dialog. Each port and their respective network descriptors populate the Bus Monitor Settings table. If the tool cannot load a network descriptor, an error (
) appears in the table.
-
Select the protocol you want to monitor.
NI-VCOM supports simulating more than one protocol in the same application, and the Bus Monitor can monitor all the protocols simulated in a NI-VCOM application. However, you can only view one type at a time, so you need to select the protocol you want to monitor.
-
Click the following tabs to monitor results.
- Monitor—displays the most recent network frame data. Each row in the Monitor table shows the frames with the same port and direction.
- ID Logger—displays historical network frame data in order of appearance.
- Graph—displays a graph that monitors all signals. Click + to add a monitoring signal and - to remove a monitoring signal.
Note The Ethernet protocol does not have an ID Logger tab; its Monitor tab functions like the ID Logger tab functions for other protocols. - Optional: Click Filter to filter the Monitor, ID Logger, or Graph tables.
- Click Stop to stop the monitor.
In This Section
Related Information
- The Configuration Tool
Use the Configuration Tool to configure a variety of different function modules in NI-VCOM, such as restbus simulation (RBS) and disassembly.
- Starting the WebUI