No announcement yet.

Simple Scripts - Save Values

  • Filter
  • Time
  • Show
Clear All
new posts

    Simple Scripts - Save Values

    I was looking for a script that would save Device Values into a CSV file. All I found were scripts that saved one value per line, not on one line comma separated.
    This is a very simple script, feel free to use or modify as you wish.

    When calling script - ("Main","FileName, DevCode#1, DevCode#2, etc... ")

    FileName is in the data folder of HS PRO, change directory in the script. It will add the CSV on the end.

    The first column of the CSV file with have the date and time entered in a simple numerical format (yyMMddhhmm) for use by software which can not parse dates.

    All of the DevCode values will be saved in order, separated by a comma.

    The second file does the same thing for Device Status.
    Attached Files