07-17-2009 03:57 AM
Hi all, the nsetattr.vi always returns -1074388985.
Is it possible to log error frames with the USB hardware? If so, how?
07-17-2009 07:53 AM
07-22-2009 05:00 AM
Hello themad,
the error you recieve:
Error NI-CAN: (Hex 0xBFF62007) You attempted to set a configuration attribute while the object is running. Solutions: Configure attributes prior to opening the object; Stop and restart communication as needed so that you can update configuration attributes.
may be due to trying to set attributes bevore you start the communication.
In general it is possible to log error frames (Bus errors as well as Comm Warnings) with CAN series 2 devices.
The manual witch can be obtained here:
http://digital.ni.com/manuals.nsf/websearch/6C57190E7F6553A986257205006D273A
states this on page 444 FF.
I hope this helps!
Regards
Moritz