Thanks again Alain.
If I want to get PV
limits, I see that I can use ExtControl type, but I do not see a timestamp in
this type. Is there a single type I can use to access both of these properties,
or do I need to use ExtControl and ExtTimeType?
I was calling the wrong DateTime
constructor due to the fact I wasn't passing long values. I tested the time
stamp and from what I can see, now it seems to show the same value as the
standard epics client. Let me know if it works for you.
Thanks again Alain.
That works much better. I see the data and I see the timestamp changing.
converted date and time seem wrong. This is the value of
I run a python
camonitor on the same PV and I see this (correct):
2013-11-30 11:28:26.85700 <array size=32, type=float>
I must admit I never worked with floats
and the C# lib so far, nor I used much the arrays. Anyhow I found quite a few
issues in my code and hope to have fixed them. There is a few things I'm not
100% sure however it seems to work now. So please try to grab the latest
version and see if it works for you.
Would you expect
this code to work?
static class Program
static void Main()
EpicsClient client = new EpicsClient();
EpicsChannel<ExtTimeType<float>> record =
record.MonitorChanged += new
I see a similar
exception as before in the console window:
The given key was not present i
n the dictionary.
PSI.EpicsClient2.EpicsChannel`1.<Disconnect>b__3(EpicsChannel action) in
where TType is the type you want for the data (string, float or whatever)
And you should receive the timestamp as
Time property of it.
I am actually talking about the
client. Can you point me to some documentation/example code that accesses
The client should be able to reach any PV information,
so I guess you are talking about the server side implementation. Right? The
server is designed in such a way that you can define your own types and have
any properties you want visible through Epics. So units, limits or whatever
else you want have should be doable already.
On 11/25/2013 9:48 PM, Christopher J. Pendleton wrote:
The new code works.
I appreciate your efforts and quick response. I was wondering if there were any
plans to expose some other PV information such as timestamp, units, limits,
etc. in a future version of EpicsSharp?