Hi,
I have a waveform record which retrieves data from 2 channels on a VME card upon the card generating an interrupt. I then process this data into channel 1 and channel 2 via two subArray records. Channel 2 data appears immediately following the channel 1 data in the waveform record and is of the same size.
subArray record 1 has INDX = 0, NELM = size of data (calculated from waveform.NORD/2 via calc record), MALM = 16384
subArray record 2 has INDX = size of data, NELM = size of data, MALM = 16384
The maximum samples that the VME card will generate is 16384 per channel.
When I am at my maximum number of samples, I only see 1 sample in subArray record 2, INDX is truncated to MALM - 1 and NORD is 1. As number of samples is reduced NORD increases. It seems that I am only allowed to store (MALM - INDX) samples rather than MALM.
Should it not be the case that I can store the number of sample allocated in MALM? Otherwise I will be allocating memory which I will never be using, in this case double the amount required in subArray 2 as MALM must equal (INDX + NELM) rather than simply NELM.
Clearly I can get the system operating by setting MALM sufficiently high in subArray 2, but it seems that MALM isn't quite doing what it would be expected to do?
Graham--
Scanned by iCritical.
- Replies:
- Re: 'Feature' of subArray record Tim Mooney
- Re: 'Feature' of subArray record Andrew Johnson
- Navigate by Date:
- Prev:
Re: epics on FreeBSD: broadcast problem Andrew Johnson
- Next:
Re: How to use asyn with linux-GPIB Rod Nussbaumer
- 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
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
RE: Message logging survey Elliott Wolin
- Next:
Re: 'Feature' of subArray record Tim Mooney
- 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
2018
2019
2020
2021
2022
2023
2024
|