nthallen / monarch

Monarch Data Acquisition System
0 stars 1 forks source link

TMA: Apparent bug during state initialization #175

Open nthallen opened 2 years ago

nthallen commented 2 years ago

Code in scopex nav.tma currently saved in branch TMA_BUG. Looks as though code like:

State Port_1 {
     > _Set Nav Status Port1
     { TMC code }
  +1 Hold until (...)
}

will never execute the TMC code. There is a rate dependence in the TMC code, but it should be 1 Hz. Adding '+1' before the TMC Code block allows it to be executed.