Academic Company Events Community Support Solutions Products & Services Contact NI MyNI
1 ratings:
 2 out of 5   

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



Primary Software: LabVIEW Modules>>LabVIEW Real-Time Module
Primary Software Version: 8.6
Primary Software Fixed Version: N/A
Secondary Software: Driver Software>>NI-Industrial Communications for EtherCAT

Problem:
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?

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:
  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.


Related Links:
KnowledgeBase 4LLBJU5Z: Adding Third-Party EtherCAT® Slaves in LabVIEW
White Paper: Setting Up EtherCAT on NI Programmable Automation Controllers

Attachments:





Report Date: 10/18/2012
Last Updated: 05/09/2016
Document ID: 62H4LQ6W

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit