simple_scan_by_lines
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| simple_scan_by_lines [2026/05/26 14:16] – created pklapetek | simple_scan_by_lines [2026/06/01 15:07] (current) – pklapetek | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ===== Scan by lines ===== | ===== Scan by lines ===== | ||
| - | 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 built-in line scan functions and prints the result (or shows them if you use Python version). Finally, it stops the feedback, shrinks the z-piezo and exits. | + | This simple client |
| + | |||
| + | 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 built-in line scan functions and prints the result (or shows them if you use Python version). Finally, it stops the feedback, shrinks the z-piezo and exits. | ||
| Used commands and their parameters: | Used commands and their parameters: | ||
| - | '' | + | '' |
| - | set: pid_p: 0, pid_i: 0.1, pid_d: 0, pid_setpoint: | + | |
| - | set_feedback: | + | '' |
| - | set_scan: speed: 1e-6 | + | |
| - | run_scan_line: | + | '' |
| - | get_scan_ndata: | + | |
| - | get_scan_data: | + | '' |
| - | set_feedback: | + | |
| + | '' | ||
| + | |||
| + | '' | ||
| + | |||
| + | '' | ||
| + | |||
| + | '' | ||
| + | |||
| + | '' | ||
| To explore it further, see the [[https:// | To explore it further, see the [[https:// | ||
simple_scan_by_lines.1779797782.txt.gz · Last modified: 2026/05/26 14:16 by pklapetek
