Sign In
Upload
Manuals
Brands
Crestron Manuals
Software
SIMPL+
Crestron SIMPL+ Manuals
Manuals and User Guides for Crestron SIMPL+. We have
2
Crestron SIMPL+ manuals available for free PDF download: Reference Manual, Programming Manual
Crestron SIMPL+ Reference Manual (374 pages)
Language Reference Guide
Brand:
Crestron
| Category:
Software
| Size: 3.27 MB
Table of Contents
Table of Contents
3
Introduction
11
Software Requirements
11
Licensing of SIMPL+ Cross Compiler
12
What's New
17
Converting from an X-Generation to a 2-Series Target
17
X-Generation Target and 2-Series Target Differences
17
Programming Environment
18
Programming Environment Overview
18
Target Selection
18
Edit Preferences
19
Insert Category
21
General Information
23
Conventions Used
23
Variable Names
23
Comments
23
Relative Path Names for Files
24
Operators
25
Operators Overview
25
Signed Vs Unsigned Arithmetic
28
Operator Precedence & Grouping
30
Numeric Formats
31
Task Switching
32
Task Switching for X-Generation (CNX) Control Systems
32
Task Switching for 2-Series Control Systems
35
Language Constructs & Functions
39
Language Constructs & Functions Overview
39
Arrays
41
Compiler Directives
43
Crestron_Library
44
Default_Nonvolatile
45
Default_Volatile
46
Define_Constant
47
Help
48
Help_Begin
49
Hint
50
If_Defined
51
Symbol_Name
52
User_Library
53
If_Not_Defined
54
Declarations
55
Declarations Overview
55
Fixed and Variable Size Arrays
56
Analog_Input
57
Analog_Output
58
Digital_Input
61
Digital_Output
62
Integer
64
Long_Integer
66
Signed_Integer
68
Signed_Long_Integer
70
String
72
String_Input
74
String_Output
75
Structures
77
Nonvolatile
80
Sendmail
83
Event
87
Push
88
Release
89
Stacked Events
90
For
93
While
95
Branching & Decision Constructs
96
Cswitch
97
If - else
99
Switch
101
Getlastmodifiedarrayindex
103
Array Operations
103
Getnumarraycols
105
Getnumarrayrows
107
Setarray
108
Bit & Byte Functions
110
Byte
112
High
113
Low
114
Rotateleft
115
Rotateright
116
Rotateleftlong
117
Rotaterightlong
118
Atol
120
Chr
121
Itoa
122
Itohex
123
Ltoa
124
Ltohex
125
File Functions
126
File Functions Overview
126
File Function Return Error Codes
127
Reading and Writing Data to a File
128
Checkfordisk
129
Endfileoperations
130
Filebof
131
Fileclose
132
Filedate
133
Fileday
135
Filedelete
136
Fileeof
137
Filegetdatenum
138
Filegetdayofweeknum
139
Filegethournum
140
Filegetminutesnum
141
Filegetmonthnum
142
Filegetsecondsnum
143
Filegetyearnum
144
FILE_INFO Structure
145
Filelength
146
Filemonth
147
Fileopen
148
Fileread
151
Fileseek
153
Filetime
155
Findclose
158
Findfirst
159
Findnext
161
Getcurrentdirectory
162
Isdirectory
163
Ishidden
164
Isreadonly
165
Issystem
166
Isvolume
167
Makedirectory
168
Readinteger
169
Readintegerarray
171
Readlonginteger
173
Readlongintegerarray
175
Readsignedinteger
177
Readsignedintegerarray
179
Readsignedlongintegerarray
183
Readstring
185
Readstringarray
187
Readstructure
189
Removedirectory
191
Setcurrentdirectory
192
Startfileoperations
193
Waitfornewdisk
194
Writeinteger
195
Writeintegerarray
197
Writelonginteger
199
Writesignedinteger
201
Writesignedintegerarray
203
Writesignedlonginteger
205
Writesignedlongintegerarray
207
Writestringarray
211
Writestructure
213
Mathematical Functions
215
Max
216
Min
217
Muldiv
218
Smax
219
Smin
220
Random
221
Rnd
222
Seed
223
String Formatting & Printing Functions
224
Print
226
String Concatenation
228
String Parsing & Manipulation Functions
229
Find
230
Gather
231
Getc
233
Left
234
Len
235
Lower
236
MID
237
Reversefind
239
Right
240
Setstring
241
Upper
243
System Control
244
Processlogic
245
Pulse
246
Terminateevent
247
Generateusernotice
248
System Interfacing
248
Generateuserwarning
249
Generateusererror
250
Checkfornvramdisk
251
Time & Date Functions
252
Day
253
Getdatenum
254
Getdayofweeknum
255
Gethournum
256
Gethseconds
257
Getminutesnum
258
Getmonthnum
259
Getsecondsnum
260
Getticks
261
Getyearnum
262
Month
263
Setclock
264
Setdate
265
Time
266
Wait Events
267
Cancelallwait
268
Cancelwait
269
Pauseallwait
270
Pausewait
271
Retimewait
274
Wait
275
User Defined Functions
277
Function Parameters
278
Byref, Byval, Readonlybyref
279
Returning a Value
282
Calling a Function
284
Function Libraries
285
Program Structure
286
Common Runtime Errors
287
Array out of Bounds
287
Example 2: 8-Level Switch on a Pesa Switcher
290
Example 3: Computing the Number of Days in a Month
292
(Using Functions)
292
Example 4: Computing the Number of Days in a Month
293
(Using Function Libraries)
293
Compiler Errors and Warnings
296
Compiler Errors and Warnings Overview
296
Syntax Errors (Compiler Errors 1000 to 1013)
299
Compiler Error 1000
299
Compiler Error 1001
300
Compiler Error 1002
302
Compiler Error 1003
303
Compiler Error 1004
303
Compiler Error 1005
304
Compiler Error 1006
304
Compiler Error 1007
305
Compiler Error 1008
306
Compiler Error 1009
307
Compiler Error 1010
308
Compiler Error 1011
308
Compiler Error 1012
309
Compiler Error 1013
309
Fatal Errors (Compiler Errors 1100 to 1101)
310
Compiler Error 1100
310
Compiler Error 1101
311
Expression Error (Compiler Errors 1200 to 1201)
311
Compiler Error 1200
311
Compiler Error 1201
313
Declaration Errors (Compiler Errors 1300 to 1312)
314
Compiler Error 1300
314
Compiler Error 1301
315
Compiler Error 1302
316
Compiler Error 1303
317
Compiler Error 1304
318
Compiler Error 1305
318
Compiler Error 1306
319
Compiler Error 1307
320
Compiler Error 1308
321
Compiler Error 1309
322
Compiler Error 1310
323
Compiler Error 1311
324
Compiler Error 1312
325
Compiler Error 1313
325
Compiler Error 1314
326
Assignment Errors (Compiler Errors 1400 to 1402)
327
Compiler Error 1400
327
Compiler Error 1401
328
Compiler Error 1402
328
Function Argument Errors (Compiler Errors 1500 to 1508)
329
Compiler Error 1500
329
Compiler Error 1501
330
Compiler Error 1502
331
Compiler Error 1503
331
Compiler Error 1504
332
Compiler Error 1505
333
Compiler Error 1506
334
Compiler Error 1507
334
Compiler Error 1508
335
Compiler Error 1600
336
Compiler Error 1601
336
Construct Errors (Compiler Errors 1600 to 1608)
336
Compiler Error 1602
337
Compiler Error 1603
338
Compiler Error 1604
339
Compiler Error 1605
339
Compiler Error 1606
340
Compiler Error 1607
341
Compiler Error 1608
341
Compiler Error 1700
342
Compiler Error 1701
342
Compiler Error 1702
342
File Errors (Compiler Errors 1700 to 1702)
342
Compiler Warning 1800
343
Compiler Warning 1801
343
Compiler Warnings (Compiler Errors 1800 to 1803)
343
Compiler Warning 1802
344
Compiler Warning 1803
345
SIMPL+ Revisions
346
Getcip
347
Obsolete Functions
347
System Interfacing - Cresnet and CPU
347
Getcresnet
348
Getslot
349
Issignaldefined
350
Sendcresnetpacket
351
Sendpackettocpu
352
Setcip
353
Setcresnet
354
Setslot
355
Analog_Output_Join
357
Digital_Input_Join
357
Digital_Output_Join
358
String_Input_Join
358
String_Output_Join
359
Oem_Break
360
CEN-OEM-Specific Definitions
360
Oem_Cd
361
Oem_Cts
361
Oem_Dtr
362
Oem_Long_Break
363
Oem_Max_String
363
Oem_Pacing
364
Oem_Rts
365
Oem_Str_In
365
Oem_Str_Out
366
Index
367
Software License Agreement
371
Return and Warranty Policies
373
Advertisement
Crestron SIMPL+ Programming Manual (60 pages)
Crestron SIMPL+ Software: Software Guide
Brand:
Crestron
| Category:
Software
| Size: 1.05 MB
Table of Contents
Table of Contents
3
Simpl
5
Introduction
5
What Is SIMPL
5
For Whom Is this Guide Intended
5
Using SIMPL Vs. SIMPL
6
What Is Needed to Use SIMPL
6
Where Can I Get more Information
6
Writing Your First SIMPL+ Program: "Hello World
6
Making It Work
8
Quick Start
6
The Structure of a SIMPL+ Program
9
Compiler Directives
9
Include Libraries
11
Variable Declarations
12
User-Defined Functions
14
Event Functions
14
Function Main
16
Working with Data (Variables)
17
Input/Output Types
17
All about Variables
20
Arrays
24
Operators, Expressions, and Statements
26
Operators
26
Expressions
27
Statements
28
Controlling Program Flow: Branching
28
If-Else
28
Switch-Case
30
Controlling Program Flow: Loops
31
For Loops
31
While and Do-Until Loops
33
Exiting from Loops Early
34
Using System Functions
34
User Defined Functions
35
Function Definitions
36
Defining Local Variables in Functions
38
Passing Variables to Functions as Arguments
39
Functions that Return Values
40
Function Libraries
42
Compact Flash Functions
43
Checkfordisk and Waitfornewdisk
43
Reading and Writing Data
44
Working with Time
46
Delay
46
Pulse
47
Wait Events
47
Working with Strings
49
Buffer_Input
49
Removing Data from Buffers
51
Understanding Processing Order
53
How SIMPL+ and SIMPL Interact
53
Forcing a Task Switch
53
Debugging
54
Compiler Errors
54
Run-Time Errors
54
Debugging with Print()
55
Software License Agreement
56
Return and Warranty Policies
58
Merchandise Returns / Repair Service
58
CRESTRON Limited Warranty
58
Advertisement
Related Products
Crestron SW-DBM
Crestron SW-WMC
Crestron SW-MAIL
Crestron SW-VOTE
Crestron SW-SIMPL
Crestron SIMPL Windows
Crestron SDK
Crestron SIRIUSSatellite Radio
Crestron Four-Way Amplified Splitter SRD-SPL-4
Crestron Surround Sound Tuning Kit
Crestron Categories
Touch Panel
Conference System
Racks & Stands
Switch
Transmitter
More Crestron Manuals
Login
Sign In
OR
Sign in with Facebook
Sign in with Google
Upload manual
Upload from disk
Upload from URL