To publish an array with our server you should just do something like:
EpicsServer server = new EpicsServer();
EpicsArrayRecord<double> myArray =
server.GetEpicsArrayRecord<double>("AB-TEST:MY-ARRAY", 10);
myArray.VAL[0] = 100;
With the client, to read it and set it:
EpicsClient client = new EpicsClient();
EpicsChannel<double> myChannel =
client.CreateChannel<double>("AB-TEST:MY-ARRAY");
double[] data=myChannel.Get<double[]>();
myChannel.Put(data);
However I never uses Get and instead work with monitors which are
implemented as events in our library.
If you have other questions, just let me know.
Sincerely,
Alain Bertrand
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of zplayzplay
Sent: Wednesday, April 28, 2010 3:50 AM
To: [email protected]
Subject: Interests in EPICS c# Library
hello I am a student on Jtext Tokamak in China I am very interested in
the psi's C# EPICS Lib, especially the EpicsServer,although it's lt's a
beta.
But the documents on the PSI web does not show any thing about the
EpicsServer,and there are very little example.
So can you tell me how to publish an Array by EpicsServer in c# Lib?And
how to get or put an array?
and also can anyone give me some examples and more detialed documents
about this ?
Great thanks
- References:
- Interests in EPICS c# Library zplayzplay
- Navigate by Date:
- Prev:
çå: çå: hi,how to use burtrb to save status as a task? æåè
- Next:
LabVIEW Native Channel Access for EPICS Alan Greer
- 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:
Interests in EPICS c# Library zplayzplay
- Next:
hi, how to use burtrb to save status as a task? 汪启胜
- 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
|