MechanicalUnitDataChanged Event |
Namespace: ABB.Robotics.Controllers.MotionDomain
public event MechanicalUnitDataEventHandler DataChanged
Controller c = new Controller(); MotionSystem motion = c.MotionSystem; MechanicalUnit mech = motion.GetActiveMechanicalUnit(); mech.DataChanged +=new MechanicalUnitDataEventHandler(mech_DataChanged); private void mech_DataChanged(MechanicalUnit sender, MechanicalUnitDataEventArgs e) { // Update data stored in local variables, e.g. tool etc }