-
Notifications
You must be signed in to change notification settings - Fork 2
Experimental Runs
Adrian Potter edited this page Oct 19, 2016
·
12 revisions
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. The cause was an experiment that had been left running in Seci, but which didn't appear either in Ibex or in the front panel LabView VI. The issue is most likely to occur on systems that are transitioning to Ibex that occasionally might fall back to Seci as a backup.
If the issue occurs, the following remedy worked in this case:
- Go into
C:\data
and move all files beginning withselog.sq3
to a backup location.- If the files cannot be moved because they are in use, it may be that Seci or the
isisicp.dae
task is still using them. Make sure they are shut down (potentially requiring the task manager).
- If the files cannot be moved because they are in use, it may be that Seci or the
- Make sure the Ibex server is stopped
- Open Seci
- End the run
- Note
End
and notAbort
. The former worked in this case, we don't know if the latter would have the same effect. - If there is no run in progress, it might suggest a different root cause for the issue.
- Note
- Close Seci
- Restart the Ibex server
- Open the Ibex client
- Try beginning the run