EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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

Subject: RE: Matlab MCA: arrays; maintain it; OSX
From: "Steven Banks" <[email protected]>
To: "'Kay-Uwe Kasemir'" <[email protected]>, "'tech talk'" <[email protected]>
Date: Fri, 9 Jun 2006 14:30:02 +1000
Kay,

We do not yet have a web-page where we can place MCA (or any other of our
tools at present.)  We would consider doing this in the future.

I have updated our local copy of MCA with Kay's change and it is available
for anyone who wants it via a zip file.

If someone has the ability to update the copy of MCA on the SNS web-site,
please could you email me and I will send you our latest version.

Dr. Steven M. Banks - Control Systems Engineer 
Australian Synchrotron Project 
Major Projects Victoria 
800 Blackburn Road 
CLAYTON VIC 3168 
tel: +613 8540 4103 
fax: +613 8540 4200 

mailto:[email protected] 
http://www.synchrotron.vic.gov.au 



-----Original Message-----
From: Kay-Uwe Kasemir [mailto:[email protected]] 
Sent: 9 June 2006 3:32 AM
To: tech talk
Subject: Matlab MCA: arrays; maintain it; OSX


Hi:

Where do you get the Matlab Channel Access client, MCA?

There's a link on the APS EPICS extensions web page that
points to http://ics-web1.sns.ornl.gov/mca.html,
but that page was once set up by Carl, who's now back at LBL,
and doesn't reflect what's currently in the SNS CVS repository.

In case you're using those SNS sources:
I didn't get monitors for arrays to work, i.e. something like this

    pv = mcaopen('some_waveform_pv');
    mcamon(pv, 'plot(mcacache(pv));');
    mcamontimer('start');

would receive monitors and plot, but the data would be odd,
and only the first array element actually changes.
What seems to fix it: In mca/Channel.cpp, around line 558, replace
        status = ca_add_event(RequestType, ChannelID,  
MonitorEventHandler, this, &EventID);
with
        status = ca_add_array_event(RequestType, ca_element_count 
(ChannelID), ChannelID,
                                    MonitorEventHandler, this, 0.0,  
0.0, 0.0, &EventID);

---

There were recent tech-talk messages about the
Matlab Installation Procedure for Windows at the Australian Synchrotron.
Do you have those on a web page? Do you want to add the mca sources
and become the official mca maintainer?

---

Meanwhile, when trying to use that on MacOSX, I'm stuck with Matlab
requiring the older gcc3.3 for mex, while the default OSX compiler is
now gcc4, and I'd prefer to build EPICS base with that.
The last I heard was: No way, use "gcc_select 3.3" for everything.
Does anybody have any news?
(I submitted a 'feature' request to the Mathworks about gcc4.0 support,
  and got a "thank you, we'll contact you" screen).

-Kay




References:
Matlab MCA: arrays; maintain it; OSX Kay-Uwe Kasemir

Navigate by Date:
Prev: Re: ioc daemon David Kline
Next: First Turn(s) in the Storage Ring at the Australian Synchrotron Steven Banks
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Matlab MCA: arrays; maintain it; OSX Kay-Uwe Kasemir
Next: First Turn(s) in the Storage Ring at the Australian Synchrotron Steven Banks
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·