-
Notifications
You must be signed in to change notification settings - Fork 2
Experimental Runs
Something Has Gone Wrong with my Experimental Run
This is from a problem see on IRIS.
- Get the script and configuration.
In this case the important bits are:
def set_sample_temp(temp, high, low, tlccr_offset): g.cset(Sample=temp, highlimit=high, lowlimit=low, runcontrol=True) g.cset(TLCCR=temp+tlccr_offset, runcontrol=False) def next_sample(temp, uamps): g.change(title="Fast Frozen Liver Cells transplant + Cryoprotectant + algae "+str(temp)+"K PG002") g.begin() g.waitfor(uamps=uamps) g.end() for i in range(47): temp += 5 set_sample_temp(temp, temp+2, temp-2,-5) next_sample(temp, 20)
- Find the PVs and plot them in log plotter
- Open IBEX GUI. Switch to the instrument in question
- If the config is loaded right click on PV and display block history (otherwise do this and edit)
- Look for the time in question (zoom out horizontally button in bar and use the hand to drag to the place)
- Add other plots which might be interesting (right click add PV)
- Block as `IN::CS:SB:
- Other PVs
IN:<instrument>:<IOC>:PV.VAL
(these must be marked in the DB file withinfo(archive, "VAL")
)
- Good blocks to choose might be SP and SP:RBVs in this case ploting the SP and SP:RBV showed that the SP had not be set in the machine. So run control hadn't been able to progress and it had hung.
This issue was encountered on Iris during the transition between Seci and Ibex. SECI was in a waiting state prior to shutdown, then IBEX was left in this waiting state. Usually SECI run control is transient i.e. set by Open GENIE and cleared on a SECI restart, so just restarting SECI would usually clear it. The is now a new PV that you can write to from IBEX to force a resync of run control
caput %MYPVPREFIX%CS:RC:SYNC:SP 1
At the end of a run log file should be transferred from C:\data
to the archive. For this to happen the files should be marked read only, then when the run ends it is copied thanks to a script in <normal user>\Documents\Configurations\COMMON\end_of_run.cmd
.
If this has failed:
- Make sure the network location d:\data<cycle> is accessible. This can need connecting to manually after a restart, i.e. open the folder in explorer.