On 04/21/2015 02:12 AM, Tan, Ting Rei wrote:
> On a similar note, is there any documentation on the workflow/communication 
> between the GUI and the master? There are several things I'm curious about: 
> 
> 1. When the master receive data from the core devices, how does the data get 
> to the GUI machine? Is the data get sent to the GUI machine in a 
> fire-and-forget fashion? Or Is it that the GUI will access a 
> directory/database in the master after a notification is sent from the master
> 2. Where exactly are data live during a real time scan? 
> 3. When will data be actually saved into the HDF5 file? Is the HDF5 file 
> being updated each time a data enter the master? Or the saving only happened 
> after a scan is finished? 

Results reside in-memory until the experiment (which may include scans)
is completed. After the end of the experiment, all results are saved
into one HDF5 output file. Results that are flagged real-time are
synchronized immediately with all GUI clients (using
artiq.protocols.sync_struct), others only remain in the master's memory.

Sébastien

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

Reply via email to