Automotive and Embedded Networks

cancel
Showing results for 
Search instead for 
Did you mean: 

CAN error while using Channel API

Hi
 
Please find attached error message and code. I am sending message "BS_200" to the CAN channel 0. I get reference of the message from the dbc file called A.dbc. Please let me know  why does it show such an error message.
 
Thanks and Regards
Anoop
Download All
0 Kudos
Message 1 of 3
(4,281 Views)
Hello,

The maximum number of tasks you can have is 128, and the maximum number of messages is 272-number of tasks.  It's weird that you are getting that error though, since you are only using one message in your VI.  If you create a message in Measurement and Automation Explorer (MAX) and try to use that in your program, do you still get the error? If you import the dbc file into MAX (Right-click on CAN Channels, and select "Import Import from CANdb file") and use the message from MAX in your program instead of from the the file, do you still get the errror? Do you get the error if you try to use a different message, or does it only occur with the "BS_200" message?

Please let me know what the results are, and I'll see if I can figure out what's going on here. Also, if it's possible for you to send me the dbc file you have (if it's not top secret),  I could try to reproduce the error. Hope this helps! Thanks!

Regards,
Ebele O.
National Instruments
0 Kudos
Message 2 of 3
(4,262 Views)
The Problem is that you configure the same task over and over again and there is no clear at all. See the attached VI for how to use the API and have alook to the manual to avoid future problems .

DirkW
0 Kudos
Message 3 of 3
(4,260 Views)