This button for InduSoft Web Studio will allow you to quickly write data to a .CSV file for easy reports and recordkeeping. The button is configured easily, and uses only native InduSoft Web Studio tools and functions. Here’s this week’s symbol:
Download Button-Write to CSV file Here!
Visit the forum thread for Button-Write to CSV file
Name: Button_WriteToCSV_01
Range (if applicable): N/A
Description: Up to 5 tags can be written to a .CSV file
Notes:
- Works with any data type (Bool, Integer, Real, or String)
- You can use a static file name by adding it to the symbol property FileName with quotes, “TestLog4” for example
- The symbol automatically adds “.csv” for the extension
- The symbol appends to the file if it already exists, but if it doesn’t exist, it will create it
- It creates the file(s) in the projects root folder. With an easy modification, it can log anywhere
Properties: Column 1-5, FileName
Ideas for improvement:
- Add different styles
- Add the ability to log to .txt, or any other extension
- Add the ability to select the path
- Add the ability to select append or overwrite
Here’s how to use this symbol:
Copy the .sym file into your Symbol folder of where InduSoft Web Studio is installed. This is usually “C:\Program Files (x86)\Wonderware InduSoft Web Studio v8.0\Symbol” or similar. Either create a new folder or copy it into an existing one, such as “Buttons”.