Author Topic: BasicDataLogger2 does not seem to work with LogTriggerType=DataChange  (Read 2231 times)

bachphi

  • Hero Member
  • *****
  • Posts: 693
    • View Profile
It works with TimeInterval. But when I change to DataChange type and change the value of my PLC tag, I dont see it record any value. TIA.

UCL =================
This is NOT alt.read.my.mind.
No such thing is sh^t-for-brains unless you are posting to alt.read.my.mind.
My understanding of computer is well below six Σ.
Unless what I am saying is logically defined in a PLC, everything else might be beyond my control.
LCL =================

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5361
    • View Profile
    • AdvancedHMI
Re: BasicDataLogger2 does not seem to work with LogTriggerType=DataChange
« Reply #1 on: September 14, 2015, 06:19:26 PM »
- In Solution Explorer, open \AdvancedHMIControls\Components\BasicDataLogger2.vb
- Go to line 163 and change to this:

            If m_MaximumPoints = 0 OrElse PointCount < m_MaximumPoints Then

bachphi

  • Hero Member
  • *****
  • Posts: 693
    • View Profile
Re: BasicDataLogger2 does not seem to work with LogTriggerType=DataChange
« Reply #2 on: September 15, 2015, 08:36:53 AM »
It works, I think the BasicDatalogger also need to be changed as well.
Thank You, Archie!
UCL =================
This is NOT alt.read.my.mind.
No such thing is sh^t-for-brains unless you are posting to alt.read.my.mind.
My understanding of computer is well below six Σ.
Unless what I am saying is logically defined in a PLC, everything else might be beyond my control.
LCL =================