Post reply

Name:
Email:
Subject:
Message icon:

Verification:
Unregistered users must pass a verification.

Please enter the number from the picture :

shortcuts: hit alt+s to submit/post or alt+p to preview


Topic Summary

Posted by: r-aktiv
« on: December 20, 2018, 08:52:49 am »

Thanks for your support, Jan! I tried out your second script and it works well!

Posted by: Jan
« on: December 19, 2018, 03:25:45 pm »

Maybe you will need to acquire all data from the receiver before saving the report, so the script can be enhanced:

Code: [Select]
getfrequency
getquality
getlevel
frequencydeviation.acquire
getpilot
getrds
getphase
rds.getdata

set(OutputFile,c:\reports\%date %time.htm)
call(CompleteReport)

stop

include(report_svg.fms)
Posted by: Jan
« on: December 19, 2018, 02:57:39 pm »

This task can be executed using the task scheduler, like any other script.

  • Create a folder on your disk for the reports, for example C:\reports
  • In the FM Scope, select Script - Script Editor...
  • Enter the path and file name for the new script, for example C:\reports\report autosave.fms
  • Click Open and confirm the creation
  • Enter the script code below
  • Click File - Save
  • In the FM Scope, open the Task Scheduler and fill the script file on an empty line:
    C:\reports\report autosave.fms
  • Define the days and times when the script shall execute.

Code: [Select]
set(OutputFile,c:\reports\%date %time.htm)
call(CompleteReport)

stop

include(report_svg.fms)


Make sure you have latest FM Scope version.
Posted by: r-aktiv
« on: December 19, 2018, 12:58:54 pm »

Hello,

is there any way saving daily HTML reports of all measurements in FM Scope automatically every day? I tried out the task scheduler, but unfortunately I don't see the possibility to execute a task like this. It would be a lot of work saving the reports in a daily interval manually.

Thank you for your answer!
Sincerely
Jonas