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
oszkoa
Posted - 10/02/2007 : 10:50:00 AM Origin Version (Select Help-->About Origin): 7.5 Operating System: XP Prof
Hi all,
There is a possibility to execute a given labtalk code as the finishing step of using Import wizard. This code should be written or copied into a window serving for this purpose. In my case this code contains a simple equation the coefficients of which should be overwritten from measurement to measurement. So I have to step through the different stages of the wizard to get to the final page. It would be very convenient to store the script in an *.ogs file and modify it in a script window. Is it possible to reference somehow this script file in the window where the labtalk code in import wizard should be written? Another thing: Baseline tool behaves in a weird manner. It finds only one or two peaks on a curve that contains multiple peaks. The problem is not the peak properties settings on the Peaks tab of baseline tool since other peaks matching those limits are found. Using the Tools/Pick peaks window means no difficulties, all peaks are found.
Best regards: oszkoa
1 L A T E S T R E P L I E S (Newest First)
Mike Buess
Posted - 10/02/2007 : 12:27:04 PM Use run.section() to run a particular script in an OGS file. (Look for Run object in the index of your programming guide.) Editing the script file with each use still sounds quite cumbersome. You can use LabTalk's Getnumber command or Origin C's GetNBox to ask for new coefficient values. For example,