Logic Machine Forum
Object Log - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Visualization (https://forum.logicmachine.net/forumdisplay.php?fid=9)
+--- Thread: Object Log (/showthread.php?tid=4305)



Object Log - a455115 - 19.10.2022

Hello,

Can I display the Object Log in a screen visible in the scada-vis user window as possible for schedule?


RE: Object Log - admin - 19.10.2022

See this: https://forum.logicmachine.net/showthread.php?tid=2472


RE: Object Log - a455115 - 19.10.2022

Thanks, I didn't find it with the search engine, but is there an option to see it exactly as it is in the server with a username and a filter for all objects?


RE: Object Log - admin - 20.10.2022

No option for filtering at the moment.


RE: Object Log - a455115 - 20.10.2022

And how can I make a button to download the logs of the computer on which it is open and view them as csv?
Alternative to Export all logsĀ but in preview.


RE: Object Log - admin - 20.10.2022

Create logs.lp file and upload via FTP using apps login to user directory.
Code:
<?
require('apps')
dofile('/lib/genohm-scada/web/objectlogs/csv.lua')



RE: Object Log - a455115 - 20.10.2022

(20.10.2022, 07:47)admin Wrote: Create logs.lp file and upload via FTP using apps login to user directory.
Code:
<?
require('apps')
dofile('/lib/genohm-scada/web/objectlogs/csv.lua')

Sorry admin, but I didn't understand you. logs.lp can also be created with a script, right? Then I have to run the code with a script?


RE: Object Log - admin - 20.10.2022

Run this once:
Code:
io.writefile('/www/user/logs.lp', [[
<?
require('apps')
dofile('/lib/genohm-scada/web/objectlogs/csv.lua')
]])



RE: Object Log - a455115 - 20.10.2022

(20.10.2022, 11:25)admin Wrote: Run this once:
Code:
io.writefile('/www/user/logs.lp', [[
<?
require('apps')
dofile('/lib/genohm-scada/web/objectlogs/csv.lua')
]])

Are you going to do a tutorial soon I have too many vague things?