Mark,
Thanks for the pointer. I got it to work, but I had to download the latest version of the PvApi library. Version 1.18 of PvApi is included in areaDetector 1.6, but PvCameraOpenByAddr didn't work. When I tried version 1.24 it worked just fine. Still testing - I haven't tried retrieving an image yet - so I'll wait until I have a little more confidence before sending you my (fairly minimal) changes.
Thanks again,
Bob
On Jun 15, 2011, at 6:09 PM, Mark Rivers wrote:
> Bob,
>
> If you change the configuration routine and constructor from
>
> int prosilicaConfig(char *portName,
> int uniqueId,
> int maxBuffers, size_t maxMemory,
> int priority, int stackSize)
>
> to
>
> int prosilicaConfig(char *portName,
> const char* address,
> int maxBuffers, size_t maxMemory,
> int priority, int stackSize)
>
> Then you can test "address" to see if it is an integer. If so, it is a UniqueID, if not it is an IP address or IP name. Then call the appropriate PvCameraOpen function. The nice thing about making this change is that it is backwards compatible with existing startup scripts, since the iocsh can pass a unique ID as an integer or a string without requiring quotes.
>
> I'm on travel or I would try it myself.
>
> Mark
- Replies:
- RE: AreaDetector: Prosilica camera on different subnet? Mark Rivers
- RE: AreaDetector: Prosilica camera on different subnet? Mark Rivers
- References:
- AreaDetector: Prosilica camera on different subnet? Bob Gunion
- Re: AreaDetector: Prosilica camera on different subnet? Robert Petkus
- RE: AreaDetector: Prosilica camera on different subnet? Mark Rivers
- Re: AreaDetector: Prosilica camera on different subnet? Bob Gunion
- RE: AreaDetector: Prosilica camera on different subnet? Mark Rivers
- Navigate by Date:
- Prev:
Re: Creating an IOCs and CA cleints for beginners Eric Norum
- Next:
RE: Snr Controls Engineer Contract Position Australian Synchrotron Dalesio, Leo
- 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:
RE: AreaDetector: Prosilica camera on different subnet? Mark Rivers
- Next:
RE: AreaDetector: Prosilica camera on different subnet? Mark Rivers
- 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
|