Mike Buess
USA
3037 Posts |
Posted - 02/01/2007 : 3:38:40 PM
|
So you want to disable everything but the Result Log report? There's no option for doing that with the Analysis > Calculus > Integrate command but you can assign the LabTalk script below to the Custom Routine button like this.
#Integrate %C (from zero) %A=%C; integ %C; if (MkS1>=0) { i1=MkS1; i2=MkS2; } else { get %C -b i1; get %C -e i2; } SaveRedirection=type.Redirection(16,3); type.BeginResults(); ty $granaly.IntegFromZero; ty "i = $(i1) --> $(i2)"; ty "x = $(integ.x1) --> $(integ.x2)"; ty "Area Peak at Width Height"; separator 4; ty "$(integ.area) $(integ.x0) $(integ.dx) $(integ.y0)"; type.EndResults(); type.Redirection=SaveRedirection; // restore previous redirection. delete -v SaveRedirection;
Mike Buess Origin WebRing Member
Edited by - Mike Buess on 02/01/2007 3:40:02 PM
Edited by - Mike Buess on 02/01/2007 3:48:16 PM |
 |
|