EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  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  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: Problem with EPICS c# Library Version 1.2.0.0
From: "Bertrand Alain Gregor" <[email protected]>
To: 张玉亮 <[email protected]>, <[email protected]>
Date: Mon, 18 Jun 2012 14:15:06 +0200
Updated the download page:

http://gfa-it.web.psi.ch/epicsSharp/index.php?site=download

Will update the documentation in the coming days.

Sincerely,

Alain Bertrand

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of ???
Sent: Friday, June 15, 2012 11:56
To: [email protected]
Subject: Problem with EPICS c# Library Version 1.2.0.0

Hi all,

One problem confused me with the C# EPICS server using C# library Version 1.2.0.0. I tried to set value directly to Record from C# code, then i used caget to get the pv value, i found that the Record value was always 0 even if i have set Record value to 25. But the version before 1.2.0.0is OK! The following is my code and test:

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using PSIEpics;

namespace sharpServer
{
    class Program
    {
        static void Main(string[] args)
        {
            EpicsServer Server = new EpicsServer();
            //create a new Record which serves a double
            EpicsRecord<double> cpuRecord =Server.GetEpicsRecord<double>("PV:TEST");
            //set HIGH-Alarm
            cpuRecord.HIGH = 50;
            //set HIGH-Alert
            cpuRecord.HIHI = 75;
            //set PV value
            cpuRecord.VAL = 25;
            Console.ReadKey();
        }
    }
} 

[zhangyl@timinglinux2~]$ caget PV:TEST
PV:TEST                         0

Reagards,
Zhang Yuliang




References:
Problem with EPICS c# Library Version 1.2.0.0 张玉亮

Navigate by Date:
Prev: Has anyone built SynApps under minGW? S. Stein
Next: subArray problem Steve Hunt
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Problem with EPICS c# Library Version 1.2.0.0 Alain Bertrand
Next: Has anyone built SynApps under minGW? S. Stein
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·