bufferIdData, bufferIdDataAscii — get data from an interpolate query.
(bufferIdData id [start [count]])
(bufferIdDataAscii id [start [count]])
bufferIdData returns a binary data buffer, or nil.
bufferIdDataAscii returns the data in the buffer as an ASCII string, or nil. The format of the string is as follows:
(bufferIdDataAscii id start (timei datai) ... (timem datam))
where "i" is the value of start and "m" is start + count - 1. In other words, a total of count pairs of (time data) are sent.
This command returns the result of the specified query as a binary buffer of X-Y doubles. To facilitate transfer of large buffers, the start and count parameters can be used to transfer the buffer in portions. The buffer will persist until it is explicitly destroyed with the bufferIdDestroy command.
The bufferIdDataAscii command gives you a way to get human-readable data with lsend, gsend, or Gamma, without using dll calls.
The bufferIdData command corresponds to the Cogent C API functionHI_BufferIDRead function, and the hist_buffer_id_read dynamic library function.
Copyright © 1995-2006 by Cogent Real-Time Systems, Inc. All rights reserved.