PointSetMultipleEx (function)
Syntax |
PointSetMultipleEx point1[,point2[,point3…]] |
|
Description | Performs setpoints for up to 30 points in a single setpoint request, using the provided setpoint password. 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.
|
|
Error Message |
Point.ErrCode Integer value containing the error code for a failed call to PointSetMulitple or PointSetMultipleEx, or zero for a successful operation. Point.ErrMsg String value containing the error message for a failed call to PointSetMulitple or PointSetMultipleEx, or empty string for a successful operation |
|
See Also | PointSetMultiple (function) |