81
Remarks
Valid values for
Output
for Variable Actions:
Variable Type Valid values to assign
Number
String or expression that evaluates to a number
Range
String of the form “%d to %d”, where %d represents a number
String
Anything that can be converted to a string
The value of
Port
represents where the Action is going to send its output. For variable Actions, the
Port
value is the
name of the Variable. For Actions that execute or cancel an Event, the
Port
value is the name of the Event. In all other
cases,
Port
is the name of the port of the associated device, e.g. “Port1”.
Action types that the CRM-WIC supports, depends on the device’s hardware capabilities.
Type
values are:
Value Action Type
Supported on
1
Set a Variable’s value CRM-WIC
2
Send serial data
CRM-WIC
5
Trigger another Event CRM-WIC
SetActionByName ( EventId, Name, Type, Delay, DutyCycle, StopAfter, Port,
Output )
Modifies an action specified by its associated event ID and action name.
Syntax
HRESULT SetActionByName(
[in] long EventId,
[in] BSTR Name,
[in] long Type,
[in] double Delay,
[in] double DutyCycle,
[in] long StopAfter,
[in] BSTR Port,
[in] BSTR Output,
[out, retval] VARIANT_BOOL* Success
);
Содержание CRM-WIC
Страница 1: ...Reference Manual Programming Guide Room Monitor Web Intelligent Controller Model CRM WIC...
Страница 7: ...7 Box Contents Box Contents for the CRM WIC Web Intelligent Controller Model CRMWIC Power Adapter...
Страница 8: ...8 Hardware User Interface Hardware User Interface for the CRM WIC...
Страница 16: ...16 For full details see the RPC section at the end of this manual...
Страница 43: ...43 This expression resolves to this value 0 1 4 3 1 Hello Hello 0...
Страница 98: ...98 Index...