EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  <19961997  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  Index 1994  1995  <19961997  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 
<== Date ==> <== Thread ==>

Subject: Field type
From: [email protected] (Andy Kozubal)
To: [email protected]
Cc: [email protected]
Date: Fri, 16 Feb 1996 14:50:49 -0700
We are using AR to store a large number of waveforms.  The database records define
the array type (FTVL) as either USHORT or UCHAR.  However, AR converts these to
type `float' on output to the archive files.  This conversion uses much more disk
space than we would like.  Is there a way to force the output type to be `unsigned
short' or `unsigned char' (or even `short' or `char')? 

IDL/pvwave has a similar problem.  The caget() function converts USHORT to type `float' .
We can handle this with something like x = fix (caget('c1071its')), but this seems
like an inefficient way to handle the problem.

On a related subject--I noticed that db_access.h and dbFldTypes.h (in base/include) 
define the "DBF_" types differently.  After browsing through the base and extensions 
source code, I found some code includes db_access.h whereas some code includes 
dbAccess.h, which in turn includes dbFldTypes.h.  Which is correct?


|=======================================================================|
| Andy Kozubal   (DX-7)			| E-mail: [email protected]	|
| Mail Stop P942			|				|
| Los Alamos National Laboratory	| Phone: (505) 667-6508		|
| Los Alamos, New Mexico 87545		|				|
|=======================================================================|


Navigate by Date:
Prev: Re: Burt and km under Solaris Andrew Johnson
Next: Re: Burt and km under Solaris John R. Winans
Index: 1994  1995  <19961997  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: Re: Burt and km under Solaris J.F. Gournay
Next: Re: Field type Jeff Hill
Index: 1994  1995  <19961997  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 
ANJ, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·