Enumerate VBAI Engines VI Show No Instances

Updated Jul 25, 2023

Reported In

Software

  • Vision Builder for Automated Inspection

Issue Details

I use the Vision Builder API for LabVIEW. I cannot see any LabVIEW VBAI instances with Enumerate VBAI Engines VI. The output of 1D array of clusters is empty (grayed). No errors are returned.

The instances are started by the LabVIEW example: LabVIEW API Example (Local).vi
from:  C:\Users\Public\Documents\National Instruments\Vision Builder AI 20xx\Examples\API Examples\LabVIEW Examples
 

Solution

You can only see VBAI engines instances launched by the LabVIEW VBAI API. Not the instances opened manually of the VBAI interface.

VBAI API uses mDNS to discover VBAI engines available. You could verify that:
  • Your Firewall is correctly configured or temporarily disabled.
    1. For this you could use Configuring Software and Hardware Firewalls to Support NI Products 
  • NI mDNS Responder Service is running
    1. Open Windows Services. Just type “service” inside your Windows 10 search bar
    2. Locate “NI mDNS Responder Service” and verify the running status 
  • UDP 5353 port is open
    1. Go to Control Panel --> Systems and Security --> Windows Defender Firewall
    2. Select Allow an App through Windows Firewall --> check if NI mDNS Responder is allowed for { Domain, Public, Private }
    3. Then come back and select Advanced Settings --> Inbound Rules
    4. Check if there is a NI mDNS responder rule and open the Protocol and port Tab to validate UDP 5353
  • You can create a new rule for the UDP 5353 port
    1. From Inbound Rules --> Create a New Rule
    2. Port (click next) --> UDP
    3. Specify port 5353 (click next)
    4. Allow Connection (click next)
    5. Rule Applies should have { Domain, Public, Private } all checked (click next)
    6. Name this rule "NI mDNS open port"
    7. Click Finish