
Chapter 40 Buffer Handler Functions
27-20
27.19 AL_SetPackedData
Prototype C\C++
ERRNUM AL_SetPackedData(LHLD lhld, long lState);
Visual Basic for Windows
Function AL_SetPackedData(ByVal lhld As Long, ByVal lState As Long) As Long
LHLD lhld handle of the LDSD
long lState specifies the FIFO state
The AL_SetPackedData function enables the hardware to pack two data points into each 32-bit transfer.
Essentially this function affects whether a device subsystem transfers one or two data points at a time. The
Pci5500 and Pci55xx devices place their associated channel information in place of the second data point
when PackedData mode is ENABLED.
Parameter Description
lhld Identifies the instance of the logical device subsystem.
lState Specifies the Packed FIFO state.
• DISABLED The device subsystem transfers two data points.transfers.
• ENABLED The device subsystem transfers one data point, for the
PCI-55XX Series cards, the hardware contains
the channel/gain/CJ information for each channel
Returns:
On success ERRNUM is set to 1, otherwise ERRNUM contains the last error code that occurred during the
call.
Related Functions:
AL_GetDoneBuffPtr
AL_GetBuffPtr
AL_CopyBuffer
AL_SetBuffer
AL_SetBufferSize
AL_GetPackedData
Supported Logical Device Subsystems:
Pci55xx: ADC0, DAC0, -DAC1, Options: ENABLED, DISABLED
Comentarios a estos manuales