I found a problem in FreeMASTER 1.3,
as fllow: in a Infinite loop ,after simple calculate in TEMP1 and I store TEMP1 value to TEMP2. In general TEMP1 and
TEMP1 must be have the same value, but I use FreeMASTER 1.3 to read TEMP1and TEMP2 ,it show different
Curve(value). Could anyone explain it?
for(i=0;i<=20;i++)
{
a=a+2;
TEMP1=(i+a);
TEMP2=TEMP1;
if(i=10)
{
i=0;
}
if( a==100)
{
a=0;
}
}
- slow sample time
- freemaster reads the variables sequentially
Bye Giacomo
- slow sample time
-freemaster reads the variables sequentially
thank for your reply
you mean when TEMP1 and TEMP2 are still calculating at that time,maybe TEMP1 is update but TEMP2 is not.
At that time FreeMASTER will load TEMP1 and TEMP2 ,causes TEMP1 is not equal TEMP2?