Automatic run?

You can discuss anything concerning Clarity in this section.
Post Reply
fenmick
Posts: 2
Joined: Thu Jul 11, 2013 10:12 pm

Automatic run?

Post 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?
Kelly Pennock

User avatar
Ivan Vins
DataApex Support
DataApex Support
Posts: 183
Joined: Fri Mar 27, 2009 3:16 pm

Re: Automatic run?

Post 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.
Ivan Vinš

danisa
Posts: 67
Joined: Fri Mar 27, 2009 3:15 pm

Re: Automatic run?

Post 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
Agostino Domenico

User avatar
Ivan Vins
DataApex Support
DataApex Support
Posts: 183
Joined: Fri Mar 27, 2009 3:16 pm

Re: Automatic run?

Post 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.
Ivan Vinš

Post Reply