writept [-frils] [-d domain] [-S security] [pointname] [pointvalue]
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-2006 by Cogent Real-Time Systems, Inc. All rights reserved.