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  <20162017  2018  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  <20162017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: Merlin and AreaDetector
From: <[email protected]>
To: <[email protected]>, <[email protected]>, <[email protected]>
Date: Mon, 13 Jun 2016 07:32:10 +0000
Hi Kaz,

The labview response messages are confirmation of correct execution of 4 commands which I would expect to be executed at startup. However the fact that they are reported as errors implies that they have come back to the IOC out of sequence. The two blank responses before could mean that a timeout occurred, I suggest increasing the timeout value in the medipix template and see if theses errors go away.

None of this explains the unusual frame size. If your device is generating 516x516 and correctly reports it to the driver then the driver should handle it correctly (but I have not tested those specific dimensions).

Regards,
   giles...
________________________________________
From: [email protected] [[email protected]] on behalf of Mark Rivers [[email protected]]
Sent: 13 June 2016 04:13
To: Gofron, Kazimierz; [email protected]
Subject: RE: Merlin and AreaDetector

Hi Kaz,

When we borrowed that detector and used areaDetector to save images they were 512x512, not 516x516.  Joanne Stubbs said she thinks there may be some different options on how to handle edge pixels, so perhaps your settings are different from ours.

Mark

________________________________
From: Gofron, Kazimierz [[email protected]]
Sent: Friday, June 10, 2016 7:51 PM
To: Mark Rivers; [email protected]
Subject: RE: Merlin and AreaDetector

Thanks Mark on poiners to increase the number of ROI regions. Both modifications of screens, and commonPlugins is easy enough.

It is a loaner quad Merlin, and i am working with it for last 2 days. Perhaps I am still overlooked something.

Strangely enough, the image from Merlin seems to be 516x516 pixels, and not 512x512 the way documentation indicates, and ADMerlin has it setup.

Kaz

Sent from my Sprint Samsung Galaxy Note5.


-------- Original message --------
From: Mark Rivers <[email protected]>
Date: 6/10/16 6:45 PM (GMT-05:00)
To: "Gofron, Kazimierz" <[email protected]>, [email protected]
Subject: RE: Merlin and AreaDetector

Hi Kaz,

> However, for the current application, we need 6 ROI regions, but AD provides only 4 ROI regions. Would increasing number of ROI regions to 6 in areaDetector be standardized?

4 NDPluginROI plugins are loaded in the example commonPlugins.cmd file.  You are free to edit that file to load more, or instantiate additional plugins in the st.cmd file in addition to those created in commonPlugins.cmd.  You will also need to modify the OPI screen to access the additional plugins.  Many sites customize what plugins are loaded, either not loaded unused plugins, loading additional instances of standard plugins, or loading new site-specific plugins they have written.

Those communication errors with the LabView socket server do not look correct.  I don't recall seeing those, but I only had the detector for a couple of weeks and so did not spend a lot of time testing it.

Is this a purchased unit or their loaner?

Mark


-----Original Message-----
From: Gofron, Kazimierz [mailto:[email protected]<redir.aspx?REF=Im7ztHz_clyDLFxbGzMrIw6-RY7nDnulWbyrpFnJAxPKNPFzOJPTCAFtYWlsdG86a2dvZnJvbkBibmwuZ292>]
Sent: Friday, June 10, 2016 5:19 PM
To: [email protected]
Cc: [email protected]
Subject: Merlin and AreaDetector

Dear all,

For Merlin Quad detector, I compiled ADMerlin with newest AreaDetector (2.5?), and things seem to work properly. However, for the current application, we need 6 ROI regions, but AD provides only 4 ROI regions. Would increasing number of ROI regions to 6 in areaDetector be standardized?

2. I am also seeing the "labview" messages in the ioc which may or may not be important.I am wondering if this is anything to worry about???

iocInit()
Starting iocInit
############################################################################
## EPICS R3.14.12.5 $Date: Tue 2015-03-24 09:57:35 -0500$
## EPICS Base built Dec  2 2015
############################################################################
reboot_restore: entry for file 'auto_settings.sav'
reboot_restore: Found filename 'auto_settings.sav' in restoreFileList.
*** restoring from '/epics/iocs/merlinIOC/as/save/auto_settings.sav' at initHookState 6 (before record/device init) ***
reboot_restore: done with file 'auto_settings.sav'

reboot_restore: entry for file 'auto_settings.sav'
reboot_restore: Found filename 'auto_settings.sav' in restoreFileList.
*** restoring from '/epics/iocs/merlinIOC/as/save/auto_settings.sav' at initHookState 7 (after record/device init) ***
reboot_restore: done with file 'auto_settings.sav'

