Back Midas Rome Roody Rootana
  Midas DAQ System  Not logged in ELOG logo
Entry  08 May 2023, Alexey Kalinin, Forum, Scrript in sequencer 
    Reply  08 May 2023, Stefan Ritt, Forum, Scrript in sequencer 
       Reply  09 May 2023, Alexey Kalinin, Forum, Scrript in sequencer 
          Reply  10 May 2023, Stefan Ritt, Forum, Scrript in sequencer 
Message ID: 2506     Entry time: 10 May 2023     In reply to: 2505
Author: Stefan Ritt 
Topic: Forum 
Subject: Scrript in sequencer 
> Thanks. It works perfect.
> Another question is:
> Is it possible to run .msl seqscript from bash cmd?
> Maybe it's easier then
> 1 odbedit -c 'set "/sequencer/load filename" filename.msl'
> 2 odbedit -c 'set "/sequencer/load new file" TRUE'
> 3 odbedit -c 'set "/sequencer/start script" TRUE'

That will work.

> What is the best way to have a button starting sequencer
> from  /script (or /alias )?

Have a look at 

https://daq00.triumf.ca/MidasWiki/index.php/Sequencer#Controlling_the_sequencer_from_custom_pages

where I put the necessary information.

Stefan
ELOG V3.1.4-2e1708b5