cbScaledWinBufToArray()

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

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

Function Prototype

C/C++

int cbScaledWinBufToArray(int MemHandle, double* DataArray, long FirstPoint, long Count);

Visual Basic

Function cbScaledWinBufToArray(ByVal MemHandle&, DataArray#, ByVal FirstPoint&, ByVal Count&) As Long

Arguments

MemHandle

The memory handle that was returned by cbScaledWinBufAlloc() when the buffer was allocated. The buffer should contain the data that you want to copy.

DataArray

A pointer to the start of the destination array to which the data samples are copied.

FirstPoint

The buffer index of the first sample to copy from the buffer.

Count

The number of samples to copy into DataArray.

Returns

Notes