beautypg.com

Talkdatabyasciidarwin – Yokogawa PC-Based MX100 User Manual

Page 542

background image

10-44

IM MX190-01E

talkDataByASCIIDARWIN

Syntax

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

Declaration

Public Declare Function talkDataByASCIIDARWIN 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 ASCII 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 of the measured data if the return destination is specified.

• Specify measurement channels and computation channels separately.
• This function executes the TS and FM commands of the DARWIN

communication function.

• After executing this function, use the getChDataByASCIIDARWIN function to

retrieve the data for each channel.

Return value

Returns an error number.

Error:
Not descriptor

No device descriptor.

Reference

CDAQDARWIN::talkDataByASCII
CDAQDARWINDateTime::getDarwinDateTime

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