Hi,
I started to use Proficy Historian and now I am trying to add Chart Group Files to Line Chart from button but without success.
I used the same code as for standard chart.
On my button for standard chart I had this code:
OpenPicture "History.grf", "", "", ""
CGW_ApplyFileToChart "C:\HMI\DUT\HTR\St1.csv", "MyChart"
Now I just renamed chart name to "LineChart1"
OpenPicture "History.grf", "", "", ""
CGW_ApplyFileToChart "C:\HMI\DUT\HTR\St1.csv", "LineChart1"
Is there any way to achieve this?
Thanks,
M.
I started to use Proficy Historian and now I am trying to add Chart Group Files to Line Chart from button but without success.
I used the same code as for standard chart.
On my button for standard chart I had this code:
OpenPicture "History.grf", "", "", ""
CGW_ApplyFileToChart "C:\HMI\DUT\HTR\St1.csv", "MyChart"
Now I just renamed chart name to "LineChart1"
OpenPicture "History.grf", "", "", ""
CGW_ApplyFileToChart "C:\HMI\DUT\HTR\St1.csv", "LineChart1"
Is there any way to achieve this?
Thanks,
M.