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  2012  2013  2014  2015  2016  <20172018  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  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Andor shamrock not detected
From: Hinko Kocevar <[email protected]>
To: Mark Rivers <[email protected]>
Cc: "[email protected]" <[email protected]>
Date: Mon, 11 Dec 2017 09:12:21 +0100
FYI, solved. It was the Andor support library that made the difference.
Thanks,
Hinko

On Fri, Dec 1, 2017 at 8:06 PM, Hinko Kocevar <[email protected]> wrote:
> Hi Mark,
>
> It is on Linux. ADAndor is master branch from github. It worked before, with
> another ADAndor version, and AD 2-6.
>
> Come to think of it, I might not be using the same compile vs. Runtime Andor
> support libs.. Need to double check that one.
>
> Thanks,
> Hinko
>
> On Fri, 1 Dec 2017 at 18:04, Mark Rivers <[email protected]> wrote:
>>
>> Also, how is your spectrograph connected to the computer?  Is it directly
>> connected via USB or indirectly via the connector labeled "Camera".  The
>> latter is how mine is connected.
>>
>> Mark
>>
>>
>> > -----Original Message-----
>> > From: Mark Rivers
>> > Sent: Friday, December 01, 2017 10:51 AM
>> > To: 'Hinko Kocevar'; [email protected]
>> > Subject: RE: Andor shamrock not detected
>> >
>> > Hi Hinko,
>> >
>> > Is this Linux or Windows?
>> >
>> > What version of ADAndor?
>> >
>> > Did it ever work, or is this the first time you have tried it.
>> >
>> > I do recall some people at the APS having trouble with the Shamrock
>> > under Linux, but I
>> > think they did get it working.  It is working fine for me under Windows.
>> >
>> > Mark
>> >
>> >
>> > > -----Original Message-----
>> > > From: [email protected]
>> > > [mailto:[email protected]] On Behalf
>> > > Of Hinko Kocevar
>> > > Sent: Friday, December 01, 2017 10:31 AM
>> > > To: [email protected]
>> > > Subject: Andor shamrock not detected
>> > >
>> > > Hi,
>> > >
>> > > I have trouble talking to Andor shamrock spectrograph.
>> > > It fails after calling Andor API:
>> > >
>> > > error = ShamrockGetNumberDevices(&numDevices);
>> > >
>> > > because numDevices evaluates to < 1.
>> > >
>> > > If I try with Andor supplied C example it works fine, I can control
>> > > the spectrograph.
>> > >
>> > > Here is what the example does for initialization - and it does not
>> > > look any different, AFAICT, from what EPICS AD Andor support does:
>> > >
>> > >
>> > >         //Initialize CCD
>> > >         error = Initialize("/usr/local/etc/andor-2.102.30001.0");
>> > >         if(error!=DRV_SUCCESS){
>> > >                 cout << "Initialisation error: " << error << "
>> > > ...exiting" <<endl;
>> > >                 return(1);
>> > >         }
>> > >         cout << "Camera ready!" << endl;
>> > >         //Initialize Shamrock CCD
>> > >         error = ShamrockInitialize("");
>> > >         if(error!=SHAMROCK_SUCCESS){
>> > >                 cout << "Initialisation error: " << error << "
>> > > ...exiting" <<endl;
>> > >                 ShutDown();
>> > >                 return(1);
>> > >         }
>> > >         cout << "Shamrock ready!" << endl;
>> > >         int nodevices(0);
>> > >         ShamrockGetNumberDevices(&nodevices);
>> > >         if(nodevices < 1) {
>> > >                 cout << "No Shamrock detected...exiting" <<endl;
>> > >                 ShamrockClose();
>> > >                 ShutDown();
>> > >                 return(1);
>> > >         }
>> > >
>> > >
>> > > Han anyone had similar issues?
>> > >
>> > > --
>> > >
>> > > Thanks,
>> > > Hinko
>
> --
> .. the more I see the less I believe.., AE AoR



-- 
.. the more I see the less I believe.., AE AoR

Replies:
Re: Andor shamrock not detected Mark Rivers
References:
Andor shamrock not detected Hinko Kocevar
RE: Andor shamrock not detected Mark Rivers
RE: Andor shamrock not detected Mark Rivers
Re: Andor shamrock not detected Hinko Kocevar

Navigate by Date:
Prev: Event triggers for plusers not detected (mrf-timing system) Karim Laihem
Next: Re: Andor shamrock not detected 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  <20172018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Andor shamrock not detected Hinko Kocevar
Next: Re: Andor shamrock not detected 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  <20172018  2019  2020  2021  2022  2023  2024 
ANJ, 21 Dec 2017 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·