Comparedatanomx – Yokogawa PC-Based MX100 User Manual

Page 266

Advertising
background image

5-8

IM MX190-01E

compareDataNoMX

Syntax

int compareDataNoMX(MXDataNo * prevDataNo, MXDataNo *
nextDataNo);

Declaration

Public Declare Function compareDataNoMX Lib "DAQMX"(ByRef
prevDataNo As MXDataNo, ByRef nextDataNo As MXDataNo) As Long

Parameters

prevDataNo

Specify the data number (previous).

nextDataNo

Specify the data number (next).

Description

Compares the specified data numbers.
• The data number is 64 bits while the return value is 32 bits. Therefore, the

returned value is not the difference between the two.

• In the case of Visual C, if NULL is specified for a parameter, an indefinite value is

returned.

Return value

Returns 0 if the data numbers are the same.

Returns a positive number if the data number (previous) is less than the data
number (next).

Returns a negative number if the data number (previous) is greater than the data
number (next).

5.1 Details of Functions - MX100 (Visual C/Visual Basic) -

Advertising