set_point_flush_flagsset_point_flush_flags — determines which data types are not buffered.
set_point_flush_flags (flags)
flagsAny combination of:
VT_EMPTY | = 0 |
VT_I2 | = 2 |
VT_I4 | = 3 |
VT_R4 | = 4 |
VT_R8 | = 5 |
VT_CY | = 6 |
VT_DATE | = 7 |
VT_BSTR | = 8 |
VT_BOOL | = 11 |
VT_I1 | = 16 |
VT_UI1 | = 17 |
VT_UI2 | = 18 |
VT_UI4 | = 19 |
VT_I8 | = 20 |
VT_UI8 | = 21 |
VT_INT | = 22 |
VT_UINT | = 23 |
item.confA number from 0 to 100
indicating a confidence factor.
item.flagsAny bitwise combination of the following numeric set of flags:
0x01 | Turn on un-buffered checking. Always include this with any other of these flags |
0x02 | Flush on boolean data. If a boolean value changes, transmit all queued values. |
0x04 | Flush on integer data. If a boolean value changes, transmit all queued values. |
0x08 | Flush on floating point data. If a floating point value changes, transmit all queued values. |
0x10 | Flush on string data. If a string value changes, transmit all queued values. |
t on
success, otherwise an error message.
This function sets which data types will cause the point buffer to immediately
be transmitted to the Gamma engine. If flags is
0, then the transmission is always buffered. For example,
to flush all queued data whenever a boolean or string value changes, make this
call:
set_point_flush_flags(0x01 | 0x02 | 0x10);
To return the Gamma engine to fully buffered transmission, use:
set_point_flush_flags(0);