Author Topic: ChartBySampling not showing any value  (Read 933 times)

Alwin

  • Newbie
  • *
  • Posts: 2
    • View Profile
ChartBySampling not showing any value
« on: June 07, 2016, 06:12:02 AM »
I'm trying to trend a real-value (F402001) from a Modicon M340 PLC with ChartBySampling control (for code and form, see screenshots in attachments).
When I run the application, I can see the value in the BasicLabel and the BasicTrendChart, but not in the ChartBySampling.
Can you please tell me what I do wrong?
Thanks in advance.

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5269
    • View Profile
    • AdvancedHMI
Re: ChartBySampling not showing any value
« Reply #1 on: June 07, 2016, 06:40:53 AM »
Does it work if you add the PLCAddressItem using the property window in the designer instead of with code?

Alwin

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: ChartBySampling not showing any value
« Reply #2 on: June 07, 2016, 07:18:51 AM »
At first that didn't seem to work (something with "Type doesn't match..."), but now it does!!
Thanks!