LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

XNET third party dbc file.

Hi,

I am using Crio-9054 and NI-CAN-9862 to have CAN communication.

Is it possible to use a third-party DBC file on my local computer such that it auto-initializes programmatically (i.e. with a constant)?

 

I am aware that we can use can cluster control to browse the DBC file on local system.

However the CAN interface is present only on the RT Target so the session has to be created on the RT target however the CAN cluster control file explorer uses only local host files.

I am assuming I have to send the DBC file to my RT Target. But I am unable to figure out how I can initialize it with constants.

0 Kudos
Message 1 of 3
(985 Views)

Hi linu,

 


@linu95k wrote:

I am assuming I have to send the DBC file to my RT Target.


Yes, that's the way.

Transfer the DBC file to your RT target.

 


@linu95k wrote:

But I am unable to figure out how I can initialize it with constants.


What do you want to initialize? Why do you need to use "constants" to initialize something?

When using a file you cannot use "constants" anyway…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 3
(974 Views)

@GerdW wrote:

Hi linu,

 


@linu95k wrote:

I am assuming I have to send the DBC file to my RT Target.


Yes, that's the way.

Transfer the DBC file to your RT target.

 



This unfortunately won't work.  NI has limited many of the XNet functions around database stuff to no work on Real-time.  I made an idea exchange item for it here.

 

The only solution I have found is to have the DBC imported on a Windows PC, then have that deploy to the RT target.  This can happen programmatically but is a bit of a pain.  If your RT target runs headless then there isn't really anything you can do, other than deploy the database from a Windows PC for each DBC you have.  The RT application can then select already deployed databases.

0 Kudos
Message 3 of 3
(935 Views)