12/6/2023 11:04 AM | |
Joined: 8/29/2016 Last visit: 6/24/2024 Posts: 13 Rating:
|
Hello everyone! I do have a project that i store about 20 different flowmeter values and log them in the Historical data of TIA Portal V15 WinCC Professional SCADA system. What i have right now; I have the following code(Document "VBScript.txt") that works for 2 flowmeter values that is created and stored in a CSV file(Document "SampleCSV.rar"). I do call this script with a button trigger in a screen after the date/time parameters set by the user. What i want to do is; I want to edit that CSV file that reflects the data in the SQL Database for all selected flowmeters but i want the flowmeter values to be shown in different columns of exact same timestamp rows. Example CSV Format: Timesamp - Flowmeter1 - Flowmeter2 - Flowmeter3 06.12.2023 13:00:00 - 100.0 - 200.0 - 300.0 All help is appreciated. Waiting for your comments. AttachmentFiles.zip (334 Downloads) |
Follow us on