[Date Prev][Date Next][Date Index]

scan.pro




Guys,
Felix ran into a couple of problems with the IDL scan program scan.pro,
and I've installed a bug-fixed version in the topo directory and in
my development directory:
/home/oxygen/TOPO/idl/lib/scan.pro
/home/oxygen/MOONEY/idl/demo/scan.pro

There were three problems, two of which have been fixed:

1) Occasionally, the program would count for only a small fraction of the
expected time because 'caget(scaler_done_name, /monitor)' would be fooled
by old information into thinking the scaler was done.  This was fixed
by adding a 'caget(scaler_done_name)' after
'caget(scaler_done_name, /monitor)'.

2) When counting for longer than 60 seconds, the scaler database would
frequently stop prematurely.  This problem has not been fixed.

3) IDL plot routines were not being allowed to finish.  I'm guessing
the plot routine's time slice is getting yanked out from under it by the
CaWaitMonitor and caget(xx, /monitor) stuff.  The fix was to add
'wait,0.01' before the monitor stuff gets called.

Tim