Getslot - Crestron SIMPL+ Reference Manual

Language reference guide
Hide thumbs Also See for SIMPL+:
Table of Contents

Advertisement

Crestron SIMPL+
Language Reference Guide - DOC. 5797G
®
TYPE is one of several predefined constants:
din:
Digital inputs from device (symbol output list)
ain:
Analog inputs from device (symbol output list)
dout:
Digital outputs to device (symbol input list)
aout:
Analog outputs to device (symbol input list)
NOTE: Access to serial signals is not supported.
Return Value:
An Integer. For Digital values, a non-zero value indicates a logic high and a 0 value
indicates a logic low. For analog values, a 16-bit number is returned corresponding
to the state of the analog join.
Example:
Assuming a relay card has been defined in Slot 1 and Relay A2 has a signal name tied
to it, and a touchpanel has been defined at Cresnet ID 07, and press 42 has a signal
name tied to it, this SIMPL+ statement will connect the two:
SetSlot(1,2,dout) = GetCresnet(0x07,42,din);
NOTE: This is not a permanent connection; it will only set the state when this
statement is executed.
Version:
SIMPL+ Version 2.00 only. This function is not available in Versions 1.00 or 3.00.
Control System:
X-Generation only

GetSlot

Name:
GetSlot
Syntax:
INTEGER GetSlot(INTEGER SLOT_NUMBER, INTEGER
JOIN_NUMBER, INTEGER TYPE);
Description:
Retrieves the current state of the join number on a particular card. Note that the device
must be defined in SIMPL Windows and the join number to use must have a signal
tied to it for this function to work.
Software
®
SIMPL+
339

Advertisement

Table of Contents
loading

Table of Contents