![Advantech UbiQ Скачать руководство пользователя страница 85](http://html1.mh-extra.com/html/advantech/ubiq/ubiq_user-manual_2856809085.webp)
79
UbiQ Scenario Manager User Manual
Chapter 5
Functions
Reference
5.2.25
setdebug
Syntax
void setdebug(int bEnable)
Parameters
bEnable : Enable or disable the show message of the debug window.
Description
This function will enable or disable the show message of the debug window. If
set to TRUE, the debug window is enabled. If set to FALSE, the debug window
is disabled.
Example
// The example will show the pChar and f1 in the debug window
char pChar[20]; // declare pChar as char[20]
double f1; // declare f1 as double
f1=2.789;
pChar=”The value of f1 is “;
setdebug(TRUE);
debug(pChar,f1); // It will show “The value of f1 is 2.789”
setdebug(FALSE);
debug(pChar,f1); // It does not show anything
See Also
debug, printf
5.2.26
SetupTime
Syntax
void SetupTime()
Parameters
None
Description
This function will display the clock on the screen and provide user interface to
setup time and clock.
Example
SetupTime();
See Also
HelpWindow, LoadBMP, LoadBMPByValue
Содержание UbiQ
Страница 1: ...User Manual UbiQ Scenario Manager User Manual V1 03...
Страница 4: ...UbiQ Scenario Manager User Manual iv...
Страница 7: ...Chapter 1 1 Introduction...
Страница 13: ...Chapter 2 2 Getting Started...
Страница 37: ...Chapter 3 3 Tutorials...
Страница 47: ...Chapter 4 4 Basic of Smart C Script Language...
Страница 62: ...UbiQ Scenario Manager User Manual 56...
Страница 63: ...Chapter 5 5 Functions Reference...