04-26-2017 02:39 PM
Hello,
I'm trying to determine if a given XNET device channel supports CAN FD or not. There is no interface property though to determine this.
I see _IntfCanIoMode properties for the cluster and session, but nothing I can call for the actual device without first establishing a connection.
Am I missing something? Is there a way to get this information about a device?
Thank you.
04-26-2017 02:52 PM
@JaremyP wrote:
Am I missing something? Is there a way to get this information about a device?
There is not a direct way to do this. Just like there is not a direct way to know what baud rate a device supports, or if a device is even CAN, other than to attempt to talk to it, and see what it responds with. If you open a CAN FD session and listen to traffic and get nothing, then I'm guessing the device doesn't support the baud rate, or protocol selected. Of course there are other causes like not having the cable connected, or device on.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
04-26-2017 03:41 PM
The system API allows you to poll a device for the Protocol property which returns CAN, LIN, or FlexRay.
If the protocol is CAN, there is also an interface property for the transceiver type, High Speed (HS), Low Speed (LS), and Single Wire (SW).
All XNET hardware with a HS transceiver will support CAN FD. Older hardware will have an older transceiver that isn't CiA certified for speeds above 1 MBaud but speeds up to 8 Mb can be used experimentally. Newer hardware revisions use transceivers certified up to 2 MBaud. XNET will provide a warning when a transceiver is used at higher baud rates than it is certified for as of 16.0 or so.
As newly CiA certified transceivers with higher baud rates continue to be released, we will continue to update the hardware.
04-26-2017 03:57 PM
Oh I'm so sorry, I mis-read the post and thought you were talking about determining what protocols your DUT device supports.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord