02-28-2012 09:06 AM
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.
02-28-2012
10:56 AM
- last edited on
03-25-2025
09:09 AM
by
Content Cleaner
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.
02-28-2012 01:42 PM
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.