On 08/20/2015 01:24 AM, Tan, Ting Rei wrote:
> I am still getting myself familiar with the GUI. Two others question I have 
> now are:
> 
> 1. Regeneration of GUI parameter tool: after adding a parameter tool into the 
> script, e.g. self.attr_argument("Boo1", BooleanValue(True)). I will need to 
> use the command artiq_client scan-repository in a terminal to update the 
> parameter tool. Is there a better way of doing this? Maybe a button at the 
> GUI to provide this function? 

When using Git, the experiment repository is automatically rescanned on
push (or commit, depending how you configure it). Consistently, when
using the bare filesystem as experiment repository backend, the GUI
assumes that triggering the rescan is done externally.

http://m-labs.hk/artiq/manual/management_system.html#git-integration

What is the use case/scenario for triggering a rescan from the GUI?

> 2. How to implement 'pause' for a running experiment, e.g. during a scan. 

self.attr_device("scheduler") in build() and then self.scheduler.pause()
in the loop in run() when you want to pause.

http://m-labs.hk/artiq/manual/management_system.html#pauses

Sébastien

_______________________________________________
ARTIQ mailing list
https://ssl.serverraum.org/lists/listinfo/artiq

Reply via email to