6 comparator, Comparator – ADLINK PCI-8124-C User Manual

Page 82

Advertising
background image

72

Function Library

6.6

Comparator

@ Name

@ Description

_8124_set_comparator_data:

This function is used to override the current comparing data to
the comparator (CMP).

_8124_get_comparator_data:

This function is used to get the current comparing data from
comparator (CMP).

@ Syntax

C/C++ (Windows 2000/XP)

I16 _8124_set_comparator_data( I16 CardId, I16

Channel, I32 CmpData );

I16 _8124_get_comparator_data( I16 CardId, I16

Channel, I32 *CmpData );

Visual Basic (Windows 2000/XP)

B_8124_set_comparator_data (ByVal CardId As

Integer, ByVal Channel As Integer, ByVal

CmpData As Long) As Integer

B_8124_get_comparator_data (ByVal CardId As

Integer, ByVal Channel As Integer, CmpData

As Long) As Integer

@ Argument

I16 CardId

: The PCI-8124-C card’s ID number.

I16 Channel

: The channel’s number of comparator (CMP).

I32 CmpData

: The current comparing data in comparator.

_8124_set_comparator_data Set the comparing data to the comparator

_8124_get_comparator_data Get current comparing data from the comparator

Advertising