It will work if the fitting function is Python Vectorial and all the other peak functions, as well as baseline function used, are built-in, i.e. DLL-based; Python Vectorial fitting functions cannot be mixed with LabTalk or Origin C functions when fitting peaks.