(cwrite name type value conf sec locked seconds nanoseconds [flags quality])
The type of point. One of
A quality indicator consistent with the OPC DA specification. This is not a bit field. It can be one of:
| PT_QUALITY_BAD | 0 |
| PT_QUALITY_UNCERTAIN | 0x40 |
| PT_QUALITY_GOOD | 0xc0 |
| PT_QUALITY_CONFIG_ERROR | 0x04 |
| PT_QUALITY_NOT_CONNECTED | 0x08 |
| PT_QUALITY_DEVICE_FAILURE | 0x0c |
| PT_QUALITY_SENSOR_FAILURE | 0x10 |
| PT_QUALITY_LAST_KNOWN | 0x14 |
| PT_QUALITY_COMM_FAILURE | 0x18 |
| PT_QUALITY_OUT_OF_SERVICE | 0x1c |
| PT_QUALITY_WAITING_FOR_INITIAL_DATA | 0x20 |
| PT_QUALITY_LAST_USABLE | 0x44 |
| PT_QUALITY_SENSOR_CAL | 0x50 |
| PT_QUALITY_EGU_EXCEEDED | 0x54 |
| PT_QUALITY_SUB_NORMAL | 0x58 |
| PT_QUALITY_LOCAL_OVERRIDE | 0xd8 |
All strings can be surrounded by double-quotes if the string contains spaces or special characters. The backslash character (\) escapes double quotes and backslashes within the string. Newline, carriage return, form feed and tab are represented with \n, \r, \f, \t respectively. Strings must not contain newline characters.
This command lets you manually write information to a point. If the point does not exist, the point is automatically created and the value is written. This command is identical to the write command, except that write will produce an error if the point does not exist.
Copyright © 1995-2012 by Cogent Real-Time Systems, Inc. All rights reserved.