Crestron SIMPL+ Spécifications Page 43

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 60
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 42
Crestron SIMPL+
Software
To solve this problem, SIMPL+ has introduced the concept of function libraries.
Simply put, a function library is a collection of user-defined functions placed in a
separate file. A library can consist of only a single function, or can consist of every
function you have ever written. More likely, you will organize your libraries so that
each one contains related functions. For example, you may create a "string handling"
library, which consists of a number of functions that perform useful operations on
stings.
Once a function has been included inside of a function library, it now becomes
accessible to all SIMPL+ modules that are made aware of it. To make a SIMPL+
program aware of a particular library, you must use the #USER_LIBRARY. To
include a user library within a SIMPL+ module, the syntax is as follows:
#USER_LIBRARY "MyStringFunctionLib"
Note that the file extension (.usl in this case) is left out. The above example refers to
the function library called "MyStringFunctionLib.usl." Any number of user libraries
can be included within a SIMPL+ module.
Special function libraries that are created by Crestron and made available to all
customers can be used in a similar manner. The only difference is the use of the
#CRESTRON_LIBRARY compiler directive in place of #USER_LIBRARY.
Crestron function library files end with the extension .csl.
Compact Flash Functions
The 2-series control system supports reading and writing to compact flash cards.
Certain control systems have a built-in compact flash slot with the ability to easily
insert and remove compact flash cards (i.e., AV2, PRO2, and PAC2).
Data storage is a valuable, powerful and important part of programming. The ability
to store and retrieve data from a removable data source can provide many useful and
powerful solutions. Some of these solutions include the ability to backup data,
transferring data from one control system to another, reading and writing data to and
from formats that other database programs can recognize, and implementing
database-driven programs (the ability for a program to act dynamically based on
actions defined in the database).
The SIMPL+ file functions perform file access with the control system’s compact
flash card. Because of the overhead involved with maintaining current directory and
file positions, there are restrictions on file I/O. Each SIMPL+ thread (main loop or
event handler) that requires file operations must first identify itself with the operating
system. This is done with the function, StartFileOperations. Before terminating the
thread, the function, EndFileOperations must be called. Files cannot be opened
across threads. In other words, you cannot open a file in one thread, such as Function
Main, and then access the file with the returned file handle in another thread, such as
an event handler. Files should be opened, accessed and closed within the same
thread.
CheckForDisk and WaitForNewDisk
Before accessing compact flash, the program must either first check to see if a
compact flash card exists within the control system, or wait for a card to be inserted.
Certain programs might rely on the compact flash card being inserted within the
control system. The function, CheckForDisk, will test for the existence of a compact
Programming Guide – DOC. 5789A SIMPL+
39
Vue de la page 42
1 2 ... 38 39 40 41 42 43 44 45 46 47 48 ... 59 60

Commentaires sur ces manuels

Pas de commentaire

Whirlpool BSNF 9101 OX manuales

Manuales del propietario y guías del usuario para Frigoríficos Whirlpool BSNF 9101 OX.
Ofrecemos 1 manuales en pdf Whirlpool BSNF 9101 OX para descargar gratis por tipos de documentos: Guía de uso y cuidado






Más productos y manuales para Frigoríficos Whirlpool

Modelos Tipo de documento
KGNF 20P A3+ IN Manual de uso y cuidado    Whirlpool KGNF 20P A3+ IN Health and safety, 8 paginas
BSNF 9121 OX Guía de uso y cuidado   Whirlpool BSNF 9121 OX Use and care guide [sv] , 17 paginas
WVES 2399 NF W Instrucciones de uso   Whirlpool WVES 2399 NF W Instruction for Use [en] , 6 paginas
ACO 061 Instrucciones de uso   Whirlpool ACO 061 Instruction for Use [en] , 10 paginas
WNF8 T3Z X H Guía de uso y cuidado   Whirlpool WNF8 T3Z X H Use and care guide [nl] , 15 paginas
CR325ANF Instrucciones de uso   Whirlpool CR325ANF Instruction for Use [de] , 14 paginas
WNF8 T3Z X H Guía de usuario   Whirlpool WNF8 T3Z X H Setup and user guide [da] [et] [sv] , 4 paginas
BSFV 9353 OX Guía de uso y cuidado   Whirlpool BSFV 9353 OX Use and care guide, 16 paginas
KGN 389 A++ IN Guía de uso y cuidado   Whirlpool KGN 389 A++ IN Use and care guide [da] [sk] , 15 paginas
ARC 5732/AL Instrucciones de uso   Whirlpool ARC 5732/AL Instruction for Use [de] , 10 paginas
BCB 31 AA S Instrucciones de uso         Whirlpool BCB 31 AA S Instruction for Use [ky] , 48 paginas
B TNF 5322 OX Manual de uso y cuidado   Whirlpool T TNF 8111 SB Health and safety, 12 paginas
B TNF 5323 OX Guía de uso y cuidado   Whirlpool B TNF 5323 OX Use and care guide, 30 paginas
B TNF 5323 OX Guía de uso y cuidado   Whirlpool B TNF 5323 OX Use and care guide [en] , 30 paginas
BSNF 9583 OX Guía de uso y cuidado   Whirlpool BSNF 9583 OX Use and care guide, 37 paginas
BF 1422.1 Instrucciones de uso     Whirlpool BF 1422.1 Instruction for Use [pl] , 24 paginas
ZIS6 1 W Guía de uso y cuidado   Whirlpool ZIS6 1 W Use and care guide [nl] , 12 paginas
BSNF 8993 PB Guía de uso y cuidado    Whirlpool BSNF 8993 PB Use and care guide, 49 paginas
BSNF 8121 W Guía de usuario   Whirlpool BSNF 8121 W Setup and user guide, 4 paginas
BLF 7121 OX Guía de uso y cuidado   Whirlpool BLF 7121 OX Use and care guide, 32 paginas