Setchrrjcmx100 – Yokogawa PC-Based MX100 User Manual

Page 787

Advertising
background image

17-53

IM MX190-01E

17

Functions for the MX100 (Extended API) - Visual C/Visual Basic/Visual Basic.NET/C# -

setChRRJCMX100

Syntax

int setChRRJCMX100(DAQMX100 daqmx100, int chNo, int refChNo);

Declaration

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

Parameters

daqmx100

Specify the device descriptor.

chNo

Specify the channel number.

refChNo

Specify the reference channel using a channel number.

Description

Sets the remote RJC on the specified channel number.
• The span and alarm are set to the default values.

Return value

Returns an error number.
Error:

Not descriptor

No device descriptor.

Reference

CDAQMX100::setChRRJC

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

Advertising