Lars915 Posted July 26, 2008 Report Posted July 26, 2008 I have many applications that must run various flavors of CAN, most notably CANOpen and DeviceNet. I am using a PXI-8464 dual CAN card. The problem I'm having is that during development, hiccups occur which crash the program before all of the CAN handles can be released. The only way I've found to clear them is to shutdown all of my NI software and restart which is a royal pain. I've also found that the NI DNET drivers do the same thing, leave handles unclosed, so I cannot run a standard CAN application after running DNET. Anyone know how to get these handles to release without restarting LabVIEW??? Quote
Lars915 Posted July 26, 2008 Author Report Posted July 26, 2008 Guess it helps if you make doubly sure the card is closed in one protocol before you start the next it works a lot better. :headbang: Quote
Götz Becker Posted August 9, 2008 Report Posted August 9, 2008 Hi, I recently had a similar problem when integrating a driver which used NI CAN. It always had problems reinitializing itself (it obviously wasn´t developed for my usecase). The ncReset.vi NI CAN KB Article helped a lot in my case (I didn´t want to debug the driver, making sure it closes all it references itself). Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.