Experimental Physics and Industrial Control System
Hi Josh,
I have seen this problem, at least in the past. But right now on my win32-x86 IOC I do not have the problem with the bo records I have tested:
epics> dbpf 13ANDOR1:cam1:AndorCooler.VAL 0
DBR_STRING: "Off"
epics> dbpf 13ANDOR1:cam1:AndorCooler.VAL 1
DBR_STRING: "On"
epics> dbpf 13ANDOR1:cam1:AndorCooler.VAL Off
DBR_STRING: "Off"
epics> dbpf 13ANDOR1:cam1:AndorCooler.VAL On
DBR_STRING: "On"
It works either with the integer values or the enum strings.
This is with EPICS 3.14.12.2.
Mark
From: [email protected] [mailto:[email protected]] On Behalf Of Josh Stein
Sent: Wednesday, January 25, 2012 2:44 PM
To: [email protected]
Subject: odd behavior of 'dbpf' on windows softioc
In the past, I routinely did reads and writes into records on the ioc console; one common action is to 'flip a bit' on a BO record by writing a 1 or 0.
For example,
console>dbpf "testborec","1"
or even:
console>dbpf "testborec.VAL","1"
This does not seem to function properly on my 3.14.11 Windows softIOC:
epics>dbpf "wst:v13C","1"
Illegal choice PV: wst:v13C 1
filename="../dbTest.c" line number=333
Illegal choice - dbPutField error
It appears that I can only put an enumerated value into the value field; so to correct the above example:
epics>dbpf "wst:v13C","Open"
DBR_STRING: "Open"
seems to work fine.
Is this a feature, flaw, or user error on my part?
- References:
- odd behavior of 'dbpf' on windows softioc Josh Stein
- Navigate by Date:
- Prev:
odd behavior of 'dbpf' on windows softioc Josh Stein
- Next:
RE: Motor record support for Galil DMC-2183 Mark Clift
- 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:
odd behavior of 'dbpf' on windows softioc Josh Stein
- Next:
Re: odd behavior of 'dbpf' on windows softioc Andrew Johnson
- 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