26 _7300_get_sample, Description, Syntax – ADLINK PCI-7300A User Manual
Page 102: Argument, Return code, Description @ syntax @ argument @ return code
90
C/C++ Libraries
5.26 _7300_Get_Sample
@ Description
For the language without pointer support such as Visual Basic,
programmer can use this function to access the index-th data in
input DMA buffer. This function is only available in Windows 95
version.
@ Syntax
Visual C/C++ (Windows 95)
int W_7300_Get_Sample (U32 linearAddr, U32 index,
U32 *data_value, U32 portWidth)
Visual Basic (Windows 95)
W_7300_Get_Sample (ByVal linearAddr As Long,
ByVal index As Long, data_value As Long,
ByVal portWidth As Long) 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.
dataValue: The sample retrieved. The width of retrieved data is
different with the different portWidth value.
portWidth: The port width of the digital input port. The possible
values are 8, 16, or 32.
@ Return Code
NoError