The Gamma engine services all DataHub scripts through a single queue, for the sake of efficiency. This means that any changes you make to the default behaviour will apply to all running scripts. By default, the Gamma engine runs with a 3-deep queue and buffered transmission. This is equivalent to the queuing with buffered delivery option (above) for TCP/IP connections. As of Cogent DataHub version 6.4.2, you can modify the behaviour of the queuing and the buffering via Gamma function calls:
set_point_queue_depth
lets you specify the depth of the per-point queue. It is wise to
keep this value small. Please see set_point_queue_depth in the DataHub Scripting manual for
details about this function.
get_point_queue_depth
determines the current point queue depth for the Gamma engine.
Please see get_point_queue_depth in the DataHub Scripting manual for
details about this function.
set_point_flush_flags
sets which data types will cause the point buffer to immediately
be transmitted to the Gamma engine. Please see set_point_flush_flags in the DataHub Scripting manual for
details about this function.