Back Midas Rome Roody Rootana
  Midas DAQ System  Not logged in ELOG logo
Entry  13 Nov 2024, Stefan Ritt, Info, New sequencer command ODBLOOKUP 
    Reply  15 Nov 2024, Konstantin Olchanski, Info, New sequencer command ODBLOOKUP 
       Reply  18 Nov 2024, Stefan Ritt, Info, New sequencer command ODBLOOKUP 
Message ID: 2892     Entry time: 13 Nov 2024     Reply to this: 2897
Author: Stefan Ritt 
Topic: Info 
Subject: New sequencer command ODBLOOKUP 
A new sequencer command "ODBLOOKUP" has been implemented, which does a lookup of a string in a string 
array in the ODB given by a path and returns its index as a number. If we have for example an array

/Examples/Names
   [0] Hello
   [1] Test
   [2] Other

and do a
 
ODBLOOKUP "/Examples/Names", "Test", index

we get a index equal 1.


/Stefan
ELOG V3.1.4-2e1708b5