Automotive and Embedded Networks

cancel
Showing results for 
Search instead for 
Did you mean: 

XNET error 1074384719

Hello,

 

I have a quite simple application, where I just want to send event frames over CAN. It works for some cycles, then I get the following error.

 

Error -1074384719 occurred at an unidentified location

Possible reason(s):

NI-XNET: (Hex 0xBFF630B1) Allocation of memory failed in the firmware. Solutions: 1) Create less firmware objects 2) Set smaller value for output session's queue size property (default is large to avoid loss of data).

 

I work with XNET for around 10 years, but I haven't seen this error code before, and I can't find any hints on the internet. The error occurs in the "SendFrame" case. 

 

My XNET version is 20.5

0 Kudos
Message 1 of 2
(1,293 Views)

Hi,

the code looks fine to me, are you sure your command queue is filled correctly externally (only one Init, and one Shutdown at the end)?

E.g. if you had multiple Inits without Shutdowns, you'd leak sessions... Does anything change if you put an XNET Clear in the init case on the incoming session?

0 Kudos
Message 2 of 2
(1,262 Views)