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: 2505     Entry time: 09 May 2023     In reply to: 2504     Reply to this: 2506
Author: Alexey Kalinin 
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'

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

Alexey.

> > I tried different ways to pass parameters to bash script, but there are seems to 
> > be empty, what could be the problem?
> 
> Indeed there was a bug in the sequencer with parameter passing to scripts. I fixed it
> and committed the changes to the develop branch.
> 
> Stefan
ELOG V3.1.4-2e1708b5