Waitfornewdisk - Crestron SIMPL+ Reference Manual

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

Advertisement

Software
®
184
SIMPL+

WaitForNewDisk

Name:
WaitForNewDisk
Syntax:
SIGNED_INTEGER WaitForNewDisk()
Description:
Waits for a compact flash card to be inserted into the control system. Refer to
"CheckForDisk" on
page
Parameters:
None.
Return Value:
Returns 0 when a new compact flash card is installed into the control system, <0 if an
error occurs.
Example:
(Refer to "File Functions Overview"on page 116)
while(1)
{
if ( WaitForNewDisk() < 0 )
break;
// perform operations on the new disk. Read a file, etc.
}
Version:
SIMPL+ Version 3.00.02 or higher (Pro 2 only)
Control System:
2-Series Only
119.
Language Reference Guide - DOC. 5797G
Crestron SIMPL+
®

Advertisement

Table of Contents
loading

Table of Contents