Al_setdataoffsetglobal – Measurement Computing ADLIB WIN User Manual

Page 115

Advertising
background image

Chapter 34 Data Offsets

25-5

25.3 AL_SetDataOffsetGlobal

Prototype

C\C++

ERRNUM

AL_SetDataOffsetGlobal(LHLD

lhld, lpstr lpstrDataOffset);


Visual Basic for Windows

Function

AL_SetDataOffsetGlobal(ByVal

lhld As Long, ByVal lpstrDataOffset As

String) As Long

LHLD lhld

handle of the LDSD

lpstr lpstrDataOffsett

address of the DATAOFFSET type string


The AL_SetDataOffsetGlobal function globally sets all DataOffset list inputs to the specified
lpstrDataOffset in the LDSD.

Parameter Description

lhld

Identifies the instance of the logical device subsystem to be released.


lpstrDataOffset

Points to the desired DataOffset type setting string. The available string settings

are device independent and are verified by ADLIB against the available

DataOffset 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_SetDataOffsetList
AL_GetDataOffsetList

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

“BIP“,“UNI“


Advertising