Al_setclockoutput – Measurement Computing ADLIB WIN User Manual

Page 82

Advertising
background image

Chapter 21 Clocking Modes

20-6

20.6 AL_SetClockOutput

Prototype

C\C++

ERRNUM

AL_SetClockOutput(LHLD

lhld, LPSTR lpstrMode);


Visual Basic for Windows

Function

AL_SetClockOutput(ByVal

lhld As Long,

ByVal lpstrMode As String) As Long

LHLD lhld

handle of the LDSD

LPSTR lpstrMode

address of the ClockOutput mode string


The AL_SetClockOutput function sets the hardware ClockOutput operation mode of the LDSD.

For the Pci55xx Series the signal ADCLKOUT is available to output it’s clocking source. Each time the
ADC is clocked from any of the available clocking sources the ADCLKOUT signal pulses high for a
period of 1 microsecond. This output can be used to synchronize the clocking of multiple A/D converters
on different PCI cards.

Parameter

Description

lhld

Identifies the instance of the logical device subsystem.


lpstrMode

Points to the desired ClockOutput string. The available string settings are device

independent and are verified by ADLIB against the available clock output

mode

options specified in the device's capabilities file.


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

Related Functions:
AL_GetClockOutput

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

ENABLED, DISABLED

Advertising