Commanddomx100 – Yokogawa PC-Based MX100 User Manual

Page 746

Advertising
background image

17-12

IM MX190-01E

commandDOMX100

Syntax

int commandDOMX100(DAQMX100 daqmx100, int idDO);

Declaration

Visual Basic
Public Declare Function commandDOMX100 Lib "DAQMX100"(ByVal
daqmx100 As Long, ByVal idDO As Long) As Long
Visual Basic.NET
Public Declare Ansi Function commandDOMX100 Lib
"DAQMX100"(ByVal daqmx100 As Integer, ByVal idDO As Integer)
As Integer
C#
[DllImport("DAQMX100.dll" CharSet=CharSet.Auto,
EntryPoint="commandDOMX100")]
public static extern int commandDOMX100(int daqmx100, int
idDO);

Parameters

daqmx100

Specify the device descriptor.

idDO

Specify the DO data identifier.

Description

Sends the DO data of the specified DO data identifier.

Return value

Returns an error number.
Error:

Not descriptor

No device descriptor.

Reference

CDAQMX100::commandDO

17.1 Details of Function - MX00 (Visual C/Visual Basic/Visual Basic.NET/C#) - Status Transition Functions

Advertising