Note: You must be registered in order to post a reply. To register, click here. Registration is FREE!
T O P I C R E V I E W
afzalsayd13
Posted - 02/27/2026 : 07:18:05 AM hello i have originpro 2018. windows 11. i have to do: import excel file from the folder then do fft after create plot then do nonlinear curve fit using user defined function after changing plot from linear to log log and do linear fit. i do it manually but i have to do 20*20*7 files. how to automate using labtalk. i couldnt understand how to do it fully. my code:
fft1 ix:=col(2) interval:=0.1; plotxy iy:=(1,8) plot:=201; fft and plotting nlbegin iy:=(1!1)[x0:1] theme:="123" fitting using 123 function but then i have curve on plot but there are not results after i need change plot from linear to log log Layer.x.type = 2; layer.y.type = 2; then need to do linear fit with rowx(0:1) and also get result.
linear fit was found: tree lrGUI; xop execute:=init classname:=FitLinear iotrgui:=lrGUI; lrGUI.GUI.InputData.Range1.X$ = col(A); lrGUI.GUI.InputData.Range1.Y$ = col(B); xop execute:=init classname:=FitLinear iotrgui:=lrGUI; xop execute:=report iotrgui:=lrGUI;
i dont know how is it working but it is. i need add some rowx for example (0:1). but i have no ways how exactly do it. need code exactly like i did it manually. thank you mate.