Setchrrjcda100 – Yokogawa PC-Based MX100 User Manual
Page 1112
![background image](/manuals/360310/1112/background.png)
24-21
IM MX190-01E
DARWIN for Extended API - Visual C/Visual Basic/Visual Basic.NET/C# -
24
setChRRJCDA100
Syntax
int setChRRJCDA100(DAQDA100 daqda100, int chType, int chNo,
int refChNo, int spanMin, int spanMax);
Declaration
Visual Basic
Public Declare Function setChRRJCDA100 Lib "DAQDA100"(ByVal
daqda100 As Long, ByVal chType As Long, ByVal chNo As Long,
ByVal refChNo As Long, ByVal spanMin As Long, ByVal spanMax As
Long) As Long
Visual Basic.NET
Public Declare Ansi Function setChRRJCDA100 Lib
"DAQDA100"(ByVal daqda100 As Integer, ByVal chType As Integer,
ByVal chNo As Integer, ByVal refChNo As Integer, ByVal spanMin
As Integer, ByVal spanMax As Integer) As Integer
C#
[DllImport("DAQDA100.dll" CharSet=CharSet.Auto,
EntryPoint="setChRRJCDA100")]
public static extern int setChRRJCDA100(int daqda100, int
chType, int chNo, int refChNo, int spanMin, int spanMax);
Parameters
daqda100
Specify the device descriptor.
chType
Specify the channel type.
chNo
Specify the channel number.
refChNo
Specify the channel number of the reference channel.
spanMin
Specify the left value of the span.
spanMax
Specify the right value of the span.
Description
Sets the remote RJC specified for the reference channel on the specified channel
(specified under channel type and channel number).
• If the channel type is set to the constant for “Specify all measurement channel
types,”all subunits are processed.
• If the channel number is set to the constant for “Specify all channel numbers,”all
channels within the channel type are processed.
• With the span specification, if the left and right values are the same, it is
considered omitted.
• Updates the stored channel information data after the setting.
• This function executes the SR command of the DARWIN communication function.
Return value
Returns an error number.
Error:
Not descriptor
No device descriptor.
Reference
CDAQDA100::setChRRJC
24.1 Details of Functions - DARWIN (VC/VB/VB.NET/C#) - Status Transition Functions