Al_demuxdataset – Measurement Computing ADLIB WIN User Manual
Page 144

Chapter 41 Data Formatting Functions
28-2
28.2 AL_DemuxDataSet
Prototype
C\C++
(16 Bit) ERRNUM AL_DemuxDataSet(LHLD lhld, long lBuffNum,
float _far * DestBuffer, long lStartPoint, long lCount);
(32 Bit) ERRNUM AL_DemuxDataSet(LHLD lhld, long lBuffNum,
float
*
DestBuffer, long lStartPoint, long lCount);
Visual Basic for Windows
Function
AL_DemuxDataSet(ByVal
lhld As Long, ByVal lBuffNum As Long,
DestBuffer As Single, ByVal lStartPoint As Long,
ByVal lCount As Long) As Long
LHLD lhld
handle of the LDSD
long lBuffNum
specifies the buffer number
float _far * DestBuffer
destination address to the user buffer
long lStartPoint
ADLIB buffer starting point
long lCount
conversion
count
The AL_DemuxDataSet function converts the selected ADLIB buffer selected by lBuffNum to
Engineering voltage units, placing each samples voltage into the user destination buffer pointed to by
fpfDestBuffer.
Parameter
Description
lhld
Identifies the instance of the logical device subsystem.
lBuffNum
Specifies the buffer ID number.
fpfDestBuffer
Points to the destination buffer.
lStartPoint
Specifies the starting point in the ADLIB buffer for conversion.
lCount
Specifies the number of samples to be converted.
Returns:
On success ERRNUM is set to 1, otherwise ERRNUM contains the last error code that occurred during the
call.
Related Functions:
NONE
Supported Logical Device Subsystems:
Pci55xx Series: ADC0