Set Current Amp.

PowerScript

This code can be used when a current amplifier setting is required while using the current-related options. (

main 0 files
Set Current Amp...js
Set Current Amp...js 332 bytes
//DC or AC
var params = { 
	"id": "park.nx.linear.dc", // dc or ac 
	"nx": { "linear": 
		{"preGainPower": 6, // 6 or 9
		  "postGainPower": 3, // 0 or 1 or 2 or 3
		  "currentOffset": 3 }}}; // unit: nA

spm.currentamp.config = params;


//Log
var params = { 
	"id": "park.nx.log"
}

spm.currentamp.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: 13
Stars: 2