Page 1 of 1
Wideband lookup tables
Posted: Tue Aug 10, 2010 10:18 pm
by ronny
Hi,
what is the maximum count of items for the wideband/AD-Channel lookup tables?
Perhaps this information could be added to documentation.
thanks Ronny
Re: Wideband lookup tables
Posted: Tue Aug 10, 2010 10:57 pm
by Matt
number of entries? can be just about anything. the maximum value on the RHS column probably 65535
Re: Wideband lookup tables
Posted: Wed Aug 11, 2010 7:24 pm
by ronny
hi,
i played a little bit with the lookup tables and it seems that more than 200 lines (+ first line for the Channel Tag) are not possible.
i added my test lookup table.
Max value nistune shows up is 203 for channel 1 but the AD-Unit sends 0x3FF for this channel (= 5Volt)
With the attached lookup file i expected nistune displays 300 at 5Volt Input.
It looks like Nistune ignores the rest the lines greater 201 in my file.
kind regards
Ronny
Re: Wideband lookup tables
Posted: Thu Aug 12, 2010 2:16 pm
by Matt
okay I can easily increase the lookup size to a larger number (say 1000 lines?)
Re: Wideband lookup tables
Posted: Thu Aug 12, 2010 7:38 pm
by ronny
hi matt
i do not really need this big tables at the moment.
i stumbled upon this table issue by accident. (i was to lazy to make a reasonable table size)
A hint in the readme/documentation for max table size is enough.
hmmm 1000 lines? easily?
just do it.
kind regards
ronny
Re: Wideband lookup tables
Posted: Thu Aug 12, 2010 11:34 pm
by Matt
just wastes more memory, since I have to allocate memory for the buffer prior to loading a file into it
I've increased the buffer size and max lines to read tonight for next version
Re: Wideband lookup tables
Posted: Thu Aug 12, 2010 11:34 pm
by Matt
was 200 lines btw but only about 4000 bytes of buffer space for the file. Dare say you ran out of buffer first when reading the file
Re: Wideband lookup tables
Posted: Tue Aug 17, 2010 6:47 pm
by Matt
Now in the 0.9.14.12 build