Automotive and Embedded Networks

cancel
Showing results for 
Search instead for 
Did you mean: 

CAN error with Channel API

Hello All,
 
Right now i am facing a CAN error when run my script which was developed using channel APIs. I am not able to trace out the the reason of the error. Pls find attached code and Error description. I have uploaded the sample code here and I am writing several messages in the same VI as same like in the code. Pls guide me in this
 
Thanks in advance
Anoop
Download All
0 Kudos
Message 1 of 3
(4,489 Views)
Hi Anoop,

Is the code you posted the exact code you are using when you get the error?  The reason I ask is, usually this error is associated with using the Set Property VI after the interface has already been started, such as in a loop.

Are you able to use any examples from the Example Finder successfully? (Help > Find Examples)  You can Browse to CAN examples by clicking Hardware Input and Output > CAN > Channel API.

Hope this helps!

Adam W
Applications Engineering
National Instruments

0 Kudos
Message 2 of 3
(4,467 Views)
hi Anoop,
 
Since I am not having version 8.0,i am not able to view the code.Since i have faced the same issue and solved it ,i suggest you...
 
Restart the Pxi-chasis...
each and every time when u r stopping the program..you should clear  the can resources using Task clear...i.e if not ur hardware will still running behind and when u try running vi again at this time it will show the error you mentioned..
0 Kudos
Message 3 of 3
(4,385 Views)