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
Nilsdalby
Posted - 04/07/2016 : 4:25:16 PM OriginPro 2015 SR2 and OriginPro 2016 SR2 on win 10 platform
Hi
Im having problems with the X-function levelcrossing which im using several times in a script that works fine in Origin 2015 SR2 but not in 2016 SR2. A few lines of code:
loop(i,4,10){ range rr=wcol(i); col(Threshold)[i]=rr($(col(IntersectX1)[i])); levelcrossing iy:=wcol(i) level:=$(col(Threshold)[i]) xindex:=ldsindex oy:=ldsx; };
The problem in the above is the 4th line using levelcrossing. Here it determines intersection of traces in columns (wcol) with individually determined thresholds (level) and stores the result in two loose datasets (ldsindex and ldsx). Levelcrossing used as a single line (no loop) works ok in version 2016.
What is the problem with this in 2016 SR2 ? Any help appreciated, thanks
2 L A T E S T R E P L I E S (Newest First)
Nilsdalby
Posted - 04/09/2016 : 02:29:50 AM Hi Hideo
That solved it, many thanks
Hideo Fujii
Posted - 04/08/2016 : 11:48:17 AM Hi Nilsdalby,
The level option takes the double number, so probably you don't need $(....) in: