![]() ![]() BRAHMS
User Guide » Developing Processes » Quick Start » 1258 » Empty Process
This documentation is offline - click here to go online
Index | Search: Go online to use Search
| ||
OverviewYou should start with one of the template processes supplied with BRAHMS. To make a copy of a template and start developing it into your own Process, use the BRAHMS Manager. Read through the BRAHMS Manager to familiarise yourself with what it can do if you are not already, then click on "New" and follow the instructions below. Creating the new processMake the following choices. We will assume that this went alright, including "Build" (if required) and "Test" - if it didn't, review the BRAHMS Manager page to try and find out what you might need to do to get it to work. Come back here when you've got the new Process built and tested successfully. Notes
Modifying the new processClick "Open" in the Manager to see what files are associated with your new Process. One file you will find there is your Process source file - we will modify this to change how your Process behaves. A second file there is Modifications to these two files are shown with context, i.e. some surrounding lines of code that are already there. The modified lines, in each case, are highlighted, as shown here for a C example. We'll also use the ellipsis (three dots, "...") to indicate where we've missed out a bit of the file for brevity. C/C++ Source Code
int a
a a bout D_INFO You can run the test script at the Matlab prompt (after navigating to the folder), or by clicking "Test" in the BRAHMS Manager. Do whatever suits you best. RenamingIf you open multiple What doesn't it do?The Process is currently empty, which means it does very little indeed. In particular, it doesn't do the following.
In the remainder of this section, we'll look into adding these features to the new Process, one by one. ConventionsWhen we say "modify your source file", you can go ahead and rebuild the process (if required) and run the test script after making the mods - underneath the mods, we'll show you the output you should expect to see. Similarly, when we say "modify your test script", you can make the mods, run the script, and your output should match what we show underneath. |
||
This is a documentation page for the BRAHMS Modular Execution (Simulation) Framework. For details of licensing and distribution, please click here. To advise of an error or omission, please click here. |