Enabling SYNC0 in EtherCAT Slave Programmatically Using LabVIEW

Updated Apr 14, 2025

Reported In

Software

  • LabVIEW

Driver

  • NI-Industrial Communications for EtherCAT

Issue Details

I am currently using third-party EtherCAT slave in LabVIEW. I am trying to synchronize LabVIEW Scan Engine with EtherCAT Synchronization Signal (SYNC0) programmatically. However, I can only enable this function using EtherCAT Slave Device Properties dialog. How can I achieve this programmatically in LabVIEW?

Solution

The Synchronization Signal (SYNC0) can only be accessed when the Distributed Clock is enabled. This property can be accessed using property node after adding EtherCAT Slave reference to a VI. 

 

Additional Information

The default value for DC.Sync0.Enable is True for NI-9145 and False for third-party slave device.