Example Code

Read data from .dbc database and put it in a tree indicator

Code and Documents

Attachment

Overview

The VI shows how to read the .dbc database data into a tree indicator.

This is done usinf the XNET API from NI

Description

This VI is just a demonstation of using the XNET API to fetch data from a .dbc file.

An analysis is performed and the data is written into a tree indicator.

The VI shows the the performance difference between the usage of 'defer panel updates' and not too.

Further more the LabVIEW cursor API is used to show the cursor busy function while tree operations.

Steps to Implement or Execute Code

  1. Select the .dbc database file using the I/O variable
  2. Press the run button

Requirements

Software

LabVIEW 2014

XNET API

Hardware

none

Additional Images or Video



Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.

Comments
Aaron_hangzhen
Member
Member
on

Hello Kunze,

I read your works"Read data from .dbc database and put it in a tree indicator".

It can read data from dbc,and show dbc's numbers in tree indicator.

But I have some iusse about your works.

Why tree indicator is string type?

Could I link a out Control after tree?

I failure  I link a string and a string array.but failure.

Thanks.

 

Contributors