Disabling NI-IMAQdx Periodically Sending a "Discovery Ping" to 255.255.255.255

Updated Aug 6, 2021

Environment

Software

  • LabVIEW
  • Vision Development Module

The NI-IMAQdx driver regularly sends a request via broadcast to address 255.255.255.255 for the automatic detection of new cameras within the framework of the GigE Vision Control Protocol (GVCP).
This broadcast is sent to all network adapters periodically every second without running any code, as long as you have the NI-IMAQdx driver (VAS configuration support) installed since that is how NI-IMAQdx is designed to work.
The only time the packets don't get sent out all the time is when you only have the NI-IMAQdx Runtime installed (without configuration support), in which case the discovery packet should only be sent when you run IMAQdx Enumerate Cameras.vi.

To disable the functionality of the NI-IMAQdx periodically sending a "Discovery Ping" to 255.255.255.255, you must create a 32-bit DWORD called Discovery Timeout in the parameters of NI-IMAQdx, and give it a value of 0, by following the mentioned steps:

  1. Open the Registry Editor on the PC.
  2. Go to Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\niimaqdxk\Parameters
KB1.png
  1. Add a new REG_DWORD called DiscoveryTimeout and give it a value of 0.
KB2.png


KB3.png       
  1. Restart the PC.

Doing this should prevent NI-IMAQdx from sending out any automatic GigE discovery commands, also you will not see the cameras in MAX anymore. But you can still use the NI-IMAQdx Enumerate Cameras VI to detect connected cameras.