Skip to main content

Topics

This section allows you to view all Topics made by this member. Note that you can only see Topics made in areas you currently have access to.

Topics - rasmus

1
Client software / VHDL RLE updates not supported by client
I've made some progress on the 15-channel RLE mode. The client does however not seem to support it, which is actually nice for me when I'm debugging because I can see exactly what the OLS spits out. :)

15-channel and 7-channel RLE would work analogous to the 31-channel RLE that we have now.

31-channel RLE: (Already implemented in the client.)
Channels 0 to 30 are used for samples and run-lengths. Channel 31 is the RLE flag (=0 for a sample, =1 for a run-length).
This mode can encode runs of up to 2G samples, which is actually a problem, because signals with little change in them could take hours, days, weeks or years to fully record depending on the sample rate. I'm going to add a timer that stops the RLE recording after a certain number of seconds (the timer could be made user configurable).

15-channel RLE:
Channels 0 to 14 are used for samples and run-lengths. Channel 15 is the RLE flag (=0 for a sample, =1 for a run-length).
This mode is useful when you're sampling 15 or fewer channels and you have no runs significantly longer than 32k samples.

7-channel RLE:
Channels 0 to 6 are used for samples and run-lengths. Channel 7 is the RLE flag (=0 for a sample, =1 for a run-length).
This mode is useful when you're sampling 7 or fewer channels and you have no runs significantly longer than 127 samples.

Edit: Attached a test bitstream.

( ! ) Fatal error: Uncaught exception 'Elk_Exception' with message 'Please try again. If you come back to this error screen, report the error to an administrator.' in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
( ! ) Elk_Exception: Please try again. If you come back to this error screen, report the error to an administrator. in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
Call Stack
#TimeMemoryFunctionLocation
10.01082249120session_write_close ( )...(null):0
20.01112380712ElkArte\sources\subs\SessionHandler\DatabaseHandler->write( )...(null):0
30.01112381488Database_MySQL->query( ).../DatabaseHandler.php:119
40.05252520224Database_MySQL->error( ).../Db-mysql.class.php:273