简体   繁体   English

无法将csv文件写入Proficy Historian 5.0

[英]Failed to write csv files to Proficy Historian 5.0

I was able to import the csv files containing the tags for the data collector of the proficy historian 5.0. 我能够导入包含用于proficy historian 5.0数据收集器标签的csv文件。 However, every time I tried to import data formatted in csv, it always failed and the error was "Error adding value [OUTSIDE ARCHIVE ACTIVE HOURS, -12]". 但是,每次我尝试导入以csv格式格式化的数据时,它总是失败,并且错误是“在添加值[错误的外部归档活动时间,-12]时出错”。 I doubt this issue comes from wrong formatting of the CSV file and I'm guessing if I change some setting of the historian, it could be fixed. 我怀疑这个问题是由于CSV文件格式错误而引起的,我猜测如果我更改了历史学家的某些设置,则可以解决该问题。 Am I on the right track here? 我在正确的轨道上吗? Thanks for your ideas! 感谢您的想法!

Propably Proficy Historian isn't letting you to write data to a read-only section. 可能是Proficy Historian不允许您将数据写入只读部分。 You should increase the archive parameter Data is Read-only after . 您应该在之后增加归档参数“ 数据为只读” Its a parameter of hours, prior to now, for which data can be stored in a read/write archive. 它是小时之前的参数,可以将其数据存储在读/写档案中。 After the time expires, that portion of the archive file is automatically made read-only. 时间到期后,存档文件的该部分将自动变为只读状态。 Incoming data values with timestamps prior to this time are rejected. 带有此时间之前的时间戳的传入数据值将被拒绝。 A single archive file, therefore, may have a portion made read-only, another portion that is read/write containing recently written data, and another that is unused free space. 因此,单个存档文件的一部分可能是只读的,另一部分是读/写的,其中包含最近写入的数据,另一部分是未使用的可用空间。

The simplest way to change the Data is Read-only After (Hours) is to run the Proficy Historian Administrator, click Data Stores then Data Stores Options and then increase the number of Data is Read-only After (Hours) 更改数据的最简单方法是“小时后(只读)”是运行Proficy Historian管理员,单击“ 数据存储”,然后单击“ 数据存储选项” ,然后增加数据的数量(“小时后”)。

在此处输入图片说明

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM