LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to read CAN interface through nisyscfg.lvlib

I need to read the CAN interface assigned to my NI-USB 8473 CAN-to-USB controller within NI's System Configuration (MAX). 

 

The purpose is to programmatically identify the NI-USB hardware device attached to the PC, read the CAN interface assigned to it, and use that in LabVIEW instead of manually checking NI MAX after the controller is disconnected and reconnected or using it on a different PC etc.

 

Using LabVIEW's VI's found through 

 

Measurement I/O - System Configuration                    I

Initialize, Get Experts, Find Hardware                         and get:

Expert = nisyscfg

VendorName=National Instruments

ProdName=USB-8473 (High-Speed CAN)

IsNI=true

IsPresent=1

 

Is there a property for the CAN Interface?  If so, where is it found?

 

Is there a different way to accomplish the same thing?

 

Thanks, Scott.Pierskalla

 

 

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

Hi Scott,

 

This may not answer your question directly, but I was able to locate a KnowledgeBase (KB) article that discusses detecting a different NI USB device.

 

How to Programmatically Detect USB-8451 I2C/SPI Interface 

 

I was also able to find a KB on determining the resource name.  

 

How Can I Programatically Retrieve a VISA Resource Name in LabVIEW?

 

I hope this is helpful for you.  Let us know if you have more questions/information.

Dave C.

Applications Engineer
National Instruments
0 Kudos
Message 2 of 3
(2,191 Views)