This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

DMX with LM5p - errors
#11
(21.08.2017, 08:11)admin Wrote: Storage uses Redis server, storage.exec allows executing commands directly (https://redis.io/commands). Viewer app does not support all Redis types, that's why some keys are not shown.

Aha, that makes things much clearer. I see that with lset you can just have one element in an array written, instead of retrieving and writing the full array. I made my own version with get/set of the full array, and timed it around 12ms for reading and 15ms for writing. which makes a tight fit if you want to do this within the first frame of a DMX channel with resolution 40. (Yeah I know....20 will work just fine, but I want the software to be robust and be able to go to the highest freq).

I will try the lset way, but it's funny how the storage is nog showing up. It does with get/set. I am curious if the command will be much faster, because storing an empty key always times around 10ms, which seems to be the minimum for Redis. 10 and 12 ms is not so much of a difference.

For the current values I use the in-memory channels table, and I pick convenient times to store the array to storage in frames where I don't have much else to do.


@Erwin: Not sure, it gives me a screen that looks without CSS formatting. Just a bunch of checkboxes and empty dropdowns in a row. I will probably need to upgrade firmware version then reinstall the alert app. Will upgrade and fix when I have some time Smile
Reply


Messages In This Thread
DMX with LM5p - errors - by tss68nl - 27.06.2017, 20:39
RE: DMX with LM5p - errors - by tss68nl - 27.06.2017, 22:27
RE: DMX with LM5p - errors - by admin - 28.06.2017, 06:20
RE: DMX with LM5p - errors - by tss68nl - 03.07.2017, 09:03
RE: DMX with LM5p - errors - by admin - 03.07.2017, 09:15
RE: DMX with LM5p - errors - by tss68nl - 19.08.2017, 16:52
RE: DMX with LM5p - errors - by admin - 19.08.2017, 17:39
RE: DMX with LM5p - errors - by tss68nl - 19.08.2017, 18:59
RE: DMX with LM5p - errors - by admin - 21.08.2017, 08:11
RE: DMX with LM5p - errors - by tss68nl - 21.08.2017, 09:29

Forum Jump: