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+
®
Need help?
Do you have a question about the SIMPL+ and is the answer not in the manual?