scaled_win_array_to_buf()

Copies double precision values from an array into a Windows memory buffer.

The buffer is used by devices that support output scanning of scaled data, for example devices that call a_out_scan() using the SCALEDATA option. Create the buffer with scaled_win_buf_alloc(). Refer to hardware-specific information to determine if the device supports scaled data.

Prototype

scaled_win_array_to_buf(data_array, memhandle, first_point, count)

Parameters

data_array (POINTER(c_double))

The C array containing the data to be copied.

memhandle (int)

This must be a memory handle that was returned by scaled_win_buf_alloc() when the buffer was allocated. The data will be copied into this buffer.

first_point (int)

Index of the first point in the memory buffer where the data will be copied.

count (int)

Number of data points to copy

Notes