cas warning: Configured TCP port was unavailable.
cas warning: Using dynamically assigned TCP port 57841,
cas warning: but now two or more servers share the same UDP port.
cas warning: Depending on your IP kernel this server may not be
cas warning: reachable with UDP unicast (a host's IP in EPICS_CA_ADDR_LIST)
iocRun: All initialization complete
# save things every thirty seconds
create_monitor_set("auto_settings.req", 30,"P=XF:10IDD-ES{Merlin:1}")
save_restore:readReqFile: unable to open file sseq_settings.req. Exiting.
save_restore:readReqFile: unable to open file sseq_settings.req. Exiting.
save_restore:readReqFile: unable to open file sseq_settings.req. Exiting.
save_restore:readReqFile: unable to open file sseq_settings.req. Exiting.
save_restore:readReqFile: unable to open file sseq_settings.req. Exiting.
save_restore:readReqFile: unable to open file sseq_settings.req. Exiting.
save_restore:readReqFile: unable to open file sseq_settings.req. Exiting.
save_restore:readReqFile: unable to open file sseq_settings.req. Exiting.
save_restore:readReqFile: unable to open file sseq_settings.req. Exiting.
save_restore:readReqFile: unable to open file sseq_settings.req. Exiting.
epics> auto_settings.sav: 826 of 826 PV's connected
2016/06/10 18:02:42.811 medipixDetector:mpxReadCmd error, status=1 unexpected response from labview: ''
2016/06/10 18:02:42.811 medipixDetector:writeFloat64 error, status=1 function=91, value=20.000000
2016/06/10 18:02:42.812 XF:10IDD-ES{Merlin:1}cam1:OperatingEnergy devAsynFloat64 pPvt->result.status=1, process error
2016/06/10 18:02:44.814 medipixDetector:mpxReadCmd error, status=1 unexpected response from labview: ''
2016/06/10 18:02:46.815 medipixDetector:mpxReadCmd error, status=1 unexpected response from labview: ''
2016/06/10 18:02:47.155 medipixDetector:mpxReadCmd error, status=0 unexpected response from labview: 'MPX,0000000022,CMD,STOPACQUISITION,0'
2016/06/10 18:02:47.162 medipixDetector:mpxReadCmd error, status=0 unexpected response from labview: 'MPX,0000000022,SET,OPERATINGENERGY,0'
2016/06/10 18:02:47.166 medipixDetector:mpxReadCmd error, status=0 unexpected response from labview: 'MPX,0000000017,SET,THRESHOLD0,0'
2016/06/10 18:02:47.169 medipixDetector:mpxReadCmd error, status=0 unexpected response from labview: 'MPX,0000000027,GET,THRESHOLD0,10.000000,0'
2016/06/10 18:02:47.186 medipixDetector:writeFloat64 error, status=1 function=83, value=10.000000
2016/06/10 18:02:47.186 XF:10IDD-ES{Merlin:1}cam1:ThresholdEnergy0 devAsynFloat64 pPvt->result.status=1, process error

epics>

Kazimierz


-- 
This e-mail and any attachments may contain confidential, copyright and or privileged material, and are for the use of the intended addressee only. If you are not the intended addressee or an authorised recipient of the addressee please notify us of receipt by returning the e-mail and do not use, copy, retain, distribute or disclose the information in or attached to the e-mail.
Any opinions expressed within this e-mail are those of the individual and not necessarily of Diamond Light Source Ltd. 
Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments are free from viruses and we cannot accept liability for any damage which you may sustain as a result of software viruses which may be transmitted in or with the message.
Diamond Light Source Limited (company no. 4375679). Registered in England and Wales with its registered office at Diamond House, Harwell Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom



Replies:
RE: Merlin and AreaDetector Gofron, Kazimierz
References:
Merlin and AreaDetector Gofron, Kazimierz
RE: Merlin and AreaDetector Mark Rivers
RE: Merlin and AreaDetector Gofron, Kazimierz
RE: Merlin and AreaDetector Mark Rivers

Navigate by Date:
Prev: Re: Error msg Stefen Paul
Next: RE: Error msg 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  <20162017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: Merlin and AreaDetector Mark Rivers
Next: RE: Merlin and AreaDetector Gofron, Kazimierz
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 15 Jul 2016 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·