EPICS Home

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: Fixed-size arrays vs. variable-size malloc'ed arrays for waveforms
From: [email protected] (John Spring)
To: [email protected]
Date: Mon, 22 Jan 96 13:19:25 PST
Hi there:

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: Fixed-size arrays vs. variable-size malloc'ed arrays for waveforms John Spring
Next: Re: Fixed-size arrays vs. variable-size malloc'ed arrays for waveforms Carl Lionberger
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: Fixed-size arrays vs. variable-size malloc'ed arrays for waveforms John Spring
Next: Re: Fixed-size arrays vs. variable-size malloc'ed arrays for waveforms Carl Lionberger
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