DRS4 Forum
  DRS4 Discussion Forum  Not logged in ELOG logo
Entry  Fri Feb 24 17:34:28 2017, Tarik Zengin, Passing parameters to drscl 
    Reply  Fri Feb 24 18:35:38 2017, Stefan Ritt, Passing parameters to drscl 
Message ID: 588     Entry time: Fri Feb 24 17:34:28 2017     Reply to this: 589
Author: Tarik Zengin 
Subject: Passing parameters to drscl 

Hi everyone,

I wonder if there is a way to pass parameters to drscl. What I specifically want to do is calling drscl from a shell script and read/save some data. I want to schedule a measurement. Therefore I need to call drscl from the command line using some parameters.

It would look something like this;


for i in {0..100}


    echo "Reading $i"

    ./drscl read 0 0 test.xml

    sleep 1


This doesn't work of course. drscl won't take arguments from the command line. Can you suggest a way to do this please?

Thank you.

ELOG V3.1.5-fc6679b