![ADLINK Technology NuDAQ PCI-9812/10 User Manual Download Page 58](http://html.mh-extra.com/html/adlink-technology/nudaq-pci-9812-10/nudaq-pci-9812-10_user-manual_2852808058.webp)
50
•
C/C++ Library
6.12 W_9812_Free_DMA_Mem
@ Description
Release a system DMA memory under Windows 95 environment.
This function is only available in Windows 95 version.
@ Syntax
C/C++ (Windows 95)
int W_9812_Free_DMA_Mem (HANDLE memID)
Visual Basic (Windows 95)
W_9812_Free_DMA_Mem (ByVal memID As Long) As Long
@ Argument
memID:
The memory ID of the system DMA memory to
deallocate.
@ Return Code
NoError
6.13 W_9812_Get_Sample
@ Description
For the language without pointer support such as Visual Basic,
programmer can use this function to access the data in DMA
buffer. This function is only available in Windows 95 version.
@ Syntax
C/C++ (Windows 95)
int W_9812_Get_Sample (U32 linearAddr, U32 index,
I16 *ai_data)
Visual Basic (Windows 95)
W_9812_Get_Sample (ByVal linearAddr As Long,
ByVal idx As Long, ai_data As Integer)
As Long
@ Argument
linearAddr:
The linear address of the allocated DMA memory.
index:
The index of the sample. The first sample is with
index 0.
ai_data:
Returns
the samples retrieved.
@ Return Code
NoError
Summary of Contents for NuDAQ PCI-9812/10
Page 1: ...NuDAQ PCI 9812 10 20MHz Simultaneous 4 CH Analog Input Card Users Guide ...
Page 4: ......
Page 57: ...C C Library 49 ...
Page 61: ...Calibration 53 ...
Page 69: ...Software Utility 61 ...