.txt file update or autosave[问题]--solved

  • 主题发起人 主题发起人 laoli
  • 开始时间 开始时间

laoli

新手上路
注册
2002-01-19
消息
501
荣誉分数
0
声望点数
0
Let you guys updated. The problem has been solved by using DDE. Both software C and excel accept DDE.Thank you all.

Need to read data from a .txt file dynamically. How to keep the .txt file autosaved?

Software C needs data dynamically from software A ( data acquisition system). Software A can dynamically (once 20 seconds) export data to Excel file B. B needs to be saved as .txt file and then to be read by software C (C can not read directly from .xls file).Now, the probelm comes. C can not read .xls file but can reasd .txt file. How to make the B in .txt format updated every 20 seconds automatically in ordor to let C to read the data dynamically. Hope I explain it clearly. Excel file can be saved as .txt file, and when this file is kept opening, the data is dynamically updated, but not saved. C can only read the .txt file saved.

Basically, how to make a .txt file autoupdated or autosaved? Thanks a lot.
 
另保存你的文件为.txt,然后直接用excel操作你的.txt文件就可以了
 
最初由 ???狗 发布
另保存你的文件为.txt,然后直接用excel操作你的.txt文件就可以了

I did "save as" to a .txt file. But this .txt file can not be auto-updated or auto saved. The number in the opened "Excel" file (has been saved as .txt) updated every 20 seconds. The number in the saved .txt file can not be updated, therefore the reading in Software C keeps no change until the Excel file B is saved manually.
 
后退
顶部