Syntax
HRESULT GetActionOutput(
[in] long ActionId,
[out, retval] BTSR* Output
);
Parameters
ActionId
[in] ID of the Action to examine.
Output
[out, retval] Value to be output
Remarks
The value for
Output
depends on the type of Action.
Action Type
Values to set
Output to
Variable
Depends on the type of Variable being assigned (see below)
Serial
A simple string or complex expression
Digital I/O
“High”: Opens the port
“Low”: Closes the port
Relay
“On”: Energizes the relay
“Off”: Turns off the relay
Event
“0”: Cancel the Event
“1”: Execute the Event
“2”: Disable the Event
“3”: Enable the Event
IR
Group/Command to execute. The string value is a combination of
the name of the IR group, a “/”, and the name of a command within
that group, e.g. “VCR/Play”
HTTP Post
A simple string or complex expression. This value is posted to the
URL specified in
Port
.
The simple string or complex expression that makes up the body of
the e-mail message.
Log
A simple string or complex expression
Telnet
A simple string or complex expression
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
GetActionPort ( ActionId )
Returns the destination port of the Action specified by
ActionId
15
Summary of Contents for WACI NX-22
Page 36: ......
Page 53: ...Finally drag and drop selected files from your File Explorer...