Owner manual

24-19
IM MX190-01E
DARWIN for Extended API - Visual C/Visual Basic/Visual Basic.NET/C# -
24
Description
Sets the specified alarm (alarm level and alarm type) and alarm value to the
specified channel (specified by 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.
If the alarm level is set to the constant for ìSpecify all alarm level numbers,”all
alarm levels within the channels are processed.
With relay specification, when the relay number is less than or equal to 0, the
relay is not specified (turned OFF).
Updates the stored channel information data after the setting.
This function executes the SA command of the DARWIN communication function.
Return value
Returns an error number.
Error:
Not descriptor No device descriptor.
Reference
CDAQDA100::setChAlarm
24.1 Details of Functions - DARWIN (VC/VB/VB.NET/C#) - Status Transition Functions