Jinhu,
I should have replied sooner --sorry. I have some C/C++
code which implements "caget" within matlab. It is a "mex"
file, which is basically a shared object file which matlab
loads at run-time. You're welcome to my code; there's just
one problem: it doesn't work! I haven't had time to track
down why, but for some reason the CA client code fails on
the call to socket(), leaving errno = NO_ERROR.
I contacted matlab support, but they were unable to provide
any assistance. Because it was an unimportant side-project,
I shelved it. If you would like to start with this code,
you are welcome --it may even work just fine on some platform
other than HP-UX.
Regards,
Chris
--
Christopher Larrieu
Jefferson Laboratory
(757)269-5097
"Song, Jinhu" wrote:
>
> Hi, All:
>
> A few weeks ago, I sent out email ask about
> EPICS extension for MATLAB. Because we did
> not receive any response about it, we decide
> to write our own.
>
> The first step will only implement caget, caput
> with array support.
>
> Jinhu
>
> Jinhu Song, Ph.D.
> Computer Analyst
> SNS-BNL Control Group
> BLDG 817
> Brookhaven National Lab
> Upton, NY 11973
> ==================================
> -----BEGIN PGP PUBLIC KEY BLOCK-----
> Version: PGPfreeware 6.5.3 for non-commercial use <http://www.pgp.com>
>
> mQENAzjhHikAAAEIAM9lLHKRQJqyJZ0+7oetbr8vaUHyfRDHGVvBYIzVSCvbYfQN
> qecPH5TsTjF6MMGZne+dB1IvnskrTmxtDs06EAWuioKylKQPUxaJk4Bnqco0f6U6
> u+zVlO0MXsE8KOQS6ISb+Ygg8j8TYsAGXaN91iYCFIzIijgH3dcWy6ueZIAdwJZx
> SAb11Ba+1PPnFrXo2ciFqROzizKDmTzxS2nliJWnz0HVedMn1TxXl8Vd1Nu3MGXF
> C87Nb89S0x759ShpRjo619hymS+OVDpTgWfYVjn8jrPXc9JPVwqpf4B4H+3cuKfm
> HvMjjOb/oV/noLxtWV8zk4y6dR8gjZ+zAeK0pwkABRG0Gkppbmh1IFNvbmcgPGpp
> bmh1QGJubC5nb3Y+iQEVAwUQOOEeKY2fswHitKcJAQFUWwf+MD24kTKq0q9Ad+rW
> 4oS/TNkS1peB/F3KI2VYxAtpbCAUjFL/n55JZ50in14mHCauMdlPQBE6VkBR+qiM
> l8Jp3qpbCKGmDUNtTPx9O6AcQkXn+jbPXYcf6HXVTw6aMEUeLX15iAHotgqxQ6nX
> k/XNU7bjDM8ADnNz8K4dEdVQkqFTZ301IgxHO0Js3Y6sDEbtkyBXGB5b0k+PTotg
> gh9j+huDlVgwlKJtrSX4mPpJSvRr2aJnfRNvz/d5EVVyZ+X3KnjpG3Kz/2uDAPp7
> 0OCRyJ3VCCmI0VZ/nG5ENx/LENUntI8vK/PZ54T7VUaadAXaQr15B54uD3/3Wxp4
> oF+8WA==
> =AIrl
> -----END PGP PUBLIC KEY BLOCK-----
>
>
- References:
- matlab Song, Jinhu
- Navigate by Date:
- Prev:
matlab Song, Jinhu
- Next:
Re: aao record behaviour Eric Bjorklund
- Index:
1994
1995
1996
1997
1998
1999
<2000>
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
matlab Song, Jinhu
- Next:
Matlab Ned Arnold
- Index:
1994
1995
1996
1997
1998
1999
<2000>
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
|