Experimental Physics and
| |||||||||||||||
|
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
| ||||||||||||||
ANJ, 02 Sep 2010 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing · |