Solution
Open your NI Package Manager and select the
Installed tab, try to check if you have installed NI-Industrial Communications for EtherCAT LabVIEW 20XX FPGA Module Support, here is the picture for your reference:
If you do not have it, try to
Repair the NI-Industrial Communications for EtherCAT and make sure you have selected for the support.