Mike Buess
USA
3037 Posts |
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,
getnumber (coefficient 1) c1 (coefficient 2) c2 (coefficient 3) c3 (coefficient 4) c4 (Enter new coefficients); c1=; c2=; c3=; c4=;
(In that example the getnumber command has six lines and only the last line ends with a semicolon.)
Mike Buess Origin WebRing Member
Edited by - Mike Buess on 10/02/2007 12:28:38 PM |
|
|