Page 1 of 1

Automatic run?

Posted: Fri Jul 12, 2013 6:07 pm
by fenmick
Is there an established way to take a Run Single at a predetermined time of day? For instance, if I wanted an injection at 06h00 each day using the current method, would I need to run a .bat outside of Clarity?

Re: Automatic run?

Posted: Mon Jul 15, 2013 11:39 am
by Ivan Vins
Dear fenmick,

I will suggest to use a simple batch file using command line parameters. For details see chapter 10.2 in Clarity Reference Guide

http://downloads.dataapex.com/documenta ... -guide.pdf

to open Clarity, send the respective method and perform a run.

Note the 10.2.2.3 Example 3 on page 377, describing how to import sequence data from text file and run the sequence.

The batch could be started conveniently at desired times using the Windows native tool Task Scheduler.

Re: Automatic run?

Posted: Fri Jul 19, 2013 4:07 pm
by danisa
Dear all,

sorry if I'm replying this post, but I have (maybe) an interesting question about this request.
Feel free to move our post to another thread if you think this is off topic.

Users ask us about the possibility to run sequences with differences configuration sequencially.

For instance:

cfg 1: Sampler 1 + MainGC(with detector!)
cfg 2: Sampler 2 + MainGC(with detector!)
Then we would:
  • Open Clarity with cfg 1 with the seq1.seq file
    Run sequence1
    Wait until sequence ends
    close clarity

    Open Clarity with cfg 2 with a seq2.seq file
    Run sequence2
    Wait until sequence ends
    close clarity

    Open Clarity with cfg 1 with the seq1.seq file
    ...
    ...
    ...
We have problems to understand how to "Wait until sequence ends".
Could you please help us?

Thank you.
Regards,

Domenico Agostino

Re: Automatic run?

Posted: Mon Aug 05, 2013 12:19 pm
by Ivan Vins
Dear Domenico,

note the command line parameter Delayed_exit, which will cause Clarity to exit after the period of time specified in seconds if it has no running acquisition.

This will allow you to close Clarity after the sequence is finished.

To start next sequence you will need to prepare a batch file which will start the Clarity with next sequence after corresponding delay and call it from the post run for the last row in the pending sequence.