Industrial Communications

cancel
Showing results for 
Search instead for 
Did you mean: 

NI XNET Example not working when compiled in 64-bit (out of boundary)

NI XNET Example not working when compiled in 64-bit (out of boundary) -

 

For example "CAN Frame Single Point In with DB" when compiled in 64-bit it doesn't work. Fail is on attached picture.

Out of Bound - Screenshot (nxGetPropertySize((nxSessionRef_t)(l_InterfaceBuffer[i]), nxPropIntf_Name,  &l_PropertySize);)

 

NI-XNET version 15.

 

I checked size of  "nxSessionRef_t" type isame on 32-bit and 64-bit so l_InterfaceBuffer[i] should work ok..

In 64-bit I can obtain only the very first CAN interface.. Any advice ?

 

Thank you,

Radek Pozdnicek

Honeywell Aerospace Brno

0 Kudos
Message 1 of 2
(4,015 Views)

Radek,

 

Thank you for posting but I believe Automotive and Embedded Networks forum might be better place for your post. You will find lot more users and developers of XNET there. This forum mostly consists of users using higher application layer protocols.

 

 

 

 

0 Kudos
Message 2 of 2
(3,988 Views)