SetSource Method Example

The following example sets the data source for the Linear object Linear1 to AI1, specifying to use the data source if it doesn't exist in the database, setting the UpdateRate to 1 and the Deadband to 5.

Linear1.SetSource "ai1.f_cv", True, 1, 5