Slave synch logic AH 22.3.04 Functions in module obs.c All logical tests are level sensitive, not edge sensitive. In nodobs: * wait for NodA or NodB to go high * (set appropriate nodside) * check that other nod is not high; if so, exit with error NDTIMERR_FLG * go to chopobs In chopobs: * wait for Chop high * wait for Blank low * (get data for first chop side) * check that Blank is low; if not, exit with error BLTIMERR_FLG * check that Chop is high; if not, exit with error CHTIMERR_FLG * (transfer data from acq to acc buffer, switch chop side) * wait for Chop low * wait for Blank low * (get data for second chop side) * check that Blank is low; if not, exit with error BLTIMERR_FLG * check that Chop is low; if not, exit with error CHTIMERR_FLG * (transfer data from acq to acc buffer, switch chop side) * repeat ********************************************** Master synch logic In nobdobs: * set Blank high * (nod telescope) * go to chopobs In chopobs: * set Chop high * set Blank high * wait for chopper transistion * clear Blank * (take side 1) * set Chop low * set Blank high * wait for chopper transistion * clear Blank * (take side 2) * repeat