##// END OF EJS Templates
en el metodo readblocks se encuentra un error cuando se intenta hacer el reshape del arreglo junk, este error se produce porque no hay bytes suficientes para un bloque de datos. Para esto se propuso el nuevo metodo waitDataBlock que recalcula el numero de byte necesarios para un bloque y espera un tiempo (sleep) en caso no esten disponibles, se hacen tres intentos, si no se tiene exito el programa retorna 0.
en el metodo readblocks se encuentra un error cuando se intenta hacer el reshape del arreglo junk, este error se produce porque no hay bytes suficientes para un bloque de datos. Para esto se propuso el nuevo metodo waitDataBlock que recalcula el numero de byte necesarios para un bloque y espera un tiempo (sleep) en caso no esten disponibles, se hacen tres intentos, si no se tiene exito el programa retorna 0.

File last commit:

r169:661bb8af254a
r434:586e60daf0fb
Show More
experiment.cfg
13 lines | 361 B | text/x-ini | IniLexer
Daniel Valdez
Adding the first version of Controller, including some changes in Voltage and Spectra Processors.
r103 [Read0]
id = 0
type = VoltageReader
Daniel Valdez
Changing the Model for the input Objects in Processing package...
r107 setup = str,/Users/jro/Documents/RadarData/MST_ISR/MST,datetime,2009-01-01-0-0-1,datetime,2009-12-31-0-0-1,int,0,str,,str,None,int,0
Daniel Valdez
Adding the first version of Controller, including some changes in Voltage and Spectra Processors.
r103 getData = None,None
[Processing0]
id = 1
type = Spectra
Daniel Valdez
Changing the Model for the input Objects in Processing package...
r107 input = 0
setup = int,16,None,None
Daniel Valdez
Adding the first version of Controller, including some changes in Voltage and Spectra Processors.
r103 init = None,None
Daniel Valdez
Changing the Model for the input Objects in Processing package...
r107 plotData = float,None,float,None,float,None,float,None,str,Test Spectra Data,int,1