Connecting Animation Objects to Data Sources

To connect an animation object and a data source, use the SetSource method to set the Animation object's source property:

AnimationObj.SetSource "FIX32.NODE.TAG.FIELD", False, _

ExpressionEditor1.RefreshRate, ExpressionEditor1.DeadBand, _

ExpressionEditor1.Tolerance

The SetSource method allows you to set the data source's refresh rate, deadband, and tolerance. The second parameter lets you set an undefined object as the data source. (True indicates a UseAnyway condition.)