PT_TYPE, PT_uVALUE -- holds the type and value a Cascade DataHub point.
/* A point type can be at least one of the following: */ enum PT_TYPE { PT_TYPE_STRING, PT_TYPE_REAL, PT_TYPE_INT32, }; /* A points value is stored in the following union: */ typedef union { ptreal r; int32 i; char *s; } PT_uVALUE; typedef PT_uVALUE *PT_pVALUE;
At least the following fields are defined:
Either a single-precision or a double-precision floating point number.
A 32-bit signed integer regardless of the machine architecture or compiler.
A C-style (null-terminated) string of characters.
Point Structure, Storage, and Manipulation