Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Follow the steps mentioned in this page to install Grafana® in your Laptop/PC
You can download the Grafana® Windows installer package from the following link.
Select a Grafana version you want to install.
The most recent Grafana® version is selected by default.
Select OSS version
Click Windows.
Click Download the installer under Windows installer.
Open and run the installer.
Follow the steps mentioned in this page to configure Dashboard Writer tool.
Dashboard Writer uses the InfluxDB Cli application to write data into InfluxDB. In this step, we will configure this tool with the information gathered from the InfluxDB UI.
This is a one-time process.
The process must be repeated if you change the bucket name or other settings.
Open the Dashboard Writer tool.
Click on the Configure InfluxDB Writer Tab.
Enter Configuration Name.
Enter the following information obtained from the InfluxDB UI.
URL.
Secret Token.
Ensure you have entered the details correctly; incorrect credentials prevent the tool from writing data successfully.
If any error was made during the configuration, you can retry by entering a different Configuration name.
Follow the steps mentioned in this page to configure InfluxDB for the first use.
If you are an existing user, you can start from Gathering Information to Configure the Dashboard Writer tool.
Open the Influx Dashboard Writer application.
Click on Run InfluxDB.
Visit localhost:8086 in a browser to access InfluxDB UI.
Setup Initial User.
Enter a New Username, Password, Organization Name, and Bucket Name.
Bucket: Named location where time series data is stored. Data from RXD files will be stored inside this bucket. Users can create multiple buckets from the InfluxDB UI later.
The user must gather the following information from InfluxDB UI for configuring the Dashboard Writer tool.
URL
Token
Organization ID
For Local installation, the URL is http://localhost:8086
If you have an InfluxDB cloud or Hosted Database, use the url for accessing the same.
Visit localhost:8086 in a browser to log in and access the InfluxDB UI.
Navigate to Load Data > API Tokens using the left navigation bar.
Click + GENERATE API TOKEN and select All Access API Token.
Enter a description for the API token and click SAVE.
Copy the generated token and store it for configuring the Dashboard writer tool.
After logging in to the InfluxDB UI, your organization ID appears in the URL.
In the below example, 03a2bbf46249a000 is the Organization ID
Follow the steps mentioned in this page to install InfluxDB® in your Laptop/PC
You can download the InfluxDB® Windows Binaries from the following link.
Select the Latest version.
Select Windows Binaries.
Copy the PowerShell commands displayed on the page.
Run Windows PowerShell as administrator.
Paste and run the copied contents.
You have now successfully installed InfluDB on your Laptop/PC
Follow the steps mentioned in this page to install Influx Tools in your Laptop/PC
This tool is required to convert RXD data into InfluxDB-supported CSV format after linking the CAN DBC file.
Please Download and Install .net runtime 4.7.2 Link
This tool will select and push single or multiple RXD file data into InfluxDB for viewing in the Dashboard.
Follow the steps mentioned in this page to configure Data Source in Grafana.
To sign in to Grafana for the first time:
Open your web browser and go to http://localhost:3000/.
On the sign-in page, enter admin
in the section for username and password.
Click Sign in.
If successful, you will see a prompt to change the password.
Click OK on the prompt and change your password.
We strongly recommend that you change the default administrator password.
To access the data source configuration page:
Hover the cursor over the Configuration (gear) icon.
Select Data Sources.
Select the InfluxDB data source.
Set the data source’s basic configuration options carefully:
Set a name for your Data Source, like InfluxDB-Flux.
Select Query Language as Flux.
Enter the URL as http://localhost:8086
Configuring Flux Query Related Setting:
Configure these options under InfluxDB details after you select the Flux query language:
Click Save & Test.
A message should pop up on the UI saying, "datasource is working. 1 buckets found"., if not, please check the details you have entered.
Name | Description |
---|---|
Organization
Organization ID obtained previously from InfluxDB UI.
Token
Token obtained previously from InfluxDB UI.
Default bucket
Enter the Bucket Name which was provided when you logged in to InfluxDB for the first time.
Follow the steps mentioned in this page to write data into InfluxDB database.
In this section, you will learn how to import RXD file, attach CAN DBC file and write data into the InfluxDB database for creating a Dashboard.
Open Dashboard Writer Tool.
Click on the Single File Tab.
Click On Select RXD File Button and choose the RXD file from your PC.
Click On the Select CAN 0 DBC File Button to choose the DBC file for your CAN 0 Bus from your PC.
(Optional) If the RXD file contains data from multiple CAN buses, select the DBC file for CAN 1 by clicking Select CAN 1 DBC File.
Enter the name of the Bucket to which the data will be written.
Click the Write To Database Button to start the writing process.
The process will take time; depending on the size of the RXD file selected, the tool will show a completed popup when the process is completed.
Open Dashboard Writer Tool.
Click on the Multiple File Tab.
Click On Select Folder Button and choose the Folder from your PC with the RXD files.
Click On the Select CAN 0 DBC File Button to choose the DBC file for your CAN 0 Bus from your PC.
(Optional) If the RXD file contains data from multiple CAN buses, select the DBC file for CAN 1 by clicking Select CAN 1 DBC File.
Enter the name of the Bucket to which the data will be written.
Click the Write To Database Button to start the writing process.
The process will take time; depending on the size of the RXD files selected, the tool will show a completed popup when the process is completed.
Follow the steps mentioned in this page to write data into InfluxDB database.
This section will teach you how to create a New Dashboard in Grafana and Query data from the InfluxDB Database.
Open your web browser and go to http://localhost:3000/
Sign in with your credentials.
Click the New Dashboard item under the Dashboards icon in the side menu.
On the dashboard, click Add an empty panel.
Go to the Query tab in the New Dashboard/Edit panel view.
Select your Data Source in the Query options.
Use the following Flux Query to query the data from the InfluxDB Database (Bucket)
Select the Time Range for which the data has to be viewed.
You will be able to view the data in the Graphical View.
Repeat the process by adding new Panels and Editing the CAN Signal Name.
This guide will help ReXgen users create a workflow that will help them to push the Logged data into an InfluxDB® database and visualise it in Grafana® Dashboard.
InfluxDB® is a trademark registered/owned by InfluxData, which is not affiliated with and does not endorse this site.
Grafana® is a trademark registered/owned by Raintank, Inc. dba Grafana Labs, which is not affiliated with and does not endorse this site.
If you are an existing user of Grafana and InfluxDB, you can proceed to Influx Tools Installation.
Installation of Tools
Set-Up
Writing Data