Experimental Physics and
| |||||||||||||||
|
Hi,
I have been working with AreaDetector and the URL driver.
This is aimed at providing a training module that uses an IP camera.
I’ve been working with release R1-9-1 (I believe this is the newest of the 1.x releases), using medm and the EPICS AD Viewer plugin of ImageJ.
I’m working with an Ubuntu /x64 14.04.3 in a VM.
I have GraphicsMagick 1.3.18.
However, I think my questions remain pertinent to release R2-5.
Questions:
1. In start_epics, I suspect that:
medm -x -macro "P=13SIM1:, R=cam1:" simDetector.adl & is meant to be:
medm -x -macro "P=13URL1:, R=cam1:" URLDriver.adl &
2. In st.cmd, in the line:
{URLDriverConfig("$(PORT)", 0, 0)
Is the brace character intended, or is a typo?
I can make it work if the brace is removed.
3. In st.cmd, some lines refer to R=cam1:, whereas some lines refer to R=image1:, is this intended?
e.g.
dbLoadRecords("$(ADURL)/db/URLDriver.template","P=$(PREFIX),R=cam1:,PORT=$(PORT),ADDR=0,TIMEOUT=1")
and
dbLoadRecords("$(ADCORE)/db/NDStdArrays.template", "P=$(PREFIX),R=image1:,PORT=Image1,ADDR=0,TIMEOUT=1,NDARRAY_PORT=$(PORT),TYPE=Int8,FTVL=UCHAR,NELEMENTS=12582912")
I can make it work if I change R=image1: to R=cam1:
4. In auto_settings.req some lines refer to R=cam1:, and some refer to R=image1:, is this intended?
Again, I can make it work if I change R=image1: to R=cam1:
5. The issue I haven’t been able to resolve is this (see screen shot):
I believe the software is correctly collecting image data frames, and the ImageJ plugin shows green with correct connection.
But – I don’t see any picture...
What could I be missing here?
I note that the “Colour mode” is Mono, where the camera has colour.
I also tried this with images/sun.jpg, which is definitely a colour picture.
I’ve referred to resources like http://cars.uchicago.edu/software/epics/URLDriverDoc.html and http://cars.uchicago.edu/software/epics/areaDetectorViewers.html
for information.
Many thanks for help received,
Peter.
| ||||||||||||||
ANJ, 21 Dec 2017 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing · |