Al_getclockoutput – Measurement Computing ADLIB WIN User Manual

Page 83

Advertising
background image

Chapter 21 Clocking Modes

20-7

20.7 AL_GetClockOutput

Prototype

C\C++

ERRNUM

AL_GetClockOutput(LHLD

lhld, LPSTR lpstrClockOutput, long lMaxlen);


Visual Basic for Windows

Function

AL_GetClockOutput(ByVal

lhld As Long, ByVal lpstrClockOutput As String,

ByVal lMaxlen As Long) As Long

LHLD lhld

handle of the LDSD

LPSTR lpstrClockOutput

destination address of the ClockOutput string

long lMaxLength

the count in bytes to be copied


The AL_GetClockOutput function retrieves the current ClockOutput state of the LDSD.

Parameter

Description

lhld

Identifies the instance of the logical device subsystem.


lpstrClockOutput

Points to the destination string for the copy.


lMaxLength

Maximum length in bytes to be copied to the user string , including the

NULL

termination

character.


Returns:
On success ERRNUM is set to 1 and the destination string lpstrClockOutput is set to the LDSD
ClockOutput state, otherwise ERRNUM contains the last error code that occurred during the call and the
destination string is considered invalid.

Related Functions:
AL_SetClockOutput

Supported Logical Device Subsystems:
Pci55xx Series: ADC0

Advertising