vsTASKER 7 Tutorial
×
Menu
Index

Flsim Sample

 
This demo needs FLSIM 9.0 from Presagis. The setup is a little more complicated as the code must be linked with the FLSIM libraries.
If you do not have FLSIM and a valid license, you cannot run this demo.
 
1) The needed environment variables are set in file engine\flsim\setup.cmd. Open it and change the FLSIM directory setting. Then, you can either copy all these environment variables to the systems one or work from a console window.
 
2) Open a console window. Type: cd D:\VirtualSim\4.1\vstasker
Then type: runtime\flsim\setup.cmd
Then type: start /b vstasker
Then after that: start /b flsimde (you need to have a valid license for FLSIM)
 
3) Go to vsTASKER and open the database flsim.db (in D:\VirtualSim\vsTasker\7\data\db\integrations).
 
 
1) In the tree-list, select scenario Test and compile the scenario. In the build output window, the last line should be: link.exe @c:\temp\nma01876.  
If not, try to understand errors. Probably dues to bad FLSIM installation or an error in the FLSIM environment variables.
 
2) Launch the FLSIM_SIM generated executable (vsTASKER is in slave mode for this demo and thus, FLSIM DE must start the simulation). Ignore the popup window (close it).
 
3) Go to FlsimDE (you have started it previously from the command shell). In menu Aircraft, select Identification. Then from the list, load the F16. Now, add a system. Select any system in the list (same window) then click button Add After. In the popup window, select vsTASKER_Model and click Ok then Close.
 
4) In menu Configure, select Initial Condition. In the popup window, click In Air (in Position pane)
 
5) In menu Control, select Execution then click button Run. Set the focus in the Flight_Scene window and press space bar (do not touch the mouse for 1 second).
 
6) You should be flying north at 2000m and the aircraft should then turn right.
 
7) Go back to vsTASKER and select scenario Test. Then double-click the magenta aircraft symbol then double-click the magenta triangle (approach) running logic. You are able to monitor the do-list. When the Approach Logic is performed, select aircraft (in the Entities tree-list) then double-click logic Land and observe the logic flow.
 
8) To restart this simulation. Just focus on the Flsim_Scene, press ESC (or press button Stop in the FlsimDE execution window and press Start again.
 
 
Now, restart this simulation (steps 1 to 7) with the scenario Control.
You will use the pop-up window.
 
When the aircraft will be flying in FLSIM, click on any of the pop-up window button to initiate a maneuver.
When the maneuver is over (or seems to be), click the reset button than select another one.