FesaMethodOverview(see below, attached files) and create your own design.
MyClassName0 scratch
MyClassName/v0/and run script Fesa Synchronize
MyClassName0 This creates the source code.
MyClassName 0 ppc4, this also compiles and moves the executable to the TEST subfolder.
MyClassName 0 FECnameTEST
/home/fesa/fesauser/lnx/fesawork/MyClassName/v0/TESTand run the class with: ./MyClassName_M.ppc4 -name
MyClassName.FECname
AllGSIand add a new server called
MyClassName.FECnameYou can click on the new box, which will appear and you can read the job-data in the table below.
where | details | what | command | comment |
---|---|---|---|---|
FESA Shell |
Design | design Class/Interface, define properties, variables and dependancies |
||
Terminal | Setup scratch | generates sorce code, commits source code to CVS | Fesa Setup < |
creates directory tree /common/software/Fesa/CVS/ and commits the source code |
Terminal | Setup edit | creates the working copy | Fesa Setup < |
creates the directory tree /home/fesa/fesauser/lnx/fesawork/ including the source code for editing |
Terminal | Implementation | implement server- and realtime-activities in function < |
Don't forget to comment the throw at the end of the execute-function | |
Terminal | Compiling and Linking | run make in /home/fesa/fesauser/ lnx/fesawork/< |
make | it's also possible to run make in subdirectories RT and/or SERVER |
Terminal | Delivery | Deliver binary components to operation | Fesa Deliver < |
current C++-source files are committed to CVS, equipment libraries are delivered to the target system |
FESA Shell |
Deployment | deploy the class to the FEC (Front End Computer) | Retrieve, Store |
retrieve class from database; choose FEC; influence performance of class while choosing the mode of interprocess communication, select startup mode; store class to database |
FESA Shell |
Instantiation | defines amount and type of devices that are run with the class independent of any timing system | Retrieve, Store |
define final parameters/settings |
Terminal | Instantiation | switch to directory /home/fesa/fesauser/ lnx/fesawork/< |
Fesa Instantiate < |
creates an instance of the class on FEC |
Terminal | test on FEC | start the binaries on FEC | login: ssh root@z.acc.gsi.de; cd to: /home/fesa/ fesauser/lnx/fesawork/ < run: ./< < |
|
Terminal | Restart service | start the startcmwadmin-tool (see above) | ||
FESA Shell |
Test | view the results | choose device, cycle, property on the left hands side, select viewer and subscribe |
|
Terminal | End | stop test | login as root in second shell, view all root processes with ps -ax, kill |