Logging to *.csv files - restrictions ?

I am logging from cicode to a *.csv file for 150 variables.

the logging works but only for the first 100 variables, is there a restriction for *csv files in Plant Scada (V8.1)  or a parameter setting i need to increase ?

Edit i found i had my field character width too large at 40 characters, I shorted them to 20 and now all 150 variables log successfully. is there a restriction for the "ascii" format for data in general which would be good to know.

Parents
  • You might have better success using the FileOpen(), FileWrite(), etc functions. They write directly to a text file without using a Device definition. There shouldn't be any restrictions other than the maximum string length of 255 characters. So, you may have to write a line to the CSV file using multiple calls to the FileWrite function. You may also have trouble viewing that text file since 3,000 to 6,000 characters is more than some editors may be able to handle per line.

Reply
  • You might have better success using the FileOpen(), FileWrite(), etc functions. They write directly to a text file without using a Device definition. There shouldn't be any restrictions other than the maximum string length of 255 characters. So, you may have to write a line to the CSV file using multiple calls to the FileWrite function. You may also have trouble viewing that text file since 3,000 to 6,000 characters is more than some editors may be able to handle per line.

Children
No Data