Scripting in SAM with LK

This webinar introduces LK, SAM's built-in scripting language. Aron Dobos presented this overview and demonstration on March 19, 2015 using SAM 2015.1.30. The webinar shows how to use the LK editor, where to find documentation of its features and functions, and walks through the steps to create and run a complete script. It includes examples of the following:

  • Use active_case(), set(), get(), and simulate() to interact with a SAM case
  • Write a for loop
  • Use array and table data structures
  • Work with CSV files using csvread() and csvwrite()
  • Create a graph using newplot(), plot(), plotopt(), axis(), and plotout()


The following supporting materials were used as part of the presentation:

Theme by Danetsoft and Danang Probo Sayekti inspired by Maksimer