Back Midas Rome Roody Rootana
  Midas DAQ System  Not logged in ELOG logo
Entry  19 Aug 2015, Pierre Gorel, Bug Report, Sequencer limits 
    Reply  19 Aug 2015, Pierre-Andre Amaudruz, Bug Report, Sequencer limits 
       Reply  19 Aug 2015, Konstantin Olchanski, Bug Report, Sequencer limits 
       Reply  20 Aug 2015, Stefan Ritt, Bug Report, Sequencer limits 
Message ID: 1097     Entry time: 20 Aug 2015     In reply to: 1095
Author: Stefan Ritt 
Topic: Bug Report 
Subject: Sequencer limits 
> > - ODBGet (and ODBSet?) does seem to be able to take a variable as a path... I
> > was trying to use an array whose index would be incremented.
> 
> To be checked.

It does not take a variable as a path, but as an index. So you can do

LOOP i, 5

  WAIT seconds, 3
  ODBSET /System/Tmp/Test[$i], $i

ENDLOOP


And you will get

/System/Tmp/Test
[1] 1
[2] 2
[3] 3
[4] 4
[5] 5


/Stefan 
ELOG V3.1.4-2e1708b5