vsTASKER 7 User Manual
×
Menu
Index

Console

 
Console viewer is the default viewer. It is the smallest shell for the simulation engine.
Only text print (from the sim) can be displayed on the console. 
 
Two viewers are provided in runtime/console directory:
 
vt_console.cpp: is the simplest main that define, initialize and call the simulation engine runtime function.
vt_console_man.cpp: integrates a loop sample on how to use the tic() call to advance the RTC time.
Console
1

Main File

1. Main File
Specifies the C++ wrapper used to build the console application. The default provided one can be found in runtime/console/vt_console.cpp.
Once loaded, the file can be modified in the Source panel.
 
2

Enabled

2. Enabled
One viewer must be at least enabled for the simulation to compile. Enabling one viewer disable all the other one.
 
3

Source

3. Source
Source code can be modified into this window or directly from Visual Studio from the solution (or any other text editor).
If code is modified, it will be automatically saved when OK button is depressed.
It is a good idea to save the modified code under another file to keep the original one unchanged. Use button for that.
Refer to "Understanding Runtime" in the Tutorial document of vsTASKER.
Do not forget that all provided source code in vsTASKER environment is subject to change from one revision to one another. So, it is a good practice to change the name of any cpp wrapper if any change must be applied on it.
4

Help

4. Help
Put here all text explanations or documentation content needed to maintain this Viewer.
The Help content is saved but is not inserted into the generated code.
It will be used for the automatic document generation (see Make Documents)