g+
g+ Communities
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  Index 1994  1995  <19961997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014 
<== Date ==> <== Thread ==>

Subject: Fixed-size arrays vs. variable-size malloc'ed arrays for waveforms
From: jspring@csg.lbl.gov (John Spring)
To: 1@csg.lbl.gov, tech-talk@aps.anl.gov
Date: Mon, 22 Jan 96 13:13:31 PST
	Hi there:
	Content-Length: 738
	Status: R

	I'm trying to display a waveform using EPICS. I've gotten the state
	sequencer to save the data into a file, but I cannot seem to display
	it. Timestamps are working. I get the error message

	sydCAFunc: error on ca_array_get_callback(GR) for WAVEFORM_ARRAY.VAL :
	Count requested inappropriate for that channel
	sydCAFuncConnHandler: error finishing connection for WAVEFORM_ARRAY.VAL

	but the count should be initialized to zero. Does anyone have a short
	program illustrating the proper way  to display a waveform? Maybe there's
	something incorrectly set in gdct or edd. 

	Also, do I *have* to use fixed-size arrays for waveforms? Can't I use
	a pointer and the C functions calloc and free to vary its size?

	Thank you very much.

	John Spring


Navigate by Date:
Prev: symbols for scan, dfanout, and seq records Sarah Quady
Next: Fixed-size arrays vs. variable-size malloc'ed arrays for waveforms John Spring
Index: 1994  1995  <19961997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014 
Navigate by Thread:
Prev: symbols for scan, dfanout, and seq records Sarah Quady
Next: Fixed-size arrays vs. variable-size malloc'ed arrays for waveforms John Spring
Index: 1994  1995  <19961997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014 
ANJ, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICSv4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·