-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem with Ikon-M under Scientific Linux 6 #2
Comments
Hi Mark, I don't understand your log file. The following message: iocRun: All initialization complete comes BEFORE the iocInit() command in the log file you sent. Also these messages: 2015/02/03 09:37:20.837 asynFloat64SyncIO read: 5.000000e+00 come BEFORE the asynSetTraceMask command in the log file. The order of the output in the log file does not make sense to me. These messages do not indicate a problem: Those messages come from the asynRecord which subscribes to exception callbacks and prints a message when they occur. Exception 3 means that the asynTraceMask was changed, and exception 7 means that the asynTraceIOTruncateSize was changed. This message is normal: It just means that pasynManager->queueRequest has been called. However, these messages are not normal: 2015/02/03 09:37:30.874 ANDOR asynManager:queueTimeoutCallback They indicate that a queue request timed out, which should not normally happen. Can you send the output of the following commands: asynReport One possible problem is with the versions of the Andor libraries. The latest version of ADAndor includes the following: lrwxrwxrwx 1 epics epics 13 Feb 18 2014 libandor.so -> libandor.so.2 So it is using version 2.98.200000.0 of their SDK libraries. However, you also needed to install their drivers on your system, right? Are they from the same version? Mark From: mkoennecke [[email protected]] Hi, I have a problem trying to run a Andor Ikon-M on Scientific Linux 6 using the latest release of areaDetector. It appears to be halfway good as it reads back values from the camera. But it does not react to commands. I see AsynIO exceptions 3 and 7 when I try to do something to the camera and usb 1-1.2: new high speed USB device number 23 using ehci_hcd Especially the queueRequest priority thing could indicate some threading issue. I am sure that the camera herself is OK because I can operate the camera OK from the same machine through another interface. What am I doing wrong? What can I do to get to the bottom of this? Is this a known issue? Best Regards,
The epics IOC log: #!/usr/local/epics/support/areaDetector24/bin/linux-x86-debug/andorCCDApp andorCCDConfig(const char *portName, int maxBuffers, size_t maxMemory, andorCCDConfig("ANDOR","/usr/local/etc/andor", 0, 0, 0, 0, 0) Comment out the following lines on Linux or if there is no Shamrock spectrograph on Windows #shamrockConfig("SR1", 0, "") Create a standard arrays plugin NDStdArraysConfigure("Image1", 5, 0, "ANDOR", 0, 0) Make NELEMENTS in the following be a little bigger than 2048*2048 #dbLoadRecords("$(ADCORE)/db/NDStdArrays.template", "P=$(PREFIX),R=image1:,PORT=Image1,ADDR=0,TIMEOUT=1,TYPE=Int32,FTVL=LONG,NELEMENTS=4200000") Use the following command for 16-bit images. This can be used for 16-bit detector as long as accumulate mode would not result in 16-bit overflow dbLoadRecords("/usr/local/epics/support/areaDetector24/db/NDStdArrays.template", "P=SQBOA-CCD:,R=image1:,PORT=Image1,ADDR=0,TIMEOUT=1,TYPE=Int16,FTVL=SHORT,NELEMENTS=1050000") Load all other plugins using commonPlugins.cmd < /usr/local/epics/support/areaDetector24/iocBoot/commonPlugins.cmd Create a netCDF file saving plugin. NDFileNetCDFConfigure("FileNetCDF1", 20, 0, "ANDOR", 0) Create a TIFF file saving plugin NDFileTIFFConfigure("FileTIFF1", 20, 0, "ANDOR", 0) Create a JPEG file saving plugin #NDFileJPEGConfigure("FileJPEG1", Create a NeXus file saving plugin NDFileNexusConfigure("FileNexus1", 20, 0, "ANDOR", 0) Create an HDF5 file saving plugin NDFileHDF5Configure("FileHDF1", 20, 0, "ANDOR", 0) Create a Magick file saving plugin NDFileMagickConfigure("FileMagick1", 20, 0, "ANDOR", 0) Create 4 ROI plugins NDROIConfigure("ROI1", 20, 0, "ANDOR", 0, 0, 0) Create a processing plugin NDProcessConfigure("PROC1", 20, 0, "ANDOR", 0, 0, 0) Create 5 statistics plugins NDStatsConfigure("STATS1", 20, 0, "ANDOR", 0, 0, 0) Create a transform plugin NDTransformConfigure("TRANS1", 20, 0, "ANDOR", 0, 0, 0) Create an overlay plugin with 8 overlays NDOverlayConfigure("OVER1", 20, 0, "ANDOR", 0, 8, 0, 0) Create 2 color conversion plugins NDColorConvertConfigure("CC1", 20, 0, "ANDOR", 0, 0, 0) Load scan records dbLoadRecords("/usr/local/epics/support/sscan-2-7/sscanApp/Db/scan.db", "P=SQBOA-CCD:,MAXPTS1=2000,MAXPTS2=200,MAXPTS3=20,MAXPTS4=10,MAXPTSH=10") Load sseq record for acquisition sequence epicsEnvSet("dbPATH","/usr/local/epics/dbd:/usr/local/epics/support/calc-3-4-1/dbd") EPICS R3.14.12.3 ############################################################################ save things every thirty seconds #create_monitor_set("auto_settings.req", 30,"P=$(PREFIX)") Reply to this email directly or view it on GitHubhttps://github.com//issues/2. |
Hi Mark, thank you for looking into this. Am 03.02.2015 um 17:17 schrieb Mark Rivers <[email protected]mailto:[email protected]>: Hi Mark, I don't understand your log file. The following message: iocRun: All initialization complete comes BEFORE the iocInit() command in the log file you sent. Also these messages: 2015/02/03 09:37:20.837 asynFloat64SyncIO read: 5.000000e+00 come BEFORE the asynSetTraceMask command in the log file. The order of the output in the log file does not make sense to me. These messages do not indicate a problem: Those messages come from the asynRecord which subscribes to exception callbacks and prints a message when they occur. Exception 3 means that the asynTraceMask was changed, and exception 7 means that the asynTraceIOTruncateSize was changed. This message is normal: It just means that pasynManager->queueRequest has been called. However, these messages are not normal: 2015/02/03 09:37:30.874 ANDOR asynManager:queueTimeoutCallback They indicate that a queue request timed out, which should not normally happen. Can you send the output of the following commands: asynReport I attach a log file containing the output of those commands. I also attach my startup script. It is entirely possible that there One possible problem is with the versions of the Andor libraries. The latest version of ADAndor includes the following: lrwxrwxrwx 1 epics epics 13 Feb 18 2014 libandor.so -> libandor.so.2 So it is using version 2.98.200000.0 of their SDK libraries. However, you also needed to install their drivers on your system, right? Are they from the same version? I thought about this too, especially after I found those libraries in the distribution. I replaced them by the the ones we Best Regards,
Mark From: mkoennecke [[email protected]:[email protected]] Hi, I have a problem trying to run a Andor Ikon-M on Scientific Linux 6 using the latest release of areaDetector. It appears to be halfway good as it reads back values from the camera. But it does not react to commands. I see AsynIO exceptions 3 and 7 when I try to do something to the camera and usb 1-1.2: new high speed USB device number 23 using ehci_hcd Especially the queueRequest priority thing could indicate some threading issue. I am sure that the camera herself is OK because I can operate the camera OK from the same machine through another interface. What am I doing wrong? What can I do to get to the bottom of this? Is this a known issue? Best Regards, Mark Koennecke The epics IOC log: #!/usr/local/epics/support/areaDetector24/bin/linux-x86-debug/andorCCDApp andorCCDConfig(const char *portName, int maxBuffers, size_t maxMemory, andorCCDConfig("ANDOR","/usr/local/etc/andor", 0, 0, 0, 0, 0) Comment out the following lines on Linux or if there is no Shamrock spectrograph on Windows #shamrockConfig("SR1", 0, "") Create a standard arrays plugin NDStdArraysConfigure("Image1", 5, 0, "ANDOR", 0, 0) Make NELEMENTS in the following be a little bigger than 2048*2048 #dbLoadRecords("$(ADCORE)/db/NDStdArrays.template", "P=$(PREFIX),R=image1:,PORT=Image1,ADDR=0,TIMEOUT=1,TYPE=Int32,FTVL=LONG,NELEMENTS=4200000") Use the following command for 16-bit images. This can be used for 16-bit detector as long as accumulate mode would not result in 16-bit overflow dbLoadRecords("/usr/local/epics/support/areaDetector24/db/NDStdArrays.template", "P=SQBOA-CCD:,R=image1:,PORT=Image1,ADDR=0,TIMEOUT=1,TYPE=Int16,FTVL=SHORT,NELEMENTS=1050000") Load all other plugins using commonPlugins.cmd < /usr/local/epics/support/areaDetector24/iocBoot/commonPlugins.cmd Create a netCDF file saving plugin. NDFileNetCDFConfigure("FileNetCDF1", 20, 0, "ANDOR", 0) Create a TIFF file saving plugin NDFileTIFFConfigure("FileTIFF1", 20, 0, "ANDOR", 0) Create a JPEG file saving plugin #NDFileJPEGConfigure("FileJPEG1", Create a NeXus file saving plugin NDFileNexusConfigure("FileNexus1", 20, 0, "ANDOR", 0) Create an HDF5 file saving plugin NDFileHDF5Configure("FileHDF1", 20, 0, "ANDOR", 0) Create a Magick file saving plugin NDFileMagickConfigure("FileMagick1", 20, 0, "ANDOR", 0) Create 4 ROI plugins NDROIConfigure("ROI1", 20, 0, "ANDOR", 0, 0, 0) Create a processing plugin NDProcessConfigure("PROC1", 20, 0, "ANDOR", 0, 0, 0) Create 5 statistics plugins NDStatsConfigure("STATS1", 20, 0, "ANDOR", 0, 0, 0) Create a transform plugin NDTransformConfigure("TRANS1", 20, 0, "ANDOR", 0, 0, 0) Create an overlay plugin with 8 overlays NDOverlayConfigure("OVER1", 20, 0, "ANDOR", 0, 8, 0, 0) Create 2 color conversion plugins NDColorConvertConfigure("CC1", 20, 0, "ANDOR", 0, 0, 0) Load scan records dbLoadRecords("/usr/local/epics/support/sscan-2-7/sscanApp/Db/scan.db", "P=SQBOA-CCD:,MAXPTS1=2000,MAXPTS2=200,MAXPTS3=20,MAXPTS4=10,MAXPTSH=10") Load sseq record for acquisition sequence epicsEnvSet("dbPATH","/usr/local/epics/dbd:/usr/local/epics/support/calc-3-4-1/dbd") EPICS R3.14.12.3 ############################################################################ save things every thirty seconds #create_monitor_set("auto_settings.req", 30,"P=$(PREFIX)") Reply to this email directly or view it on GitHubhttps://github.com//issues/2. — |
The original received IOC log with markdown syntax to make it readable in the ticket system (added 4 spaces before each line):
|
Way back I had some issues with an Ikon Andor camera which were largely resolved by updating the a later SDK (in my case we moved to version 2.96 which is probably a bit old now). We also uninstalled and re-installed the SDK just to make sure things were right before building the code against it. |
A correction to may last post, our camera is an iXon Ultra. |
This problem was resolved when Mark K. did a complete rebuild of asyn, calc, etc. It must have been caused by conflicting versions, probably of asyn. |
Hi,
I have a problem trying to run a Andor Ikon-M on Scientific Linux 6 using the latest release of areaDetector. It appears to be halfway good as it reads back values from the camera. But it does not react to commands. I see AsynIO exceptions 3 and 7 when I try to do something to the camera and
ANDOR addr -1 queueRequest priority 0 not lockHolder messages in the EPICS log. (Attached below).
The other thing which might help to figure out what is going are the messages from dmesg when
starting the areaDetector module:
Especially the queueRequest priority thing could indicate some threading issue. I am sure that the camera herself is OK because I can operate the camera OK from the same machine through another interface.
What am I doing wrong? What can I do to get to the bottom of this? Is this a known issue?
Best Regards,
The epics IOC log:
!/usr/local/epics/support/areaDetector24/bin/linux-x86-debug/andorCCDApp
epicsEnvSet("ARCH","linux-x86-debug")
epicsEnvSet("EPICS_BASE","/usr/local/epics")
epicsEnvSet("TOP","/usr/local/epics/support/areaDetector24")
epicsEnvSet("SSCAN","/usr/local/epics/support/sscan-2-7")
epicsEnvSet("CALC","/usr/local/epics/support/calc-3-4-1")
epicsEnvSet("ADCORE","/usr/local/epics/support/areaDetector24")
errlogInit(20000)
dbLoadDatabase("/usr/local/epics/support/areaDetector24/dbd/andorCCDApp.dbd")
andorCCDApp_registerRecordDeviceDriver(pdbbase)
epicsEnvSet("PREFIX", "SQBOA-CCD:")
epicsEnvSet("PORT", "ANDOR")
epicsEnvSet("QSIZE", "20")
epicsEnvSet("XSIZE", "1024")
epicsEnvSet("YSIZE", "1024")
epicsEnvSet("NCHANS", "1024")
andorCCDConfig(const char *portName, int maxBuffers, size_t maxMemory,
const char *installPath, int priority, int stackSize)
andorCCDConfig("ANDOR","/usr/local/etc/andor", 0, 0, 0, 0, 0)
andorCCD:AndorCCD: initializing camera
andorCCD:statusTask: Status thread started...
CCD initialized OK!
andorCCD:dataTask: Data thread started...
andorCCDConfig("$(PORT)", 0, 0, "", 0, 0)
dbLoadRecords("/usr/local/epics/support/areaDetector24/db/ADBase.template","P=SQBOA-CCD:,R=CCD:,PORT=ANDOR,ADDR=0,TIMEOUT=1")
dbLoadRecords("/usr/local/epics/support/areaDetector24/db/NDFile.template","P=SQBOA-CCD:,R=CCD:,PORT=ANDOR,ADDR=0,TIMEOUT=1")
dbLoadRecords("/usr/local/epics/support/areaDetector24/db/andorCCD.template", "P=SQBOA-CCD:,R=CCD:,PORT=ANDOR,ADDR=0,TIMEOUT=1")
Comment out the following lines on Linux or if there is no Shamrock spectrograph on Windows
shamrockConfig("SR1", 0, "")
dbLoadRecords("$(ADANDOR)/db/shamrock.template", "P=$(PREFIX),R=sham1:,PORT=SR1,TIMEOUT=1,PIXELS=1024")
Create a standard arrays plugin
NDStdArraysConfigure("Image1", 5, 0, "ANDOR", 0, 0)
dbLoadRecords("/usr/local/epics/support/areaDetector24/db/NDPluginBase.template","P=SQBOA-CCD:,R=image1:,PORT=Image1,ADDR=0,TIMEOUT=1,NDARRAY_PORT=ANDOR,NDARRAY_ADDR=0")
Make NELEMENTS in the following be a little bigger than 2048*2048
Use the following command for 32-bit images. This is needed for 32-bit detectors or for 16-bit detectors in acccumulate mode if it would overflow 16 bits
dbLoadRecords("$(ADCORE)/db/NDStdArrays.template", "P=$(PREFIX),R=image1:,PORT=Image1,ADDR=0,TIMEOUT=1,TYPE=Int32,FTVL=LONG,NELEMENTS=4200000")
Use the following command for 16-bit images. This can be used for 16-bit detector as long as accumulate mode would not result in 16-bit overflow
dbLoadRecords("/usr/local/epics/support/areaDetector24/db/NDStdArrays.template", "P=SQBOA-CCD:,R=image1:,PORT=Image1,ADDR=0,TIMEOUT=1,TYPE=Int16,FTVL=SHORT,NELEMENTS=1050000")
Load all other plugins using commonPlugins.cmd
< /usr/local/epics/support/areaDetector24/iocBoot/commonPlugins.cmd
Create a netCDF file saving plugin.
NDFileNetCDFConfigure("FileNetCDF1", 20, 0, "ANDOR", 0)
dbLoadRecords("/usr/local/epics/support/areaDetector24/db/NDPluginBase.template","P=SQBOA-CCD:,R=netCDF1:,PORT=FileNetCDF1,ADDR=0,TIMEOUT=1,NDARRAY_PORT=ANDOR,NDARRAY_ADDR=0")
dbLoadRecords("/usr/local/epics/support/areaDetector24/db/NDFile.template", "P=SQBOA-CCD:,R=netCDF1:,PORT=FileNetCDF1,ADDR=0,TIMEOUT=1")
dbLoadRecords("/usr/local/epics/support/areaDetector24/db/NDFileNetCDF.template","P=SQBOA-CCD:,R=netCDF1:,PORT=FileNetCDF1,ADDR=0,TIMEOUT=1")
Create a TIFF file saving plugin
NDFileTIFFConfigure("FileTIFF1", 20, 0, "ANDOR", 0)
dbLoadRecords("/usr/local/epics/support/areaDetector24/db/NDPluginBase.template","P=SQBOA-CCD:,R=TIFF1:,PORT=FileTIFF1,ADDR=0,TIMEOUT=1,NDARRAY_PORT=ANDOR,NDARRAY_ADDR=0")
dbLoadRecords("/usr/local/epics/support/areaDetector24/db/NDFile.template", "P=SQBOA-CCD:,R=TIFF1:,PORT=FileTIFF1,ADDR=0,TIMEOUT=1")
dbLoadRecords("/usr/local/epics/support/areaDetector24/db/NDFileTIFF.template", "P=SQBOA-CCD:,R=TIFF1:,PORT=FileTIFF1,ADDR=0,TIMEOUT=1")
Create a JPEG file saving plugin
NDFileJPEGConfigure("FileJPEG1",$(QSIZE), 0, "$ (PORT)", 0)
dbLoadRecords("$(ADCORE)/db/NDPluginBase.template","P=$(PREFIX),R=JPEG1:,PORT=FileJPEG1,ADDR=0,TIMEOUT=1,NDARRAY_PORT=$(PORT),NDARRAY_ADDR=0")
dbLoadRecords("$(ADCORE)/db/NDFile.template", "P=$(PREFIX),R=JPEG1:,PORT=FileJPEG1,ADDR=0,TIMEOUT=1")
dbLoadRecords("$(ADCORE)/db/NDFileJPEG.template", "P=$(PREFIX),R=JPEG1:,PORT=FileJPEG1,ADDR=0,TIMEOUT=1")
Create a NeXus file saving plugin
NDFileNexusConfigure("FileNexus1", 20, 0, "ANDOR", 0)
dbLoadRecords("/usr/local/epics/support/areaDetector24/db/NDPluginBase.template","P=SQBOA-CCD:,R=Nexus1:,PORT=FileNexus1,ADDR=0,TIMEOUT=1,NDARRAY_PORT=ANDOR,NDARRAY_ADDR=0")
dbLoadRecords("/usr/local/epics/support/areaDetector24/db/NDFile.template", "P=SQBOA-CCD:,R=Nexus1:,PORT=FileNexus1,ADDR=0,TIMEOUT=1")
dbLoadRecords("/usr/local/epics/support/areaDetector24/db/NDFileNexus.template", "P=SQBOA-CCD:,R=Nexus1:,PORT=FileNexus1,ADDR=0,TIMEOUT=1")
Create an HDF5 file saving plugin
NDFileHDF5Configure("FileHDF1", 20, 0, "ANDOR", 0)
dbLoadRecords("/usr/local/epics/support/areaDetector24/db/NDPluginBase.template","P=SQBOA-CCD:,R=HDF1:,PORT=FileHDF1,ADDR=0,TIMEOUT=1,NDARRAY_PORT=ANDOR,NDARRAY_ADDR=0")
dbLoadRecords("/usr/local/epics/support/areaDetector24/db/NDFile.template", "P=SQBOA-CCD:,R=HDF1:,PORT=FileHDF1,ADDR=0,TIMEOUT=1")
dbLoadRecords("/usr/local/epics/support/areaDetector24/db/NDFileHDF5.template", "P=SQBOA-CCD:,R=HDF1:,PORT=FileHDF1,ADDR=0,TIMEOUT=1")
Create a Magick file saving plugin
NDFileMagickConfigure("FileMagick1", 20, 0, "ANDOR", 0)
dbLoadRecords("/usr/local/epics/support/areaDetector24/db/NDPluginBase.template","P=SQBOA-CCD:,R=Magick1:,PORT=FileMagick1,ADDR=0,TIMEOUT=1,NDARRAY_PORT=ANDOR,NDARRAY_ADDR=0")
dbLoadRecords("/usr/local/epics/support/areaDetector24/db/NDFile.template", "P=SQBOA-CCD:,R=Magick1:,PORT=FileMagick1,ADDR=0,TIMEOUT=1")
dbLoadRecords("/usr/local/epics/support/areaDetector24/db/NDFileMagick.template","P=SQBOA-CCD:,R=Magick1:,PORT=FileMagick1,ADDR=0,TIMEOUT=1")
Create 4 ROI plugins
NDROIConfigure("ROI1", 20, 0, "ANDOR", 0, 0, 0)
dbLoadRecords("/usr/local/epics/support/areaDetector24/db/NDPluginBase.template","P=SQBOA-CCD:,R=ROI1:, PORT=ROI1,ADDR=0,TIMEOUT=1,NDARRAY_PORT=ANDOR,NDARRAY_ADDR=0")
dbLoadRecords("/usr/local/epics/support/areaDetector24/db/NDROI.template", "P=SQBOA-CCD:,R=ROI1:, PORT=ROI1,ADDR=0,TIMEOUT=1")
NDROIConfigure("ROI2", 20, 0, "ANDOR", 0, 0, 0)
dbLoadRecords("/usr/local/epics/support/areaDetector24/db/NDPluginBase.template","P=SQBOA-CCD:,R=ROI2:, PORT=ROI2,ADDR=0,TIMEOUT=1,NDARRAY_PORT=ANDOR,NDARRAY_ADDR=0")
dbLoadRecords("/usr/local/epics/support/areaDetector24/db/NDROI.template", "P=SQBOA-CCD:,R=ROI2:, PORT=ROI2,ADDR=0,TIMEOUT=1")
NDROIConfigure("ROI3", 20, 0, "ANDOR", 0, 0, 0)
dbLoadRecords("/usr/local/epics/support/areaDetector24/db/NDPluginBase.template","P=SQBOA-CCD:,R=ROI3:, PORT=ROI3,ADDR=0,TIMEOUT=1,NDARRAY_PORT=ANDOR,NDARRAY_ADDR=0")
dbLoadRecords("/usr/local/epics/support/areaDetector24/db/NDROI.template", "P=SQBOA-CCD:,R=ROI3:, PORT=ROI3,ADDR=0,TIMEOUT=1")
NDROIConfigure("ROI4", 20, 0, "ANDOR", 0, 0, 0)
dbLoadRecords("/usr/local/epics/support/areaDetector24/db/NDPluginBase.template","P=SQBOA-CCD:,R=ROI4:, PORT=ROI4,ADDR=0,TIMEOUT=1,NDARRAY_PORT=ANDOR,NDARRAY_ADDR=0")
dbLoadRecords("/usr/local/epics/support/areaDetector24/db/NDROI.template", "P=SQBOA-CCD:,R=ROI4:, PORT=ROI4,ADDR=0,TIMEOUT=1")
Create a processing plugin
NDProcessConfigure("PROC1", 20, 0, "ANDOR", 0, 0, 0)
dbLoadRecords("/usr/local/epics/support/areaDetector24/db/NDPluginBase.template","P=SQBOA-CCD:,R=Proc1:, PORT=PROC1,ADDR=0,TIMEOUT=1,NDARRAY_PORT=ANDOR,NDARRAY_ADDR=0")
dbLoadRecords("/usr/local/epics/support/areaDetector24/db/NDProcess.template", "P=SQBOA-CCD:,R=Proc1:, PORT=PROC1,ADDR=0,TIMEOUT=1")
Create 5 statistics plugins
NDStatsConfigure("STATS1", 20, 0, "ANDOR", 0, 0, 0)
dbLoadRecords("/usr/local/epics/support/areaDetector24/db/NDPluginBase.template","P=SQBOA-CCD:,R=Stats1:, PORT=STATS1,ADDR=0,TIMEOUT=1,NDARRAY_PORT=ROI1,NDARRAY_ADDR=0")
dbLoadRecords("/usr/local/epics/support/areaDetector24/db/NDStats.template", "P=SQBOA-CCD:,R=Stats1:, PORT=STATS1,ADDR=0,TIMEOUT=1,HIST_SIZE=256,XSIZE=1024,YSIZE=1024,NCHANS=1024")
NDStatsConfigure("STATS2", 20, 0, "ROI1", 0, 0, 0)
dbLoadRecords("/usr/local/epics/support/areaDetector24/db/NDPluginBase.template","P=SQBOA-CCD:,R=Stats2:, PORT=STATS2,ADDR=0,TIMEOUT=1,NDARRAY_PORT=ROI2,NDARRAY_ADDR=0")
dbLoadRecords("/usr/local/epics/support/areaDetector24/db/NDStats.template", "P=SQBOA-CCD:,R=Stats2:, PORT=STATS2,ADDR=0,TIMEOUT=1,HIST_SIZE=256,XSIZE=1024,YSIZE=1024,NCHANS=1024")
NDStatsConfigure("STATS3", 20, 0, "ROI2", 0, 0, 0)
dbLoadRecords("/usr/local/epics/support/areaDetector24/db/NDPluginBase.template","P=SQBOA-CCD:,R=Stats3:, PORT=STATS3,ADDR=0,TIMEOUT=1,NDARRAY_PORT=ROI3,NDARRAY_ADDR=0")
dbLoadRecords("/usr/local/epics/support/areaDetector24/db/NDStats.template", "P=SQBOA-CCD:,R=Stats3:, PORT=STATS3,ADDR=0,TIMEOUT=1,HIST_SIZE=256,XSIZE=1024,YSIZE=1024,NCHANS=1024")
NDStatsConfigure("STATS4", 20, 0, "ROI3", 0, 0, 0)
dbLoadRecords("/usr/local/epics/support/areaDetector24/db/NDPluginBase.template","P=SQBOA-CCD:,R=Stats4:, PORT=STATS4,ADDR=0,TIMEOUT=1,NDARRAY_PORT=ROI4,NDARRAY_ADDR=0")
dbLoadRecords("/usr/local/epics/support/areaDetector24/db/NDStats.template", "P=SQBOA-CCD:,R=Stats4:, PORT=STATS4,ADDR=0,TIMEOUT=1,HIST_SIZE=256,XSIZE=1024,YSIZE=1024,NCHANS=1024")
NDStatsConfigure("STATS5", 20, 0, "ROI4", 0, 0, 0)
dbLoadRecords("/usr/local/epics/support/areaDetector24/db/NDPluginBase.template","P=SQBOA-CCD:,R=Stats5:, PORT=STATS5,ADDR=0,TIMEOUT=1,NDARRAY_PORT=ANDOR,NDARRAY_ADDR=0")
dbLoadRecords("/usr/local/epics/support/areaDetector24/db/NDStats.template", "P=SQBOA-CCD:,R=Stats5:, PORT=STATS5,ADDR=0,TIMEOUT=1,HIST_SIZE=256,XSIZE=1024,YSIZE=1024,NCHANS=1024")
Create a transform plugin
NDTransformConfigure("TRANS1", 20, 0, "ANDOR", 0, 0, 0)
dbLoadRecords("/usr/local/epics/support/areaDetector24/db/NDPluginBase.template","P=SQBOA-CCD:,R=Trans1:, PORT=TRANS1,ADDR=0,TIMEOUT=1,NDARRAY_PORT=ANDOR,NDARRAY_ADDR=0")
dbLoadRecords("/usr/local/epics/support/areaDetector24/db/NDTransform.template", "P=SQBOA-CCD:,R=Trans1:, PORT=TRANS1,ADDR=0,TIMEOUT=1")
Create an overlay plugin with 8 overlays
NDOverlayConfigure("OVER1", 20, 0, "ANDOR", 0, 8, 0, 0)
dbLoadRecords("/usr/local/epics/support/areaDetector24/db/NDPluginBase.template","P=SQBOA-CCD:,R=Over1:, PORT=OVER1,ADDR=0,TIMEOUT=1,NDARRAY_PORT=ANDOR,NDARRAY_ADDR=0")
dbLoadRecords("/usr/local/epics/support/areaDetector24/db/NDOverlay.template", "P=SQBOA-CCD:,R=Over1:, PORT=OVER1,ADDR=0,TIMEOUT=1")
dbLoadRecords("/usr/local/epics/support/areaDetector24/db/NDOverlayN.template","P=SQBOA-CCD:,R=Over1:1:,NAME=ROI1, SHAPE=1,O=Over1:,XPOS=SQBOA-CCD:ROI1:MinX_RBV,YPOS=SQBOA-CCD:ROI1:MinY_RBV,XSIZE=SQBOA-CCD:ROI1:SizeX_RBV,YSIZE=SQBOA-CCD:ROI1:SizeY_RBV,PORT=OVER1,ADDR=0,TIMEOUT=1")
dbLoadRecords("/usr/local/epics/support/areaDetector24/db/NDOverlayN.template","P=SQBOA-CCD:,R=Over1:2:,NAME=ROI2, SHAPE=1,O=Over1:,XPOS=SQBOA-CCD:ROI2:MinX_RBV,YPOS=SQBOA-CCD:ROI2:MinY_RBV,XSIZE=SQBOA-CCD:ROI2:SizeX_RBV,YSIZE=SQBOA-CCD:ROI2:SizeY_RBV,PORT=OVER1,ADDR=1,TIMEOUT=1")
dbLoadRecords("/usr/local/epics/support/areaDetector24/db/NDOverlayN.template","P=SQBOA-CCD:,R=Over1:3:,NAME=ROI3, SHAPE=1,O=Over1:,XPOS=SQBOA-CCD:ROI3:MinX_RBV,YPOS=SQBOA-CCD:ROI3:MinY_RBV,XSIZE=SQBOA-CCD:ROI3:SizeX_RBV,YSIZE=SQBOA-CCD:ROI3:SizeY_RBV,PORT=OVER1,ADDR=2,TIMEOUT=1")
dbLoadRecords("/usr/local/epics/support/areaDetector24/db/NDOverlayN.template","P=SQBOA-CCD:,R=Over1:4:,NAME=ROI4, SHAPE=1,O=Over1:,XPOS=SQBOA-CCD:ROI4:MinX_RBV,YPOS=SQBOA-CCD:ROI4:MinY_RBV,XSIZE=SQBOA-CCD:ROI4:SizeX_RBV,YSIZE=SQBOA-CCD:ROI4:SizeY_RBV,PORT=OVER1,ADDR=3,TIMEOUT=1")
dbLoadRecords("/usr/local/epics/support/areaDetector24/db/NDOverlayN.template","P=SQBOA-CCD:,R=Over1:5:,NAME=Cursor1,SHAPE=1,O=Over1:,XPOS=junk, YPOS=junk, XSIZE=junk, YSIZE=junk, PORT=OVER1,ADDR=4,TIMEOUT=1")
dbLoadRecords("/usr/local/epics/support/areaDetector24/db/NDOverlayN.template","P=SQBOA-CCD:,R=Over1:6:,NAME=Cursor2,SHAPE=1,O=Over1:,XPOS=junk, YPOS=junk, XSIZE=junk, Starting iocInit
2015/02/03 09:37:20.837 asynFloat64SyncIO read: 5.000000e+00
2015/02/03 09:37:20.837 asynFloat64SyncIO read: 1.000000e+00
2015/02/03 09:37:20.838 asynFloat64SyncIO read: 2.000000e+00
2015/02/03 09:37:20.838 asynFloat64SyncIO read: 0.000000e+00
2015/02/03 09:37:20.838 asynFloat64SyncIO read: 0.000000e+00
2015/02/03 09:37:20.844 asynInt32SyncIO read: 0
2015/02/03 09:37:20.844 asynInt32SyncIO read: 1
2015/02/03 09:37:20.860 asynInt32SyncIO read: 0
2015/02/03 09:37:20.860 asynInt32SyncIO read: 1
2015/02/03 09:37:20.860 asynInt32SyncIO read: 1
2015/02/03 09:37:20.860 asynInt32SyncIO read: 0
2015/02/03 09:37:20.860 asynInt32SyncIO read: 0
2015/02/03 09:37:20.860 asynInt32SyncIO read: 1
2015/02/03 09:37:20.860 asynInt32SyncIO read: 1
2015/02/03 09:37:20.860 asynInt32SyncIO read: 1024
2015/02/03 09:37:20.860 asynInt32SyncIO read: 1024
2015/02/03 09:37:20.868 asynEnumSyncIO read: 0 string=5.00 MHz, value=0, severity=0
2015/02/03 09:37:20.868 asynEnumSyncIO read: 1 string=3.00 MHz, value=1, severity=0
2015/02/03 09:37:20.868 asynEnumSyncIO read: 2 string=1.00 MHz, value=2, severity=0
2015/02/03 09:37:20.868 asynEnumSyncIO read: 3 string=0.05 MHz, value=3, severity=0
2015/02/03 09:37:20.868 asynEnumSyncIO read: 0 string=1.00, value=0, severity=0
2015/02/03 09:37:20.868 asynEnumSyncIO read: 1 string=2.00, value=1, severity=0
2015/02/03 09:37:20.868 asynEnumSyncIO read: 2 string=4.00, value=2, severity=0
2015/02/03 09:37:20.871 asynEnumSyncIO read: 0 string=5.00 MHz, value=0, severity=0
2015/02/03 09:37:20.871 asynEnumSyncIO read: 1 string=3.00 MHz, value=1, severity=0
2015/02/03 09:37:20.871 asynEnumSyncIO read: 2 string=1.00 MHz, value=2, severity=0
2015/02/03 09:37:20.871 asynEnumSyncIO read: 3 string=0.05 MHz, value=3, severity=0
2015/02/03 09:37:20.871 asynInt32SyncIO read: 0
2015/02/03 09:37:20.871 asynEnumSyncIO read: 0 string=1.00, value=0, severity=0
2015/02/03 09:37:20.871 asynEnumSyncIO read: 1 string=2.00, value=1, severity=0
2015/02/03 09:37:20.871 asynEnumSyncIO read: 2 string=4.00, value=2, severity=0
2015/02/03 09:37:20.871 asynInt32SyncIO read: 0
2015/02/03 09:37:20.871 asynInt32SyncIO read: 0
2015/02/03 09:37:20.871 asynInt32SyncIO read: 3
2015/02/03 09:37:20.872 asynInt32SyncIO read: 0
2015/02/03 09:37:20.872 asynInt32SyncIO read: 0
2015/02/03 09:37:20.878 asynInt32SyncIO read: 0
2015/02/03 09:37:20.878 asynInt32SyncIO read: 0
2015/02/03 09:37:20.878 asynInt32SyncIO read: 0
2015/02/03 09:37:20.878 asynInt32SyncIO read: 0
iocRun: All initialization complete
2015/02/03 09:37:21.394 SQBOA-CCD:CCD:AsynIO: exception 3
2015/02/03 09:37:21.426 SQBOA-CCD:CCD:ArraySizeX_RBV devAsynInt32::interruptCallbackInput new value=1024
2015/02/03 09:37:21.426 SQBOA-CCD:CCD:ArraySizeY_RBV devAsynInt32::interruptCallbackInput new value=1024
2015/02/03 09:37:21.426 SQBOA-CCD:CCD:ArraySizeZ_RBV devAsynInt32::interruptCallbackInput new value=0
2015/02/03 09:37:21.426 SQBOA-CCD:CCD:ArraySize_RBV devAsynInt32::interruptCallbackInput new value=2097152
2015/02/03 09:37:21.426 SQBOA-CCD:CCD:DataType_RBV devAsynInt32::interruptCallbackInput new value=3
2015/02/03 09:37:21.426 SQBOA-CCD:CCD:ColorMode_RBV devAsynInt32::interruptCallbackInput new value=0
2015/02/03 09:37:21.426 SQBOA-CCD:CCD:ArrayCounter_RBV devAsynInt32::interruptCallbackInput new value=0
2015/02/03 09:37:21.426 SQBOA-CCD:CCD:AsynIO: exception 7
2015/02/03 09:37:21.426 SQBOA-CCD:CCD:WriteFile_RBV devAsynInt32::interruptCallbackInput new value=0
2015/02/03 09:37:21.426 SQBOA-CCD:CCD:AsynIO: exception 7
2015/02/03 09:37:21.426 SQBOA-CCD:CCD:ReadFile_RBV devAsynInt32::interruptCallbackInput new value=0
2015/02/03 09:37:21.426 SQBOA-CCD:CCD:AsynIO: exception 7
2015/02/03 09:37:21.426 SQBOA-CCD:CCD:Capture_RBV devAsynInt32::interruptCallbackInput new value=0
2015/02/03 09:37:21.426 SQBOA-CCD:CCD:WriteStatus devAsynInt32::interruptCallbackInput new value=0
2015/02/03 09:37:21.426 SQBOA-CCD:CCD:NumCaptured_RBV devAsynInt32::interruptCallbackInput new value=0
2015/02/03 09:37:21.426 SQBOA-CCD:CCD:MaxSizeX_RBV devAsynInt32::interruptCallbackInput new value=1024
2015/02/03 09:37:21.426 SQBOA-CCD:CCD:MaxSizeY_RBV devAsynInt32::interruptCallbackInput new value=1024
2015/02/03 09:37:21.427 SQBOA-CCD:CCD:DetectorState_RBV devAsynInt32::interruptCallbackInput new value=0
2015/02/03 09:37:21.427 SQBOA-CCD:CCD:NumImagesCounter_RBV devAsynInt32::interruptCallbackInput new value=0
2015/02/03 09:37:21.427 SQBOA-CCD:CCD:NumExposuresCounter_RBV devAsynInt32::interruptCallbackInput new value=0
2015/02/03 09:37:21.427 SQBOA-CCD:CCD:TimeRemaining_RBV devAsynFloat64::interruptCallbackInput new value=0.000000
2015/02/03 09:37:21.427 SQBOA-CCD:CCD:ShutterStatus_RBV devAsynInt32::interruptCallbackInput new value=0
2015/02/03 09:37:21.427 SQBOA-CCD:CCD:AsynIO: exception 7
2015/02/03 09:37:21.427 SQBOA-CCD:CCD:Acquire_RBV devAsynInt32::interruptCallbackInput new value=0
2015/02/03 09:37:21.427 SQBOA-CCD:CCD:SizeX_RBV devAsynInt32::interruptCallbackInput new value=1024
2015/02/03 09:37:21.427 SQBOA-CCD:CCD:SizeY_RBV devAsynInt32::interruptCallbackInput new value=1024
2015/02/03 09:37:21.427 SQBOA-CCD:CCD:BinX_RBV devAsynInt32::interruptCallbackInput new value=1
2015/02/03 09:37:21.427 SQBOA-CCD:CCD:BinY_RBV devAsynInt32::interruptCallbackInput new value=1
2015/02/03 09:37:21.427 SQBOA-CCD:CCD:MinX_RBV devAsynInt32::interruptCallbackInput new value=0
2015/02/03 09:37:21.427 SQBOA-CCD:CCD:MinY_RBV devAsynInt32::interruptCallbackInput new value=0
2015/02/03 09:37:21.427 SQBOA-CCD:CCD:ImageMode_RBV devAsynInt32::interruptCallbackInput new value=0
2015/02/03 09:37:21.427 SQBOA-CCD:CCD:TriggerMode_RBV devAsynInt32::interruptCallbackInput new value=0
2015/02/03 09:37:21.427 SQBOA-CCD:CCD:AcquireTime_RBV devAsynFloat64::interruptCallbackInput new value=1.000000
2015/02/03 09:37:21.427 SQBOA-CCD:CCD:AcquirePeriod_RBV devAsynFloat64::interruptCallbackInput new value=5.000000
2015/02/03 09:37:21.427 SQBOA-CCD:CCD:NumImages_RBV devAsynInt32::interruptCallbackInput new value=1
2015/02/03 09:37:21.427 SQBOA-CCD:CCD:NumExposures_RBV devAsynInt32::interruptCallbackInput new value=1
2015/02/03 09:37:21.427 SQBOA-CCD:CCD:AndorAccumulatePeriod_RBV devAsynFloat64::interruptCallbackInput new value=2.000000
2015/02/03 09:37:21.427 SQBOA-CCD:CCD:AndorADCSpeed_RBV devAsynInt32::interruptCallbackInput new value=0
2015/02/03 09:37:21.427 SQBOA-CCD:CCD:ShutterOpenDelay_RBV devAsynFloat64::interruptCallbackInput new value=0.000000
2015/02/03 09:37:21.427 SQBOA-CCD:CCD:ShutterCloseDelay_RBV devAsynFloat64::interruptCallbackInput new value=0.000000
2015/02/03 09:37:21.427 SQBOA-CCD:CCD:AndorCooler_RBV devAsynInt32::interruptCallbackInput new value=0
2015/02/03 09:37:21.427 SQBOA-CCD:CCD:TemperatureActual devAsynFloat64::interruptCallbackInput new value=21.997000
YSIZE=junk, PORT=OVER1,ADDR=5,TIMEOUT=1")
dbLoadRecords("/usr/local/epics/support/areaDetector24/db/NDOverlayN.template","P=SQBOA-CCD:,R=Over1:7:,NAME=Box1, SHAPE=1,O=Over1:,XPOS=junk, YPOS=junk, XSIZE=junk, YSIZE=junk, PORT=OVER1,ADDR=6,TIMEOUT=1")
dbLoadRecords("/usr/local/epics/support/areaDetector24/db/NDOverlayN.template","P=SQBOA-CCD:,R=Over1:8:,NAME=Box2, SHAPE=1,O=Over1:,XPOS=junk, YPOS=junk, XSIZE=junk, YSIZE=junk, PORT=OVER1,ADDR=7,TIMEOUT=1")
Create 2 color conversion plugins
NDColorConvertConfigure("CC1", 20, 0, "ANDOR", 0, 0, 0)
dbLoadRecords("/usr/local/epics/support/areaDetector24/db/NDPluginBase.template", "P=SQBOA-CCD:,R=CC1:, PORT=CC1,ADDR=0,TIMEOUT=1,NDARRAY_PORT=ANDOR,NDARRAY_ADDR=0")
dbLoadRecords("/usr/local/epics/support/areaDetector24/db/NDColorConvert.template", "P=SQBOA-CCD:,R=CC1:, PORT=CC1,ADDR=0,TIMEOUT=1")
NDColorConvertConfigure("CC2", 20, 0, "ANDOR", 0, 0, 0)
dbLoadRecords("/usr/local/epics/support/areaDetector24/db/NDPluginBase.template", "P=SQBOA-CCD:,R=CC2:, PORT=CC2,ADDR=0,TIMEOUT=1,NDARRAY_PORT=ANDOR,NDARRAY_ADDR=0")
dbLoadRecords("/usr/local/epics/support/areaDetector24/db/NDColorConvert.template", "P=SQBOA-CCD:,R=CC2:, PORT=CC2,ADDR=0,TIMEOUT=1")
Load scan records
dbLoadRecords("/usr/local/epics/support/sscan-2-7/sscanApp/Db/scan.db", "P=SQBOA-CCD:,MAXPTS1=2000,MAXPTS2=200,MAXPTS3=20,MAXPTS4=10,MAXPTSH=10")
Load sseq record for acquisition sequence
epicsEnvSet("dbPATH","/usr/local/epics/dbd:/usr/local/epics/support/calc-3-4-1/dbd")
dbLoadDatabase("/usr/local/epics/support/calc-3-4-1/dbd/sseqRecord.dbd")
dbLoadRecords("/usr/local/epics/support/calc-3-4-1/calcApp/Db/yySseq.db", "P=SQBOA-CCD:, S=AcquireSequence")
set_requestfile_path("./")
set_requestfile_path("$(ADCORE)/ADApp/Db")
set_requestfile_path("$(CALC)/calcApp/Db")
set_requestfile_path("$(SSCAN)/sscanApp/Db")
set_savefile_path("./autosave")
set_pass0_restoreFile("auto_settings.sav")
set_pass1_restoreFile("auto_settings.sav")
save_restoreSet_status_prefix("$(PREFIX)")
dbLoadRecords("$(AUTOSAVE)/asApp/Db/save_restoreStatus.db", "P=$(PREFIX)")
set_requestfile_path("$(ADCORE)/andorApp/Db")
asynSetTraceMask("ANDOR",0,3)
asynSetTraceIOMask("ANDOR",0,4)
iocInit()
EPICS R3.14.12.3$Date: Mon 2012-12-17 14:11:47 -0600$
EPICS Base built Feb 4 2013
recDynLinkOut: waiting for CA context
recDynLinkOut: got CA context
save things every thirty seconds
create_monitor_set("auto_settings.req", 30,"P=$(PREFIX)")
asynSetTraceMask(ANDOR, 0, 255)
epics> 2015/02/03 09:37:21.886 ANDOR addr -1 queueRequest priority 0 not lockHolder
2015/02/03 09:37:30.874 ANDOR asynManager:queueTimeoutCallback
2015/02/03 09:37:30.874 SQBOA-CCD:CCD:AsynIO: special queueRequest timeout
2015/02/03 09:37:30.874 SQBOA-CCD:HDF1:AsynIO: special queueRequest timeout
2015/02/03 09:37:30.874 SQBOA-CCD:Magick1:AsynIO: special queueRequest timeout
2015/02/03 09:37:30.874 SQBOA-CCD:Nexus1:AsynIO: special queueRequest timeout
2015/02/03 09:37:30.874 SQBOA-CCD:TIFF1:AsynIO: special queueRequest timeout
2015/02/03 09:37:30.874 SQBOA-CCD:netCDF1:AsynIO: special queueRequest timeout
2015/02/03 09:37:33.791 ANDOR addr -1 queueRequest priority 0 not lockHolder
2015/02/03 09:37:37.195 SQBOA-CCD:CCD:AsynIO: exception 7
2015/02/03 09:37:38.051 SQBOA-CCD:CCD:AsynIO: exception 7
2015/02/03 09:37:38.856 SQBOA-CCD:CCD:AsynIO: exception 7
2015/02/03 09:37:39.610 SQBOA-CCD:CCD:AsynIO: exception 7
2015/02/03 09:37:40.273 SQBOA-CCD:CCD:AsynIO: exception 7
epics>
The text was updated successfully, but these errors were encountered: