PowerScript Code Snippets

SHR-100 (Calibration용 Sample) 표면 검수용 code

SHR-100의 Y Pattern 검수용 code입니다.

//File path can be changed. visionLoc="D:/SpmData/vision capture/" //capture 4th line …
SHR-100 (calibration용 sample) X pattern 표면 검수용 code

SHR-100 표면 검수 시 사용하는 code입니다. 그 중 X pattern 이미지 측정 코드입니다.

//File path can be changed. visionLoc="D:/SpmData/vision capture/" //mount sample on …
NX10 XY stage test

장비 생산 시 NX10 XY Stage의 구동 이상 여부를 확인할 때 사용되는 코드입니다.

//NX10 XY stage test spm.xystage.reset(); spm.xystage.moveTo(0, 0, 1, 1); print("P01_X …
Focus Stage repeat test 시 사용 code

장비 생산 시 Focus Stage를 20회 반복 구동하며 모터 등 구조물의 이상을 파악하는데 사용됩니다. 같은 …

var speed = 1.0; var maxCount = 20; var distance …
Scanning images beyond the XY scanner’s range

Acquire images over a range larger than the XY scanner range by moving the XY …

var xyStageMove = { mov1: [100, 0], mov2: [0, -100], …
Array

Basic Syntax

// Array Creation var array1 = new Array(5); var array2 …
Sample Vision Capture

Sample Vision capture to find specific position

LeftTopX = -248 LeftTopY = 1915 RightBottomX = 1632 RightBottomY …
Loop structure

Basic Syntax

// for for(var i = 0; i <= 10; i++){ …
Move the XY stage after the Image Scan.

Retract the Z scanner to safely move the XY stage after image scanning.

function scanAndMoveXYstage(moveX, moveY){ spm.scan.startImageScan(); spm.scan.stop(); spm.zscanner.retractAll(); spm.sleep(50); spm.xystage.move(moveX, moveY, 0.1, …
Set Point 별 Lateral Sensitivity & Noise 측정
// 하는 거 // Set point (nN) 별로 Lateral Sensitivity와 …
2nd Harmonic EFM Frequency Sweep with LIA2, 3
lia2 = { 'frequencyHz': 100, 'drivePercent': 100, 'channel': 'tip bias' …
Contact Approach with PSPD Align
print('Approach Started') spm.addChannel('a-b') //Backup original setting values sp_0 = spm.zservo.setpoint.normValue …
X_1Step_Error_Test
//X Stage baseDir = '/' targetDefocus = 317.5 motorStep = …
AutoAlign Test for Extraction of Vision Parameters
passDir = 'C:/Users/RRD_LAB/Desktop/20220114_autoalign_param/Pass/' failDir = 'C:/Users/RRD_LAB/Desktop/20220114_autoalign_param/Fail/' smplHeight = 17500 zPosAfterPickup …
ATX Repeat Test
//Save Directory baseDir = 'C:/Users/RRD_LAB/Desktop/Scrip_Test/' visionDir = 'C:/Users/RRD_LAB/Desktop/Scrip_Test/Vision/' //Create Data …