Automotive and Embedded Networks

cancel
Showing results for 
Search instead for 
Did you mean: 

CAN message query and CAN database creation

I have a device under test (DUT) that uses CAN and I'm trying to communicate with it using a USB-8473 and MAX.  I have almost no information about the DUT's CAN interface spec.  So far I've been only able to figure out the baud rate for the CAN channel, because I'm able to receive the one message it's outputting.  I know there should be more messages that should be output from it - and here's my question: Is there a way to query the DUT to have it output all the messages in it's software?

 

I've read about using remote frames to prompt the DUT to send back a message.  And that in order for a remote frame to work, you need to know the Arb. ID and data length of the message that is being called by the remote frame.  However, from what I've read that is not a possiblity right now since the 8473 doesn't do remote frames and that I don't have a CAN database to work from either.

 

Other than getting the CAN interface spec on the DUT and sending a remote frame, is there any other way to somehow to get the the device to output messages that are currently not being sent?

0 Kudos
Message 1 of 4
(6,870 Views)

Dear ebohte,

 

You need to use frame API instead of channel API for remote frames.

 

Is there no way for you to get more info about the DUT that you're working with?

 

Regards,

Sammy Z.

0 Kudos
Message 2 of 4
(6,850 Views)

Thanks for the response.  Yes, I did read that article and tried the "Read Object (remote).vi".  However, I got an error 0xBFF6210D.  And then I found this thread: https://forums.ni.com/t5/Automotive-and-Embedded-Networks/Error-0xBFF6210D-when-configuring-STD0/m-p...

 

Plus, when I looked more closely at the specs for the USB-847x series, it does state that it doesn't support remote frames.

https://www.ni.com/en-us/support/model.usb-8473.html

 

So I would need to get a non-USB Can device from NI that supports the usage of remote frames.

 

Really, my main problem is that I don't have the necessary info on the DUT to be able to effectively work with it (which I know can't be solved on these forums).  I was just wondering if remote frames are my only option to request data from it?

0 Kudos
Message 3 of 4
(6,844 Views)

Hi ebohte,

 

If you look at the NI-CAN manual on page 9-25 it mentions that Series 2 CAN modules support Remote Frames.  USB-8473 has the same controller as series 2 (Philips SJA1000 CAN controller), so it should be able to support Remote Frames.

The important thing is that your DUT might not support Remote Frames.

You mentioned that you were able to read the baud rate.  How were you able to make the reading?  Was it in MAX?  Would you be able to attach a screen shot of it?

 

Do you know if your DUT spits out data constantly or if it waits to be querried to do so?

 

Thanks,

Sammy Z.

 

0 Kudos
Message 4 of 4
(6,830 Views)