Hst2txt

Hi I need to extract evry day the trend history in a csv file with a different name so i wrote this function:

Dim name
name = $Date&$Time&".csv"
$hst2txt($date, "00:00:00", 24, 1, name)

the problem is that this function does not work. But if i give name = "blablabla.csv" it works.

Oviously i use a scheduler function to call this script every day.

Sorry for my english. Saimir
Parents
  • Hi Philip,

    The function would be the same, but the execution would be in Scheduler for 10 mins instead of a day.

    Use trigger as Clock and under Time column enter 00:10:00 . Under tag column, enter a tag and set it to 1 under expression. Use,above expression for HST2TXT in a script and use Execution trigger as the tag which you just used in the Scheduler. It should generate the .csv every 10 minutes.
Reply
  • Hi Philip,

    The function would be the same, but the execution would be in Scheduler for 10 mins instead of a day.

    Use trigger as Clock and under Time column enter 00:10:00 . Under tag column, enter a tag and set it to 1 under expression. Use,above expression for HST2TXT in a script and use Execution trigger as the tag which you just used in the Scheduler. It should generate the .csv every 10 minutes.
Children
No Data