beautypg.com

Al_getswgate – Measurement Computing ADLIB WIN User Manual

Page 89

background image

Chapter 22 Gating Modes

21-5

21.5 AL_GetSwGate

Prototype

C\C++

STATUS

AL_GetSwGate(LHLD

lhld);


Visual Basic for Windows

Function

AL_GetSwGateStatus(ByVal

lhld As Long) As Long

LHLD lhld

handle of the LDSD


The AL_GetSwGate function retrieves the current hardware control gate status.

Parameter

Description

lhld

Identifies the instance of the logical device subsystem from which the status is

to

be

retrieved.


Returns:
On success STATUS is set to either DISABLED or ENABLED, otherwise STATUS contains a negative
error code that occurred during the call.

Related Functions:
AL_SetGateSource
AL_SetGateLevel
AL_GetGateStruct
AL_SetSwGate

Supported Logical Device Subsystems:
Pci55xx Series: ADC0, DAC0