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: Re: dbpf to waveform
From: "Johnson, Andrew N." <[email protected]>
To: Hinko Kocevar <[email protected]>
Cc: "[email protected]" <[email protected]>
Date: Thu, 28 Jun 2018 14:55:47 +0000
Hi Hinko,

The ASCII code for ‘*’ is 42, so you can do

    dbpf <record> ‘*’

I admit this isn’t a particularly general solution, but in an emergency...

Our command-line commands were originally designed for the VxWorks shell which doesn’t allow for large numbers of parameters. Improvements welcomed!

- Andrew

-- 
Sent from my iPad

> On Jun 28, 2018, at 7:12 AM, Hinko Kocevar <[email protected]> wrote:
> 
> 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 Hinko Kocevar
References:
dbpf to waveform Hinko Kocevar

Navigate by Date:
Prev: dbpf to waveform Hinko Kocevar
Next: RE: dbpf to waveform Hinko Kocevar
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: dbpf to waveform Hinko Kocevar
Next: RE: dbpf to waveform Hinko Kocevar
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 ·