Visual Logic Interface

The Visual Logic interface consists of a ribbon, there are two modes which display different options;

1. Normal Mode - appears when you are creating Visual Logic sections.

2. Debug Mode –appears when you have executed a section of VL with a break point.

The ribbon can be minimized by selecting the arrow in the top right hand corner.

Normal Mode Navigation

There are two tabs in the Normal Mode; VL Home and Commands.

VL HOME


  1. Open – This allows you to open other sections of Visual Logic you have created.
  2. Save – Save your current VL section. Note that your Visual Logic section will be saved automatically when closed.
  3. Undo- This will undo the last validated line of code
  4. New – Create a new section of Visual Logic
  5. Execute – This will execute the current section of Visual Logic
  6. Parameters – Create parameters to be used in the current section of Visual Logic.
  7. Local Variables – Create local variables to be used in the current section of Visual Logic.
  8. Create – When a section of Visual Logic is highlighted you can select this to convert your selection into global or local data, parameter, label or distribution.
  9. References – This will name where the current Visual Logic section is referenced by any other Visual Logic section.
  10. Bookmark – This allows you to mark lines of Visual Logic which you can jump to from the main Simul8 ribbon on the Visual Logic tab. This makes accessing frequently used sections of Visual Logic quicker.
  11. Protect – This will password protect your visual logic. Users will be prompted to enter a password when trying to open Visual Logic sections.
  12. Call Tree – Will change the display to show the call tree representation of the current visual logic section.
  13. Editor Options – This allows you to customize your Visual Logic editor.
  14. Free Edit Mode – Check this if you wish the Visual Logic Editor to allow free typing.
  15. Print – Print your current Visual Logic section.
  16. Help – Directs you to the Simul8 Help Files

COMMANDS


  1. Disable – Disable the current line of Visual Logic.
  2. Delete – Delete the current line of Visual Logic.
  3. Comment – Insert a comment into the current line of Visual Logic.
  4. SET – Inserts the SET command into the current line of Visual Logic.
  5. CALL – Inserts the CALL command into the current line of Visual Logic.
  6. IF – Inserts an IF statement into the current line of Visual Logic.
  7. ELSE IF – Inserts an ELSE IF statement into the current line of Visual Logic.
  8. ELSE – Inserts an ELSE statement into the current line of Visual Logic.
  9. WHILE – Inserts the WHILE command into the current line of Visual Logic.
  10. UNTIL – Inserts the UNTIL command into the current line of Visual Logic.
  11. LOOP – Inserts the LOOP command into the current line of Visual Logic.
  12. COMMANDS – Opens the Visual Logic command builder. This allows you to choose from all visual logic commands and insert them into the current line of Visual Logic.

Debug Mode Navigation


  1. STEP – Use to step through each line of visual logic.
  2. RUN – Continue running the simulation until the next break point.
  3. END - Closes Visual Logic and stops the simulation
  4. Watch Window – Opens the watch window
  5. Monitor – Select spreadsheets and arrays to monitor whilst debugging. Use drop down to select from spreadsheets and arrays in the simulation.
  6. Clear all Breakpoints – Will remove all break points in Visual Logic.


See Also