Yamaha CS-700 Integrators Reference Guide
18
Return Values:
Value
Description
-1
General failure
0
Success
downloadLogs
Description:
Download a zipped log file to the specified directory.
Syntax:
EXPORT int __cdecl downloadLogs(char *filepath, void(*download_logs_callback_t)(int
nPercent, char *logname));
Parameters:
Parameter
Description
filepath
Directory on host to which the log file will be saved
download_logs_
callback_t
Pointer to callback function to handle download progress notifications
nPercent
Callback function parameter: Percent completion. A value of -1 indicates a download
error.
logname
Returned name of downloaded log file
Return Values:
Value
Description
-1
General failure
0
Success
importConfig
Description:
Import a configuration XML file to the CS-700 device. The host PC must have access to a
proper configuration file. The output of this is the zipped config file after completion.
Syntax:
EXPORT int __cdecl importConfig(char *configFile, void(*import_config_callback_t)(int
nPercent, char *filepath));
Parameters:
Parameter
Description
configFile
Complete file path of config file
import_config_
callback_t
Pointer to callback function to handle import progress notifications
nPercent
Callback function parameter: Percent completion. A value of -1 indicates an import