LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Programmatically remove ethercat slaves from scan engine

I am using an RT Target as the master of EtherCAT chain.  It has several different sorts of third party slaves in the chain.  All are correctly detected.  However some are buggy (they're in development) and prevent the Scan Engine from switching to Active mode.  If I remove the buggy slaves from under EtherCAT Master (but leave them plugged into the chain) in the project then the Scan Engine will switch to Active and the remaining targets are interogated correctly.

 

However I want my RT app to be stand alone and adapt to different chains of slaves. I invoke the Refresh Modules method to find all the available slaves then it finds the buggy ones.  These then prevent the Scan Engine from switching to Active mode.  I have not been able to find a way to programmatically remove these buggy slaves as I can from the project - does it exist???

 

Many thanks!

0 Kudos
Message 1 of 2
(2,762 Views)

I am not sure if you will be able to do this but I would suggest posting this question to the Industrial Communications board.

 

http://forums.ni.com/t5/Industrial-Communications/bd-p/260

 

If this is something that you are able to do, the people that frequent that board are much more likely to know about it.

Matt J | National Instruments | CLA
0 Kudos
Message 2 of 2
(2,740 Views)