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: Andor shamrock not detected
From: Hinko Kocevar <[email protected]>
To: [email protected]
Date: Fri, 1 Dec 2017 17:30:51 +0100
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

Replies:
RE: Andor shamrock not detected Mark Rivers

Navigate by Date:
Prev: Re: dbGetLink question Andrew Johnson
Next: RE: dbGetLink question 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: dbGetLink question Andrew Johnson
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 ·