W_9812_get_sample – ADLINK PCI-9810 User Manual

Page 74

Advertising
background image

62

Function Reference

W_9812_Get_Sample

Description

For languages without pointer support such as Visual Basic, pro-
grammers can use this function to access the data in DMA buffer.
This function is available only for Windows 95.

Syntax

C/C++

int W_9812_Get_Sample (U32 linearAddr, U32 index,

I16 *ai_data)

Visual Basic

W_9812_Get_Sample (ByVal linearAddr As Long,

ByVal idx As Long, ai_data As Integer) As

Long

Argument(s)

linearAddr

Linear address of the allocated DMA memory.

index

Index of the sample. The first sample has an index 0.

ai_data

Returns the samples retrieved.

Return Code(s)

NoError

Advertising
This manual is related to the following products: