Advertisement
Guest User

Untitled

a guest
Apr 24th, 2014
42
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.45 KB | None | 0 0
  1.  
  2.         if (strcmp(Setpoint_state[VarTable[i]],"R") != 0)   // if a ramp then grab the input as a starting point
  3.           Setpoint_Output[nID] = (float)atof(Setpoint_Value[VarTable[i]]); // else output the new setpoint
  4.         RampTimer[VarTable[i]] = -1;    // endpoint of ramp is met: ramp reset
  5.         OldValue[VarTable[i]]  = -1.0f; // endpoint of ramp is met: start temp is reset
  6.         break; // exit from for loop
  7.       }
  8.     }
  9.     else {
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement