Automotive and Embedded Networks

cancel
Showing results for 
Search instead for 
Did you mean: 

Getting channel units and length from .dbc file

Can any one help me out. I was wondering how to get Channel units and channel size from the CAN db file similarly like getting channel names from Get Channel Names by Id vi.

 

Thank you,

 

Shanth.

0 Kudos
Message 1 of 10
(9,304 Views)

Hi Shanth,

You can do this with CAN Get Property.vi.

Place that vi on your block diagram, click on the pull down menu, and pick the properties that you would like.

 

Regards,

Sammy Z.

0 Kudos
Message 2 of 10
(9,289 Views)

Hello Sammy,

 

                     Where can we find this CAN get property.vi. And can we use this vi for USB 8473 along with frame to channel conversion library.

 

Thank you,

 

Shanth.

0 Kudos
Message 3 of 10
(9,286 Views)

Hi Shanth,

Yes. You can use NI 8473 with the conversion library.

You can find the CAN Get Property.vi by right-clicking on the block diagram of your VI to access the functions palette.  From there choose: Measurement I/O»CAN»Channel API»Advanced»CAN Get Property.vi.  Please note that this is a feature of the Channel API.

 

Regards,

Sammy Z.

0 Kudos
Message 4 of 10
(9,265 Views)

Hi All,

 

Is it possible to read the .dbc file by using frame api ? If yes then how ?

0 Kudos
Message 5 of 10
(9,014 Views)

Hi

 

You should be able to read attributes using the "ncGetAttr.vi", Measurement I/O >> CAN >> Frame API >> Advanced. If you look at the detailed help for this VI you will see a list of the attributes it can return.

 

Let us know if you encounter any issues.

 

Thanks

Scott M.

Applications Engineer
National Instruments
0 Kudos
Message 6 of 10
(8,997 Views)

hi

 

can you pls share some VI i want to read dbc for frame API similar to this VI

0 Kudos
Message 7 of 10
(8,379 Views)

can you pls guide me to use this vi for my application

 

i want to read the dbc    using NI CAN 8473

 

i am getting error

0 Kudos
Message 8 of 10
(8,343 Views)
can you pls share some VI for using dbc with frame api
0 Kudos
Message 9 of 10
(8,326 Views)

Hello TCL,

You would probably have better luck getting help if you create a new thread with your questions.  This thread is quite old, and is related to a different topic than your question.  

With regards to using .dbc files, this is not supported with the Frame API.  You can either access them using the Channel API or from Measurement and Automation Explorer.  

 

Cheers,

 

-Christina

0 Kudos
Message 10 of 10
(8,318 Views)