
Software
4-10
PXI/ PCI 61xx – User Manual
The
Pxi61xx__ReadResponse
function is for reading a response from
the
PXI
/
PCI 61xx
controller.
Format:
S32 Pxi61xx__ReadResponse(U8 Device,
U8 *pData,
U32 *DataLength);
Parameters:
Device
Index of the
PXI
/
PCI 61xx
board, beginning left with
1
Pointer, for example
pData
,
to the reading data area,
consisting of
Response header
and
Response bytes
(At present max.
1024
bytes per response)
DataLength
Parameter value before function call:
Size of the buffer
pData
is pointing to, in bytes
Parameter value after function call:
Number of bytes actually read
Description:
The
Pxi61xx__ReadResponse
function reads back the oldest response
written by the
PXI
/
PCI 61xx
controller in the response area.
If several responses have been provided by the controller, but not
read, they are not lost but stored in the form of a list.
On calling up, the
Pxi61xx__ReadResponse
function continues to
supply data until this list contains no more entries.
4.3.1.4
Read
Response
Summary of Contents for PCI 61 Series
Page 34: ......