Gwyscope documentation

open hardware SPM controller with advanced sampling support

User Tools

Site Tools


simple_scan_by_lua_lines

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
simple_scan_by_lua_lines [2026/06/01 14:59] – created pklapeteksimple_scan_by_lua_lines [2026/06/01 15:06] (current) pklapetek
Line 1: Line 1:
-===== Line scan by Lua =====+===== Lua Line scan =====
  
-This simple client connects to the server and sets the operation regime to proportional feedback (typically used in contact mode, difference between value of signal on input and some setpoint value makes piezo to extend or shrink, depending on settings). Then it sets some basic parameters of feedback loop and sets feedback on. It sets the scanning velocity and then it scans 1x1 micrometer in 50x50 pixels using a Lua script using measurement of individual profiles (lines). Finally, it stops the feedback, shrinks the z-piezo and exits.+This simple client scans topography in contact mode, using Lua script, measuring a collection of individual profiles. 
 + 
 +It connects to the server and sets the operation regime to proportional feedback (typically used in contact mode, difference between value of signal on input and some setpoint value makes piezo to extend or shrink, depending on settings). Then it sets some basic parameters of feedback loop and sets feedback on. It sets the scanning velocity and then it scans 1x1 micrometer in 50x50 pixels using a Lua script using measurement of individual profiles (lines), which are higher level functions than only individual movements and data storage as shown in [[simple_scan_by_lua|Lua scan example]]. Finally, it stops the feedback, shrinks the z-piezo and exits.
  
 Used commands and their parameters: Used commands and their parameters:
simple_scan_by_lua_lines.1780318779.txt.gz · Last modified: 2026/06/01 14:59 by pklapetek