Download ATS-SDK - AlazarTech

Transcript
ATS-SDK Programmer’s Guide
3.2.60
AlazarReadEx
Read all or part of a record from an acquisition to on-board memory from on-board
memory to a buffer in host memory. The record may be 2,147,483,648 or more samples
long.
Syntax
C/C++
U32
AlazarReadEx (
HANDLE BoardHandle,
U32 ChannelId,
void *Buffer,
int ElementSize,
long Record,
INT64 TransferOffset,
U32 TransferLength
);
VisualBasic
AlazarReadEx( _
ByVal BoardHandle As Integer, _
ByVal ChannelId As Long, _
ByRef Buffer As Any, _
ByVal ElementSize As Integer, _
ByVal Record As Long, _
ByVal TransferOffset As Currency, _
ByVal TransferLength As Long _
) As Long
Parameters
BoardHandle
[in] Handle to a board.
ChannelId
[out] Channel identifier of record.
Buffer
[out] Buffer to receive sample data.
ElementSize
[in] Number of bytes per sample.
Record
[in] Record in on-board memory to transfer to buffer (1-indexed).
TransferOffset
[in] The offset, in samples from the trigger position in the record, of the first
sample in the record in on-board memory to transfer into the buffer.
© 2003-2013 Alazar Technologies Inc.
174