Cdaqdarwin::receivebyte, Cdaqdarwin::reporting – Yokogawa PC-Based MX100 User Manual

Page 422

Advertising
background image

7-24

IM MX190-01E

CDAQDARWIN::receiveByte

Syntax

virtual int receiveByte(unsigned char * byteData, int maxData
= 1, int * lenData = NULL);

Parameters

byteData

Specify the field where the received data is to be stored using a

byte array.

maxData

Specify the byte size of the received data.

lenData

Specify the destination where the byte size of the actual data
received is returned.

Description

Stores the received data to the field specified by the parameter up to the specified
byte size.

Returns the byte size of the actual data received if the return destination is specified.

Return value

Returns an error number.

Reference

receive

CDAQDARWIN::reporting

Syntax

int reporting(int iReportRun);

Parameters

iReportRun

Specify the report execution type.

Description

Executes the specified report execution type.
This function executes the DR command of the DARWIN communication function..

It creates and sends the command and receives the response.
It is only valid with the optional computation function, or when the pulse module is

installed.

Return value

Returns an error number.

Reference

runCommand

7.4 Details of the DARWIN Class

Advertising