Al_maxclkrate – Measurement Computing ADLIB WIN User Manual

Page 80

Advertising
background image

Chapter 21 Clocking Modes

20-4

20.4 AL_MaxClkRate

Prototype

C\C++

(32 bit) ERRNUM AL_GetMaxClkRate(LHLD lhld, double *dMaxRate);


Visual Basic for Windows

Function

AL_GetMaxClkRate(ByVal

lhld As Long, ByVal dMaxRate As Double)

As

Long

LHLD lhld

handle of the LDSD


double dMaxRate

points to a double value to receiving the value.


The AL_GetMaxClkRate function is used to determine the Maximum frequency actually available by a
device's clocking hardware.

Parameter

Description

lhld

Identifies the instance of the logical device subsystem.


dMaxRate

Contains the Maximum hardware clocking rate.



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

Related Functions:
AL_SetClockSource
AL_SetClockRate
AL_GetActualClkRate
AL_GetClockStruct

Supported Logical Device Subsystems:
Pci55xx Series: ADC0, DAC0, DAC1

Advertising