Set the KPFM Parameters (w/ phase tuning)
PowerScript
How to set the KPFM Parameters (w/ phase tuning)
main
0 files
Set the KPFM …..js
Set the KPFM …..js
568 bytes
// Set sample bias
//spm.bias.sample.value = 2; // Disabled the Dual Sample Bias
spm.bias.sample.forward = 2;
spm.bias.sample.backward = 3;
// Set tip bias
spm.bias.tip = 3; // DC
// set each parameters for KPFM configuration
var d = spm.kpfm.config;
d.isServoOn = false;
spm.kpfm.config = d;
spm.sleep(50) // at least 50 ms
spm.kpfm.startTuning()
spm.sleep(50) // at least 50 ms
var params = {
"isServoOn": true,
"servoGain": 0.3,
"servoType": 1,
"workFunctionOffset": 0.0,
"useSidebandServo": false // false: AM
};
spm.kpfm.config = params;
Comments (0)
No comments yet. Be the first to comment!
Snippet Information
Author:
Jioh.Kwon
Language: PowerScript
Created:
Jan 12, 2026
Updated:
0 minutes ago
Views: 14
Stars: 2