PointSetMultiple (function)
Syntax |
PointSetMultiple point1[,point2[,point3…]] |
|
Description | Performs setpoints for up to 30 points in a single setpoint request. If a failure occurs the function returns false, otherwise true is returned. | |
Comments | If you need to set the value of multiple points, use this function rather than issuing multiple single setpoint requests for faster script execution. The point ErrCode property will be set to a non-zero value for a setpoint that failed. The point ErrMsg property will contain the associated error message. There are two variants of PointSetMultiple. The first variant takes all the points declared in the argument list. The second variant takes an array. |
|
Example 1 |
This example in Basic demonstrates both variants, argument list and array.
|
|
Example 2 | This example in C# demonstrates only the array variant.
|