lock

lock — locks and unlocks points.

Syntax

(lock name secur 0|1)
    

Arguments

name
The point name.
secur
The security level of the point.
0|1
Use 1 to lock the point, or 0 to unlock the point.

Returns

A message indicating success or error. Please refer to Return Syntax for details.

Description

This command locks and unlocks points. When a point is locked, it cannot be changed until it is unlocked.