iFIX 5.5及以上版本安装后,历史数据采集默认配置为Historian数据库。将历史数据库由Historian配置为传统(Classic)历史数据库的操作步骤如下:
- 打开 iFIX 5.5 or 5.8 安装DVD
- 在安装源目录下查找到Proficy\Legacy文件夹
- 运行安装IFIX55_Pulse_FD.exe或iFIX58_ClassicHistorian_001
- 在iFIX安装目录Proficy\Proficy iFIX\LOCAL文件夹中找到文件[FixUserPreferences.ini],并用记事本打开进行编辑
- 在文件中找到配置”CurrentHistorian= iHistorian”,修改为”CurrentHistorian=Classic”,保存后关闭[FixUserPreferences.ini file]文件
- 重新启通iFIX后,传统历史数据库就可使用.
// In some cases the CurrentHistorian entry listed above may not exist // in the FixUserPreferences.ini file and in this case add the // following section and information manually to the file and then // close and save the updated FixUserPreferences.ini file: [Historian] CurrentHistorian=Classic
IFIX的历史采集可能会因为某些原因停止运行。这时候,我们就需要知道IFIX历史采集的运行状态。
修改“系统配置”->“任务配置”的HTC.EXE的参数,修改为
- 当HTC在运行时,这隔每15秒向“TAGNAME”标签写“1”
// 请将TAGNAME替换成实际使用的标签名称 // /A和TAGNAME之间没有空格,/D和15之间没有空格 HTC.EXE /ATAGNAME /D15
- 当HTC停止运行时,向“TAGNAME”标签写“1”
// 请将TAGNAME替换成实际使用的标签名称 // /T和TAGNAME之间没有空格 HTC.EXE /TTAGNAME
关联文章阅读:iFIX技术文章:历史数据采集之配置传统历史数据库(续)
我仔细看了每一篇文章。写的很精细。谢谢!
非常感谢您的关注