vnattar / coltonlab

Automatically exported from code.google.com/p/coltonlab
0 stars 0 forks source link

magnet control program - don't "lock out" when changing field #76

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago

When changing to a different magnetic field, the magnet control program
stops updating the temperature and the needle valve setting. It shouldn't
stop that.

Original issue reported on code.google.com by john.s.c...@gmail.com on 11 Aug 2009 at 8:37

GoogleCodeExporter commented 9 years ago

Original comment by AaronMit...@gmail.com on 27 Aug 2009 at 10:04

GoogleCodeExporter commented 9 years ago
There's a comment in the program (below where this defect occurs) that says 
"field
buttons - cannot do these at the same time!" It seems like Lee, or someone, did 
this
on purpose so that the magnet doesn't crash while going to field. It's easy to 
fix,
but where's that blasted resistor?!?

Original comment by AaronMit...@gmail.com on 8 Sep 2009 at 8:49

GoogleCodeExporter commented 9 years ago
Magnet power supply now has a resistor for the switch heater, so program away!

Original comment by AaronMit...@gmail.com on 30 Sep 2009 at 4:46

GoogleCodeExporter commented 9 years ago
I fixed the problem (as near as I can tell). However, it seems the "lock-out" 
was
programmed on purpose. I didn't find any problems when I ran the program after 
fixing
the lock-out, though. In the top left while loop, I just took out a case 
structure
that wouldn't run the stacked sequence structure when the variable "working" 
was true.

Original comment by AaronMit...@gmail.com on 11 Dec 2009 at 5:35