1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 <2008> 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 | Index | 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 <2008> 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 |
<== Date ==> | <== Thread ==> |
---|
Subject: | javaIOC |
From: | Marty Kraimer <[email protected]> |
To: | TechTalk EPICS <[email protected]> |
Date: | Tue, 23 Sep 2008 14:49:57 -0400 |
A new release of the javaIOC is now available.See JavaIOC
The following sections briefly describe the major new features since the last release.
With the addition of the _expression_ support the javaIOC is usable as a soft IOC. Note that the previous release included both client and server code for communication with EPICS.
The database and the XML parsers have been changed as follows:
A simple example of a record instance is:
<record name = "simple"> <value type = "double" /> </record>
This is a record instance that has a single field named value of type double.
As a more complicated example consider the following:
<record name = "notQuiteAsSimple"> <value type = "double" /> <alarm structureName = "alarm" /> <timeStamp structureName = "timeStamp" /> <display structureName = "display" /> <input structureName = "inputSupport"> <pvname>somePV</pvname> </input> <scan structureName = "scan"> <type><choice>periodic</choice></type> <rate>1.0</rate> </scan> </record>
This example has the following fields:
Support is implemented for calculating scalar expressions. The syntax is the same as a java _expression_. The result is assigned to the value field. The java types boolean, byte, short, int, long, float, and double are supported. All java Math functions are supported. The ?: operator is supported. Java constants are supported including Math.PI and Math.E. The following are legal expressions:
A portDriver for VXI11 has been implemented but not tested that implements the VXI11 network protocal. One of the next goals is to support STREAM protocal files and simple network devices like the MOXA terminal servers. When this is done the javaIOC can be used as a soft IOC as well as for communication with serial and gpib and other message based devices.