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: Microsoft managed code CLI C++ and EPICS
From: Mark Rivers <[email protected]>
To: Mark Clift <[email protected]>, "[email protected] ([email protected])" <[email protected]>
Date: Tue, 25 Sep 2012 11:15:40 +0000
Hi Mark,

I have not done it, but I also have a need for it.  The Roper/Princeton Instruments cameras now come with a program called LightField, which is written in C#.  I plan to write an areaDetector driver for that program, which will be similar to the existing Roper driver that calls their old WinView program using COM.

I got as far as figuring out the using the Interop facility was the way to go, and writing a small test program in MS Visual Studio 2010 to control LightField from C++.

Let me know what you learn.

Thanks,
Mark

________________________________________
From: [email protected] [[email protected]] on behalf of Mark Clift [[email protected]]
Sent: Tuesday, September 25, 2012 4:10 AM
To: [email protected] ([email protected])
Subject: Microsoft managed code CLI C++ and EPICS

Hi All,

I am attempting to write an asynPortDriver based EPICS driver for a robot and the manufacturer has provided a dll which is written in Microsoft managed VC++.  I have found I can call the managed functions from non-managed C or C++ using either a COMwrapper written in C#, or using the microsoft interop facility called IJW (It just works).  To use the IJW facility I must use a compiler option /clr and #include <vcclr.h>.

I cannot get base-3-14-2-2 or Asyn 4-20 to compile with the /clr option.

Has anybody succeeded in building any version of EPICS base, and Asyn using VC++ 2010 or above using the /clr option ?

Does anybody have  experience combining managed CLI C++ with EPICS ?

I'd love to hear from anybody with CLI C++ and EPICS experience.

Thanks,

Dr. Mark Clift
Senior Controls Engineer
Australian Synchrotron
800 Blackburn Road
Clayton 3168
Ph: +613 8540 4264
Fax: +613 8540 4200
Mail: [email protected]


References:
Microsoft managed code CLI C++ and EPICS Mark Clift

Navigate by Date:
Prev: Microsoft managed code CLI C++ and EPICS Mark Clift
Next: EPICS Collaboration Meeting October 2012 Ilyou Kim
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: Microsoft managed code CLI C++ and EPICS Mark Clift
Next: Microsoft managed code CLI C++ and EPICS Mark Clift
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 ·