03-25-2021 08:04 AM
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
03-25-2021 10:19 AM - edited 03-25-2021 10:27 AM
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?