Back Midas Rome Roody Rootana
  Midas DAQ System  Not logged in ELOG logo
Entry  29 Sep 2004, Stefan Ritt, Info, Increased number of clients in midas.h, important! 
    Reply  03 Oct 2004, Konstantin Olchanski, Info, Increased number of clients in midas.h, important! 
       Reply  03 Oct 2004, Stefan Ritt, Info, Increased number of clients in midas.h, important! 
          Reply  03 Oct 2004, Konstantin Olchanski, Info, Increased number of clients in midas.h, important! 
             Reply  04 Oct 2004, Stefan Ritt, Info, Increased number of clients in midas.h, important! 
                Reply  08 Oct 2004, chris pearson, Info, Increased number of clients in midas.h, important! 
                   Reply  08 Oct 2004, Konstantin Olchanski, Info, Increased number of clients in midas.h, important! 
Message ID: 153     Entry time: 04 Oct 2004     In reply to: 152     Reply to this: 154
Author: Stefan Ritt 
Topic: Info 
Subject: Increased number of clients in midas.h, important! 
> Right. We cannot fix the past, but we should fix the future. BTW, "do not mix versions" is hard to enforce and mismatches did, do and
> will happen

For remote connections (through mserver), there is already a version check. If the minor version differs, you get a warning, if the major
versions differ (1.>>9<<.4), the client won't start. So at least for remote connection you get a clue.

> For one thing, looking at a given midas-using executable, how do I tell what version of midas it has inside?

Ther is a function cm_get_version() returning the version. As for the executable, all you can do is a

strings <executable> | grep 1.9
ELOG V3.1.4-2e1708b5