Hi,
This seems to be a bug introduced in 9.0 SR1, we will try to fix it as soon as possible. Sorry for the inconvenience.
For now there are two workaround to turn off speed mode for all layers successfully:
1) add "layer -a" command to rescale the new layer, so that part of your script can be modified as:
worksheet -p 226 contour;
layadd userdef:=1 linkto:=0 xaxis:=none yaxis:=none;
layer -i M372ddNormRea; // add another matrix to second layer
layer -a;
2) use the "sec -p" command to pause the executing of the "speedmode" x-function, so that part of your script can be modified as:
label -a 1.5 19 -b 2 \p100(\b(\i(R--)));
sec -p 1;//pause for 1s before executing the next line
/*Note that the pause time may need to be longer if you have bigger matrix data*/
speedmode index:=folder sm:=off;
Hope this information helps!
Kathy
OriginLab