Back Midas Rome Roody Rootana
  Midas DAQ System  Not logged in ELOG logo
Entry  13 May 2015, Andreas Suter, Forum, Check if Client is running from Javascript 
    Reply  13 May 2015, Stefan Ritt, Forum, Check if Client is running from Javascript 
    Reply  13 May 2015, Thomas Lindner, Forum, Check if Client is running from Javascript 
       Reply  14 May 2015, Andreas Suter, Forum, Check if Client is running from Javascript 
    Reply  13 May 2015, Konstantin Olchanski, Forum, Check if Client is running from Javascript 
Message ID: 1056     Entry time: 14 May 2015     In reply to: 1054
Author: Andreas Suter 
Topic: Forum 
Subject: Check if Client is running from Javascript 
Thanks a lot! This helps for now.

Thomas Lindner wrote:

Andreas Suter wrote:
Is there currently an easy way to check from javascript if a midas client is
running? I mean an equivalent to cm_exist.

Sometimes this would be very useful in custom pages.


It is not as clean as what you asked, but I have in the past written javascript like this to check if a program is running

var req = new Array();
req[0]= "Programs/towerfe3_00/First failed";
var result = ODBMGet(req);
if(result[0] == 0){
// then program is running
}
ELOG V3.1.4-2e1708b5