![Advantech UbiQ User Manual Download Page 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
Summary of Contents for UbiQ
Page 1: ...User Manual UbiQ Scenario Manager User Manual V1 03...
Page 4: ...UbiQ Scenario Manager User Manual iv...
Page 7: ...Chapter 1 1 Introduction...
Page 13: ...Chapter 2 2 Getting Started...
Page 37: ...Chapter 3 3 Tutorials...
Page 47: ...Chapter 4 4 Basic of Smart C Script Language...
Page 62: ...UbiQ Scenario Manager User Manual 56...