This content is not available in your preferred language.

The content is shown in another available language. Your browser may include features that can help translate the text.

Error 13849 at XNET IP Stack Wait VI

Updated Mar 20, 2024

Reported In

Software

  • LabVIEW

Driver

  • NI-XNET

Issue Details

I am using XNET 2023 Q3 driver and in my code, I am using XNET IP Stack Wait VI and XNET UDP Socket Close VI outside the while loop in order need to electrically disconnect one camera and connect the next camera.

When I powered off the camera before the 2nd iteration loop (set a breakpoint at the beginning of the loop), I checked the IP Stack Info in MAX and found that the created IP stack still existed. But when I powered on the camera, the created IP Stack information disappeared in MAX and the error below was triggered at XNET IP Stack Wait VI. Is this an expected behavior?
 
2024-03-20_11h18_12.png

Solution

This is a known bug how the XNET IP Stack Wait VI handle link down (camera powered off) events when IPv4 addressing is disabled. The XNET IP Stack Wait VI returns early and not removing the static IPv6 address, and when to link up (camera powered on), it tries to re-register the static IPv6 address.

As a workaround, you can enable any static IPv4 address, and it should no longer cause the IP stack to exit early.

Additional Information

This bug fix will be release with the XNET 2024 Q2 driver release.