Solution
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:
- Open the XML file that contains your EtherCAT Device Profile in Notepad.
- Select Ctrl+F on your keyboard to open the Notepad Find window.
- Type
<\Name>
in the Find what: field followed by selecting Find Next. - Continue selecting Find Next whilst monitoring the element text between each
<Name>
start-tag and <\Name>
end-tag. - 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>
. - When the end of the XML file is reached save the changes to the file by selecting File»Save in Notepad.
- Import the updated XML file into your LabVIEW Project by following the steps in the Adding Third-Party EtherCAT® Slaves in LabVIEW KnowledgeBase article.
- You will now be able to access the Input and Output Parameters in LabVIEW.