EPICS Home

Experimental Physics and Industrial Control System


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

Subject: Epics C# Library problems
From: Perrier Pierre <[email protected]>
To: "[email protected]" <[email protected]>
Date: Wed, 21 Sep 2011 14:39:40 +0000

Hello,

 

I’m trying the EPICS C# Library in order to create a client to manage a Camera IOC. Unfortunately, I have some problems with the monitoring of waveforms records.

 

I want to monitor a waveform PV which contains data of a 640x480 gray scale picture (integers from 0 to 255). So it’s a large waveform of 307,200 elements. When  I process the following code, I catch a “Server did not respond in Time to Get Request” exception ( or , in debug mode,  the code doesn’t return).

 

 

EpicsClient m_client = new EpicsClient();

try{

                EpicsChannel<int> m_acquisitionCamera = m_client.CreateChannel<int>(“CameraJAI :Acquisition”) ;

                Int[] l_data = m_acquisitionCamera.Get<int[]>() ; 

} catch (Exception e){

                System.Console.WriteLine(e.Message) ;

                System.Console.WriteLine(e.StackTrace) ;

}

 

Is there a way to fix this problem ? Any advices ? In order to really create a monitor, someone can show me a short sample of an EPICS C# monitor which manages an array record.

 

 

Best Regards,


Pierre PERRIER

Stagiaire - MCO LIL

Sopra group.

Parc Innolin
9 rue du Golf 33700 Merignac
Phone : +33 (0)5 56 12 79 59
[email protected] - www.sopragroup.com

 

Ce message peut contenir des informations confidentielles dont la divulgation est à ce titre rigoureusement interdite en l'absence d'autorisation explicite de l'émetteur. Dans l'hypothèse où vous auriez reçu par erreur ce message, merci de le renvoyer à l’émetteur et de détruire toute copie.

P Pensez à l’environnement avant d’imprimer.

 


Replies:
RE: Epics C# Library problems Bertrand Alain

Navigate by Date:
Prev: Modbus data to float32 ? Olivier Zimmermann
Next: RE: Modbus data to float32 ? Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Modbus data to float32 ? Eric Norum
Next: RE: Epics C# Library problems Bertrand Alain
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024