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  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Snl strings
From: "Gerke, Christian" <[email protected]>
To: <[email protected]>
Date: Wed, 25 Feb 2009 17:07:39 +0100
Hi

For EPICS 3.13 and SNL 1.9.5 how do I send a string from a snl program
to a stringin-record?

I tried:

char debus[40];
assign debus to "KS2:SNL:KUE:DEBUS_stringin";
sprintf(debus,"HDTemp init");                 
pvPut(debus);

As a result the stringin VAL field contains "72" (the ascii code of "H",
the frist string character) which is not quite what I want.

Is there a problem with strings (character arrays) in snl or the
stringin record?
Or is there something wrong with my approach?

Christian

___________________________________________________________________

Christian Gerke       
Deutsches Elektronen Synchrotron DESY  
Mitarbeiter der Gruppe MKS2   
http://www-mks2.desy.de        
Tel +49 40 8998-4028  
Fax +49 40 8994-4028
[email protected]
___________________________________________________________________ 


Replies:
Re: Snl strings Eric Norum

Navigate by Date:
Prev: use and utility of permissive record haquin
Next: Re: Snl strings Eric Norum
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: use and utility of permissive record Emmanuel Mayssat
Next: Re: Snl strings Eric Norum
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 31 Jan 2014 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·