
2.7 d64h_di_buffer_get
VC6
short d64h_di_buffer_get(BYTE bCardID, U32 *pMemSize, PVOID* pLowBufAddr, PVOID*
pHighBufAddr )
Description:
This function gets the size of DI buffer and the virtual address to access this DI buffer. These buffer
addresses help programmer to get the DI acquisition data directly.
Parameters:
bCardID: The specific Card ID that is configured with the on-board Dip-Switch.
pMemSize: The pointer to the size of DI buffer, in kilobytes (KB)
pLowBufAddr: The pointer to the address of low-part buffer.
pHighBufAddr: The pointer to the address of high-part buffer.
Return Code:
SUCCESS_NO_ERROR: The function returns successfully.
ERROR_INVALID_CARD_ID: There is no opened PCI-D64HU card with assigned Card ID, or the
given Card ID is invalid (for instance, Card ID is assigned to 254).
ERROR_INVALID_MAPPED_ADDRESS: Indicates the mapped address is invalid.
ERROR_ACCESS_VIOLATION_DATA_COPY: Some system exception occurs while copying
memory, please check the pointer-type parameter you assign to this function.
PCI-D64HU Function Reference Version
13
Summary of Contents for PCI-D64HU
Page 5: ...PCI D64HU User s Manual Ver 1 0 Dec 2009 5 1 4 Block Diagram...
Page 17: ...PCI D64HU Function Reference Version 1 0 PCI D64HU Function Reference Version 1...
Page 69: ...PCI D64HU Function Reference Version 53...
Page 73: ...PCI D64HU Function Reference Version 1 0 PCI D64HU Function Reference Version 1...