#---------------------------------------------------------------------+ # Copyright (c) 2000 NRG Gladstone Operating Services. | # All Rights Reserved. | # | # | # This is free software; you can redistribute it and/or modify it | # under the terms of the GNU General Public License as published by | # the Free Software Foundation; either version 2 of the License, or | # (at your option) any later version. | # | # This software is distributed in the hope that it will be useful, | # but WITHOUT ANY WARRANTY; without even the implied warranty of | # merchantability or fitness for a particular purpose. See the GNU | # General Public License for more details. | # | # To obtain the GNU General Public License, write to: | # | # Free Software Foundation, Inc. | # 59 Temple Place - Suite 330 | # Boston, MA 02111-1307 | # USA | #---------------------------------------------------------------------+ /* # $Log: README,v $ # Revision 1.2 2000/08/30 05:50:04 dbond # Updated notes for use with AIM* historian. # Change submitted by JMarkham (8/16/00) # # Revision 1.1 2000/03/19 22:07:43 dbond # Initial revision # # # # $Id: README,v 1.2 2000/08/30 05:50:04 dbond Exp $ */ What it does: This program allow Object Manager(OM) variables to be accessed in a similar way to omget/omset. Unlike omset/omget it does not broadcast for the data for each variable on each request. The PSAP address for each variable is found for the first request and stored in a database for subsequent requests. It does not use OM lists to minimise the continuous load on the CP OM lists. How it works: The server program (multisvc) runs on a Foxboro Sun Box and listens for Remote Procedure Call requests from the client program (omrd/omwr) which can run on a Foxboro box, a non-Foxboro Sun box or a Linux box. The server program forks a copy to service each request for data from the client. Required: gcc (Not tested with Sun CC) Download compressed source code and documentation (32 KB) To Build: Solaris Foxboro computer:
Linux (Tested on RedHat6.1 ...)
To Use:
To Test: omrd [AW/WP/AP running multisvc] C:B.P eg.: omrd ENGAW1 3XXXX:XXXXXX.OUT will return (in my case) 3XXXX:XXXXXX.OUT 280.137Use of the client programs: The client programs (omrd/omwr) can take up to 100 variables at a time and can read the data from the command line or from a file.
There is also some html files (rpc_client.html & rpc_server.html) which give a discription of the internal workings of the code. Note: The included binaries will work only on an AW/WP running the legacy historian (or no historian - I think). For any other situation you will need to recompile. (jmarkham 8/16/00) Author Darryl Bond <dbond@nrggos.com.au> Copyright ©2000 The Cassandra Project. All rights reserved. web posted: 15 March 2000 last updated: 30 August 2000 Contact the webmaster for comments and/or questions. |