beautypg.com

Al_setmaxendchan – Measurement Computing ADLIB WIN User Manual

Page 101

background image

Chapter 24 Channel Selections

23-7

23.5 AL_SetMaxEndChan

Prototype

C\C++

ERRNUM

AL_API

AL_SetMaxEndChan(LHLD

lhld, long lMaxChan);


Visual Basic for Windows

Function

AL_SetMaxEndChan(ByVal

lhld As

Long,

ByVal lMaxChan As Long) As Long

LHLD lhld

handle of the LDSD

long lMaxChan

specifies the maximum channel number


The AL_SetMaxEndChan function sets the LDSD maximum allowable ending channel number for a
device subsystem.

Parameter

Description

lhld

Identifies the instance of the logical device subsystem.

lMinChan

Maximum channel number allowed.


Returns:
On success ERRNUM is set to 1, otherwise ERRNUM contains the last error code that occurred during the
call.

Related Functions:
AL_SetChannelList
AL_SetMinStartChan
AL_GetMinStartChan
AL_GetMaxEndChan
AL_SetGainGlobal

Supported Logical Device Subsystems:
Pci55xx Series: ADC0, Options:

0 to 127