Experimental Physics and Industrial Control System
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
- Replies:
- Re: Problem with EPICS c# Library Version 1.2.0.0 Alain Bertrand
- RE: Problem with EPICS c# Library Version 1.2.0.0 Bertrand Alain Gregor
- Navigate by Date:
- Prev:
RE: Problems with areaDetector Prosilica driver on Windows? Mark Rivers
- Next:
Re: Problem with EPICS c# Library Version 1.2.0.0 Alain Bertrand
- 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
- Navigate by Thread:
- Prev:
Re: streamdevice: error handling for multiple lines of input from one command Dirk Zimoch
- Next:
Re: Problem with EPICS c# Library Version 1.2.0.0 Alain Bertrand
- 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