Chapter 8 Utility Library
© National Instruments Corporation 8-7 LabWindows/CVI Standard Libraries
Cls
void Cls (void);
Purpose
In the LabWindows/CVI environment, this function clears the Standard I/O window.
Parameters
None
Return Value
None
CopyFile
int result = CopyFile (char sourceFileName[], char targetFileName[]);
Purpose
Copies the contents of an existing file to another file.
Parameters
Input sourceFileName string File to copy.
targetFileName string Copy of original file.
Return Value
result integer Result of copy operation.
Return Codes
0 Success.
-1 File not found or directory in path not found.
-3 General I/O error occurred.
-4 Insufficient memory to complete operation.
-5 Invalid path (for either of the file names).
-6 Access denied.
-7 Specified path is a directory, not a file.
-8 Disk is full.