Automotive and Embedded Networks

cancel
Showing results for 
Search instead for 
Did you mean: 

log error frames possible with USB-8473?

Hi all, the nsetattr.vi always returns -1074388985.

 

Is it possible to log error frames with the USB hardware? If so, how?

0 Kudos
Message 1 of 3
(6,528 Views)
I think the USB-8473 only supports logging of Bus Errors and not Comm Errors (two different attributes that are similar - the Bus Errors is newer and provides more information)
0 Kudos
Message 2 of 3
(6,526 Views)

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 

 

0 Kudos
Message 3 of 3
(6,497 Views)