Cdaqmx100::switchtransmit, Cdaqmx100::tochno – Yokogawa PC-Based MX100 User Manual

Page 622

Advertising
background image

12-58

IM MX190-01E

CDAQMX100::switchTransmit

Syntax

int switchTransmit(int idTrans, int iTransmit);

Parameters

idTrans

Specify the transmission output data identifier.

iTransmit

Specify the transmission status.

Description

Sends the specified transmission output data.

Changes all channels of the transmission output data to the specified transmission
status and sends them.

Updates the status if successful.

Return value

Returns an error number.

Error:
Not Data

There is no data.

Reference

commandTransmit getClassMXTransmitList
CDAQMXTransmit::setTransmit
CDAQMXTransmitList::getClassMXTransmit

CDAQMX100::toChNo

Syntax

int toChNo(int fifoNo, int fifoIndex);

Parameters

fifoNo

Specify the FIFO number.

fifoIndex

Returns the channel sequence number in the FIFO.

Description

Gets the channel number from the specified information.
Returns 0 if it does not exist.

Return value

Returns the channel number.

Reference

searchChNo

12.4 Details of the MX100 Class

Advertising