Setdoublehisterisysmx100 – Yokogawa PC-Based MX100 User Manual
Page 795
17-61
IM MX190-01E
17
Functions for the MX100 (Extended API) - Visual C/Visual Basic/Visual Basic.NET/C# -
setDoubleHisterisysMX100
Syntax
int setDoubleHisterisysMX100(DAQMX100 daqmx100, int chNo, int
levelNo, double histerisys);
Declaration
Visual Basic
Public Declare Function setDoubleHisterisysMX100 Lib
"DAQMX100"(ByVal daqmx100 As Long, ByVal chNo As Long, ByVal
levelNo As Long, ByVal histerisys As Double) As Long
Visual Basic.NET
Public Declare Ansi Function setDoubleHisterisysMX100 Lib
"DAQMX100"(ByVal daqmx100 As Integer, ByVal chNo As Integer,
ByVal levelNo As Integer, ByVal histerisys As Double) As
Integer
C#
[DllImport("DAQMX100.dll" CharSet=CharSet.Auto,
EntryPoint="setDoubleHisterisysMX100")]
public static extern int setDoubleHisterisysMX100(int
daqmx100, int chNo, int levelNo, double histerisys);
Parameters
daqmx100
Specify the device descriptor.
chNo
Specify the channel number.
levelNo
Specify the alarm level.
histerisys
Specify the hysteresis.
Description
Sets the hysteresis for the alarm level of the specified channel number.
• If the differences from the specified hysteresis value are excluded, it is the same
as the setHysterisisMX100 function.
• The hysteresis value is specified with a floating point number including the
decimal point position.
Return value
Returns an error number.
Error:
Not descriptor
No device descriptor.
Reference
CDAQMX100::setHisterisys
17.1 Details of Function - MX00 (Visual C/Visual Basic/Visual Basic.NET/C#) - Status Transition Functions