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  2016  2017  <20182019  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  2016  2017  <20182019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: dbpf to waveform
From: Hinko Kocevar <[email protected]>
To: "[email protected]" <[email protected]>
Date: Thu, 28 Jun 2018 12:12:02 +0000
Hi,

at the moment I can use dbpf to write array of char values (ASCII) to waveform.

epics> dbpf FEB-030Row:PBI-EVR-030:SoftSeq0-EvtCode-SP dodo
DBR_UCHAR[5]:       100       0x64                111       0x6f                
100       0x64                111       0x6f                
0         0x0                 
OTOH, if I want to write '42', as an integer, to index 0 of waveform I do not get expected results.
 
epics> dbpf FEB-030Row:PBI-EVR-030:SoftSeq0-EvtCode-SP 42  
DBR_UCHAR[3]:       52        0x34                50        0x32                
0         0x0                 

Any way to get 42 into the waveform with current iocsh facilities?

Thanks,
Hinko

Replies:
Re: dbpf to waveform Johnson, Andrew N.

Navigate by Date:
Prev: Re: 'assert (pca->pgetNative)' failed in ../dbCa.c Andrew Johnson
Next: Re: dbpf to waveform Johnson, Andrew N.
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  <20182019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: areaDetector R3-3 released Mark Rivers
Next: Re: dbpf to waveform Johnson, Andrew N.
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  <20182019  2020  2021  2022  2023  2024 
ANJ, 28 Jun 2018 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·