10 talkdatabybinarydarwin – Yokogawa PC-Based MX100 User Manual

Page 543

Advertising
background image

10-45

IM MX190-01E

Functions for the DARWIN - Visual C/Visual Basic -

10

talkDataByBinaryDARWIN

Syntax

int talkDataByBinaryDARWIN(DAQDARWIN daqdarwin, int
startChType, int startChNo, int endChType, int endChNo,
DarwinDateTime * pDarwinDateTime);

Declaration

Public Declare Function talkDataByBinaryDARWIN Lib
"DAQDARWIN"(ByVal daqdarwin As Long, ByVal startChType As
Long, ByVal startChNo As Long, ByVal endChType As Long, ByVal
endChNo As Long, ByRef pDarwinDateTime As DarwinDateTime) As
Long

Parameters

daqdarwin

Specify the device descriptor.

startChType

Specify the start channel type.

startChNo

Specify the start channel number.

endChType

Specify the end channel type.

endChNo

Specify the end channel number.

pDarwinDateTime

Specify the destination where the time information data is to
be returned.

Description

Executes the declaration for retrieving measured data in binary format from the start
channel (start channel type and start channel number) to the end channel (end

channel type and end channel number).
• Stores time information data of the measured data if the return destination is

specified.

• Specify measurement channels and computation channels separately.

• MSB is specified for the byte output order.
• This function executes the TS and FM commands of the DARWIN communication

function.

• After executing this function, use the getChDataByBinaryDARWIN function to

retrieve the data for each channel.

Return value

Returns an error number.

Error:
Not descriptor

No device descriptor.

Reference

CDAQDARWIN::talkDataByBinary
CDAQDARWINDateTime::getDarwinDateTime

10.1 Details of Functions - DARWIN (Visual C/Visual Basic) -

Advertising