I do remember poking at it a while back and finding that it was actually in tenths of a second for some reason - that was ages ago though, so it may have been fixed by now for all I know.
I can't seem to replicate the NIC issue here - your code results in "test" being sent on "led3" just like it should.
Are you perhaps running this on an excessively slow connection that results in the timeout (I think 500ms) being hit?
This is a Lua script I've been using for this myself: https://gist.github.com/cheapie/e4edc2ea274750c235c984d972703803
Runs outside of the game, requires lua-imlib2, and takes one argument (the path to an image file). It'll then spew two things - the image in table format (as a digiscreen would need) and in the "packed" format for the "loadpacked" command of digistuff's GPU.
Do make sure you scale the image to whatever size you want ahead of time - it won't try to do that for you, and will process whatever resolution the input is whether that's what you want or not.
I do remember poking at it a while back and finding that it was actually in tenths of a second for some reason - that was ages ago though, so it may have been fixed by now for all I know.
I can't seem to replicate the NIC issue here - your code results in "test" being sent on "led3" just like it should.
Are you perhaps running this on an excessively slow connection that results in the timeout (I think 500ms) being hit?
This is a Lua script I've been using for this myself: https://gist.github.com/cheapie/e4edc2ea274750c235c984d972703803
Runs outside of the game, requires lua-imlib2, and takes one argument (the path to an image file). It'll then spew two things - the image in table format (as a digiscreen would need) and in the "packed" format for the "loadpacked" command of digistuff's GPU.
Do make sure you scale the image to whatever size you want ahead of time - it won't try to do that for you, and will process whatever resolution the input is whether that's what you want or not.