writept [-frils] [-d domain] [-S security] [pointname] [pointvalue]
The name of the Cascade DataHub point to write to.
The value to assign to this point.
Domain name for the DataHub to write the point to.
Write the point as a floating point number.
Write the point as a short integer.
Write the point as a long integer.
Same as -f.
Write the point as a character string.
Set the security level for writing.
The writept utility will write or create a value in any accessible Cascade DataHub. Alternate domains can be written to without having to use the -d option by passing point names with the domain:pointname syntax.
Strings containing spaces and special characters must be escaped from the shell appropriately. The point type will be guessed if not specified. The order of guessing is: long, float, string (the default). The guess is considered correct if the entire argument is converted. Long can be specified in standard C style, for example 0x5f for hex, O647 for octal, etc.
The source code for this utility is normally installed in the /usr/cogent/src/datahub directory, and can also be viewed at the Writing data to the Cascade DataHub appendix of the Cogent C API manual. |
Copyright © 1995-2010 by Cogent Real-Time Systems, Inc. All rights reserved.