Page 1 of 1

How to add comments to csv file?

Posted: Thu Apr 16, 2015 8:03 am
by wlederer
Hi,
I am writing 2 programs, one for PLC (Mitsubishi FX3u) and another for HMI ( Beijer T7A). The goal is to test a control cabinet wich includes both the PLC and HMI.
The process is devided into different steps, each step is to test an input or output. A message on HMI tells to do something, then PLC evaluates the step result and records into PLC memory. At the end all step results are recorded to USB memory as a scv report file.
The question is, how tester can add comments to some steps, if he or she wishes?
Ideally, in the report file, a star should be added in the line corresponded to the step (e.g. #115), and then below:
Step 115 comment: ...........................................

thank You in advance, Waldemar

Re: How to add comments to csv file?

Posted: Fri Jan 24, 2020 2:12 pm
by Russ C.
This would have to be done in scripting using System.IO; where once the csv file is opened lines can be written to it such as comments.