Achim
2007-12-13 17:40:11 UTC
Hi there, I built a VI to communicate over a PXI-8461 with a servo controller from SEW-Eurodrive. I use the LV CANopen Library, please see the attached VI! When starting my application, I use the init case, during runtime I change the settings of the servo controller with the "write" case and finally in the "stop" case I close and kill all objects I previously createdThere is no communication from the controller to the PC, I only send a PDO to the controller. Although there is no "read"-function in the VI (necessary), after some time I get the mentioned error, please see the other attachment! After confirming the error dialog with "continue" or "stop", I'm no longer able to communicate with the servo controller. How can I prevent my application from hanging? And is it possible to reset the CAN-Card from within my LV 8.5 application? Currently I have to reboot the whole PC to do that, otherwise no new communication is possible...To say it with the Scorpions: "Is there anybody there who feel's that vibration?"Does anybody have an idea?Thanks in advance for any helpRegardsAchim
error.PNG:
Loading Image...
SEW_EncoderDriveControl.vi:
http://forums.ni.com/attachments/ni/30/3020/2/SEW_EncoderDriveControl.vi
error.PNG:
Loading Image...
SEW_EncoderDriveControl.vi:
http://forums.ni.com/attachments/ni/30/3020/2/SEW_EncoderDriveControl.vi