LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW and CANBUS acquisition using USBCAN devices

With a working CANBUS project (non-NI/Labview) communications work as expected.

I need to get a generic USB- CAN interface (non-NI device) to read the CAN BUS? (to create a 2nd display of data, no control)

I've got Labview 17,18, etc. and installed NI-XNET and older NI-CAN,

along with 2 different USB interfaces

CANdapter ( Ewert Energy Systems ) 

and

USB-CAN ANALYZER (https://github.com/SeeedDocument/USB_CAN_Analyzer/tree/master/res)

 

The utility mfg. supplies for each USB-CAN listed above works fine.

However when trying to access via LV, it does not access either as CAN device or VISA device.

Suggestions or examples are welcome, as I continue to seek solutions.

Thanks All!

  

 

0 Kudos
Message 1 of 3
(2,889 Views)

NI-XNET and NI-CAN are drivers which support NI's CAN hardware. They will be irrelevant to any other CAN adapter.

 

If the vendor of those adapters does not provide a LabVIEW driver, then you will need to build your own. According to the documentation, it appears that the device presents itself as a COM port? Does NI MAX pick it up as a VISA resource? Unfortunately, opening a connection to COMx is about as much as will happen automatically. You'll have to implement all of the communication yourself.

 

https://github.com/SeeedDocument/USB-CAN-Analyzer/blob/master/res/Document/USB-CAN%20simple%20use%20...

 

https://github.com/SeeedDocument/USB-CAN-Analyzer/blob/master/res/Document/USB%20(Serial%20port)%20t...

0 Kudos
Message 2 of 3
(2,881 Views)

JimB-

thanks for reply, that seemed to be the issue I encountered.

However I was able to locate in house an NI-USB 8502 and all is working as expected now.

 

thanks!

0 Kudos
Message 3 of 3
(2,828 Views)