Why Can't I Access All the Input and Output Variables of My Third-Party EtherCAT® Slave in LabVIEW?

Updated Jun 28, 2019

Reported In


  • NI-Industrial Communications for EtherCAT

Issue Details

I have followed the steps in the Adding Third-Party EtherCAT® Slaves in LabVIEW article and added the EtherCAT slave to my LabVIEW project. Why can't I see all the I/O variables for this slave in my LabVIEW project?


This issue can be caused by unnecessary space characters being present before and after the Input/Output element names within the third-party XML file. This is the case even when you follow the proper procedure for adding a third-party slave to your project. 

Follow the steps below to remove the unnecessary space characters from the XML Device Profile:
  1. Open the XML file that contains your EtherCAT Device Profile in Notepad.
  2. Select Ctrl+F on your keyboard to open the Notepad Find window.
  3. Type <\Name> in the Find what: field followed by selecting Find Next.
  4. Continue selecting Find Next whilst monitoring the element text between each <Name> start-tag and <\Name> end-tag.
  5. Remove any space characters at the beginning or the end of the element text, for example replace <Name> Digital Inputs </Name> with <Name>Digital Inputs</Name>.
  6. When the end of the XML file is reached save the changes to the file by selecting File»Save in Notepad.
  7. Import the updated XML file into your LabVIEW Project by following the steps in the Adding Third-Party EtherCAT® Slaves in LabVIEW KnowledgeBase article.
  8. You will now be able to access the Input and Output Parameters in LabVIEW.