Third Party EtherCAT Slave Channel List Incomplete in Veristand

Updated Dec 28, 2023

Reported In

Software

  • VeriStand Custom Devices

Issue Details

We are using an HBM power analyzer and its ESI file contains more than 400 objects. However, we can only see about 150 of them. As a result the slave does not work properly and cannot be transitioned to Active mode.

Solution

The issue is in the Host - Get Third Party ECAT IOVs.vi.
image.png
image.png
After 143 objects, the Variable Object node replaces the IP address of the host with "localhost" in the reference. This causes the node to throw an error
image.png
To be able to workaround this, you will first need to install the source code here and go to the Host - Get Third Party ECAT IOVs.vi from the Scan Engine.lvproj located here ...\niveristand-scan-engine-ethercat-custom-device-main\niveristand-scan-engine-ethercat-custom-device-main\Custom Device Source. The solution is to manually replace "localhost" with the actual IP Address, as shown below
image.png
After that, rebuild the Get HW Config.exe
image.png
Replace the old executable located here C:\Users\Public\Documents\National Instruments\NI VeriStand 2023\Custom Devices\Scan Engine\Application with your new build. Now you should be able to find all the channels of your slave device.