Hi, What exactly is happening when the command does not work? Is the read not completing or does the data not look correct? What does happen? Glenn
On Fri, Sep 23, 2011 at 3:41 PM, Vikas Asthana <[email protected]> wrote: > Hi, > > We have a spectrometer giving out 256 FFT channels. But I am having a bit > problem in reading out the brams using ipython. > I am trying to just read the bram once and see the bram values on a plot. > The command I am using for reading the 32 bit values stored at each address > in BRAM (size = 2048) is : > > f = np.fromstring(u.read(bram,1024*4),dtype='int32').byteswap() > plt.figure(aa);plt.plot(f/(2.0**5)); > > But this will show the data in the BRAM every once in a while (1 in 10), > the same script works fine for the same design giving out 128 FFT channels. > Has anyone encountered this problem before? I have attached the python > script to look at. > Can anyone tell what could be the problem - is it in the script or in the > design? > Thanks for the help. > > > -- > Vikas Asthana > Research Assistant, > Radio Astronomy Systems Research Group, > Brigham Young University, > 480, Clyde building, > Provo, UT, USA - 84602. > Email: *[email protected]* > > >

