intouch scripting

joaco1993

Lifetime Supporting Member
Join Date
Sep 2014
Location
newyork
Posts
237
Hi all , i have done some scripting in order to record some values in a csv file.

------------------------------------------------------------------------
MyTag = $DateString + StringChar(44) +$TimeString + StringChar(44) +tag 1+StringChar(44) + StringFromIntg(tag2, 10 )+StringChar(44) + tag3

FileWriteMessage("C:\data\log.csv",-1,MyTag,1);
---------------------------------------------------------------------------

i wrote this script in a while running every 1000 ms

So i get a csv file which is updated every 1 second and record the values to the first row in the first second, to the second row in the 2 second and so on...


But here is my problem , i want to record a specific value lets say in the cell (5,3) in that csv file .

how can i do that ? i also want to keep recording the other values as i do it now...

thanks !
 

Similar Topics

I am looking for a way to capture keyboard input data and store it in a tag. Something like ‘MessageTag = System.In.NextLine();” From there I can...
Replies
2
Views
2,289
I am new to this line of work so please excuse me if this is extremely simple. I have also Searched the forums and web for answeres and am getting...
Replies
1
Views
1,292
Hi folks, We have a second line starting up soon so I am trying to disable the operators from viewing parts of the plant depending on which line...
Replies
7
Views
4,422
Im trying to allow the user to take a span of dates and copy log files from one folder to another so they can view them without disturbing the log...
Replies
0
Views
3,086
Can someone point me in the right direction to find some information on how to learn scripting using Intouch? I need water pumps to turn on/off...
Replies
11
Views
4,552
Back
Top Bottom