industrialgrade
Member
Hello all,
I'm using WonderWare Intouch at my factory for the HMI. Here is what I'm trying to accomplish:
Save data values (27 of them) into one CSV. file, increment the rows instead of creating new file name each time the data is ready to save.
- Currently a new CSV. file is saved each time into row 1 in Excel. However, I prefer to have all the data in one CSV. file for easier maintenance. Is there a way to increment the rows such as:
row 1
data 1, data 2 , data 3, data 4
row 2
data 1, data 2, data 3, data 4
etc.
Here is what I have as my script:
FileWriteFields( DATAPATHNAME + "\" + DATAFILENAME, 0, "Data1", 2506 );
Thank you, I hope I explained this thoroughly.
I'm using WonderWare Intouch at my factory for the HMI. Here is what I'm trying to accomplish:
Save data values (27 of them) into one CSV. file, increment the rows instead of creating new file name each time the data is ready to save.
- Currently a new CSV. file is saved each time into row 1 in Excel. However, I prefer to have all the data in one CSV. file for easier maintenance. Is there a way to increment the rows such as:
row 1
data 1, data 2 , data 3, data 4
row 2
data 1, data 2, data 3, data 4
etc.
Here is what I have as my script:
FileWriteFields( DATAPATHNAME + "\" + DATAFILENAME, 0, "Data1", 2506 );
Thank you, I hope I explained this thoroughly.