How to add comments to csv file?

A forum devoted to the discussion of all topics having to do with scripting and other advanced programming using iX Developer.
Post Reply
wlederer
Posts: 175
Joined: Fri Jan 27, 2012 4:20 am

How to add comments to csv file?

Post 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

User avatar
Russ C.
Posts: 213
Joined: Thu Nov 16, 2017 3:32 pm
Contact:

Re: How to add comments to csv file?

Post 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.
Best regards,

Russ
(801) 708-6690
Technical Support
Contact Us

Beijer Electronics AB
http://www.beijerelectronics.us

Post Reply