Origin Ver. and Service Release (Select Help-->About Origin): 2018 Pro German 64 bit SR1 Operating System: WIN 10
I have some questions about the peak analyzer tool (pa) and how to operate with them together with my labtalc scripts. I mainly use the below baseline tool:
pa iy:=APSPROFILE_B theme:=APS_BASELINE smode:=0;
where APSPROFILE_B is just a vector and APS_Baseline is a baseline fitting design using Asymmetric least squares smoothing (ALSS).
1: Is it possible to detect if and when the batch process (smode=1) has stopped? Important for starting other dependent scripts once pa is done.
2: Is it possible to set and read the pa_alsbase fit parameters in command line modus? Is there any other explicit access to these parameters? Would be nice to have for Quality Control documentation.
3: Is it possible to call the subroutines, such as pa_alsbase, separately via command line?
4: Can I copy the pa XFunction and adapt/tailor it to my needs?
1. When you run a series of scripts, the later will begin only when the former finishes. If you run pa in a loop and it stops in a loop, the whole scripts will stop and dump error message.
2.3. pa_alsbase and other pa relative X-Function cannot access by LabTalk. Please consider using “Baseline with Asymmetric Least Squares” tool instead: