Hello,
I'm trying to setup an areaDetector IOC for reading a Basler camera. The
basics are working, but I have problems to setup the file writing.
Regardless of what way I use (CSS/BOY or caput) I get an exception if I try to
setup any of the Filename related PV's (FilePath, FileName, FileTemplate).
In NDFile.template they are defined as waveform records while BOY interpretes
them as STRING.
If I do:
--> cainfo areaDetector:HDF1:FilePath
areaDetector:HDF1:FilePath
State: connected
Host: x.x.x.x:5064
Access: read, write
Native data type: DBF_CHAR
Request type: DBR_CHAR
Element count: 256
If I try to set the variable to some path:
caput areaDetector:HDF1:FilePath "/home/<some user>"
Old : areaDetector:HDF1:FilePath 256 3 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0
CA.Client.Exception...............................................
Warning: "Channel write request failed"
Context: "op=1, channel=areaDetector:HDF1:FilePath, type=DBR_STRING,
count=1, ctx="areaDetector:HDF1:FilePath""
Source File: ../oldChannelNotify.cpp line 160
Current Time: Mon Apr 18 2016 08:18:01.581943010
..................................................................
New : areaDetector:HDF1:FilePath 256 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0
Only if I use caput -S ... I can successfully set the variable.
In CSS I get the following message:
2016-04-18 08:15:44 ERROR: Failed to write value to PV
areaDetector:HDF1:FilePath from widget Text Input.
Illegal input : /home/<some user>
java.lang.ArrayIndexOutOfBoundsException: 0
How to force BOY to send the string as an array of chars?
Regards
Jörn
- Replies:
- Re: Problem with areaDetector NDFile FilePath setting Hinxx
- Navigate by Date:
- Prev:
EPICS at the last continent - Antarctic Shen, Guobao
- Next:
Re: Problem with areaDetector NDFile FilePath setting Hinxx
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
<2016>
2017
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
EPICS at the last continent - Antarctic Shen, Guobao
- Next:
Re: Problem with areaDetector NDFile FilePath setting Hinxx
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
<2016>
2017
2018
2019
2020
2021
2022
2023
2024
|