System Platform to .CSV Scripting

Jason Ozolins

Member
Join Date
Mar 2012
Location
Fife Lake, MI
Posts
59
Looking for some guidance on scripting info to create a basic .csv from wonderware system platform...

I want to be able to write the values of tags me.RTD1, me.RTD2, and me.RTD3 to a csv located at... lets just say for example C:/Log.csv whenever me.Log = true.

Any help appreciated, thanks.
 
Thanks... its actually stupidly simple.

(on condition)

dim sw as System.IO.StreamWriter;
sw = System.IO.File.AppendText("C:\Log.csv");
sw.WriteLine("{0},{1}",Text (me.RTD1, "000"), Text (me.RTD2, "000");
sw.Close();
 

Similar Topics

Hello, I am trying to implement some data coming from an Compressor Controller, but cant quite figure out what i am supposed to put into the...
Replies
0
Views
129
Hi all. I received two identical brand new Dell desktops from a customer to install the softwares for a project. The first one is for a...
Replies
3
Views
492
Hello, I'm struggling to learn something on Wonderware, and the distributors are taking days to get through the email chains. I was hoping for...
Replies
1
Views
366
Hi guys, I facing some issue regarding the Historical Alarm settings. Currently my historian is configured as High-Speed storing method, and...
Replies
1
Views
323
Hello everyone, After a Deploy of the viewapp on Intouch, I started getting an error not allowing me to start the viewer "NAD unable to download...
Replies
0
Views
927
Back
Top Bottom