Wideband lookup tables

If it isnt a problem or a suggestion it probably goes here.

Moderator: Matt

Post Reply
ronny
 

Posts: 7
Joined: Sun May 03, 2009 8:19 pm

Wideband lookup tables

Post 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
Matt
Site Admin
 

Posts: 8993
Joined: Sun Jan 29, 2006 1:45 am
Location: Adelaide, Australia
Contact:

Re: Wideband lookup tables

Post by Matt »

number of entries? can be just about anything. the maximum value on the RHS column probably 65535
ronny
 

Posts: 7
Joined: Sun May 03, 2009 8:19 pm

Re: Wideband lookup tables

Post 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
Attachments
aux1.csv
(2.12 KiB) Downloaded 182 times
Matt
Site Admin
 

Posts: 8993
Joined: Sun Jan 29, 2006 1:45 am
Location: Adelaide, Australia
Contact:

Re: Wideband lookup tables

Post by Matt »

okay I can easily increase the lookup size to a larger number (say 1000 lines?)
ronny
 

Posts: 7
Joined: Sun May 03, 2009 8:19 pm

Re: Wideband lookup tables

Post 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? :mrgreen: just do it.


kind regards
ronny
Matt
Site Admin
 

Posts: 8993
Joined: Sun Jan 29, 2006 1:45 am
Location: Adelaide, Australia
Contact:

Re: Wideband lookup tables

Post 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
Matt
Site Admin
 

Posts: 8993
Joined: Sun Jan 29, 2006 1:45 am
Location: Adelaide, Australia
Contact:

Re: Wideband lookup tables

Post 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
Matt
Site Admin
 

Posts: 8993
Joined: Sun Jan 29, 2006 1:45 am
Location: Adelaide, Australia
Contact:

Re: Wideband lookup tables

Post by Matt »

Now in the 0.9.14.12 build
Post Reply