LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

CAN 8473 Not working with Test Panel in Max

Hello all.  I am working with a USB-8473s CAN unit.  I have it connected to the bus and can see the can traffic through the bus monitor. So everything is working properly there.  I am trying to send a certain message so I set up a message and channel in MAX but when I go to the test panel I get an error saying that the "Test Panel cannot run since no CAN ports are available. Make sure you have at least one NI CAN card inserted into your computer".  What is going on? I thought that the USB can unit was the CAN card?  I'm on Win XP.

0 Kudos
Message 1 of 3
(3,141 Views)

You're not going to like the answer.  The 8473 only supports the frame API and not the channel API.  No messages in MAX.

 

https://www.ni.com/en-us/support/model.usb-8473.html  >> specification tab >> API Support

 

I ran into this same problem.

 

You'll either have to use the frame API or purchase a different unit that supports the Channel API.

Robert Mortensen
CLA, CLED, LabVIEW Champion, Principal Systems Engineer, Testeract
0 Kudos
Message 2 of 3
(3,135 Views)

Sounds like this isn't quite a LabVIEW question to this point, but... when you do write code for communication over CAN in LabVIEW, you can do translation between the Frame and Channel APIs by using the two "virtual" interfaces CAN256 and CAN257 (note that these are only available with NI-CAN and not with XNET, but the 8473 is only supported by NI-CAN).  Open the help for NI-CAN and look for the topic "Frame to Channel Conversion" for details.

0 Kudos
Message 3 of 3
(3,128 Views)