Author Topic: Exception Error - Axis Object - The Minimum value of the Axis is greater than..  (Read 1926 times)

paulm

  • Newbie
  • *
  • Posts: 10
    • View Profile
Is there any way to catch the exception error - "Axis Object - The Minimum value of the axis is greater than the largest data point value"

HMI works well but I get this exception error occasionally

Thanks

Paul

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI
What version of AdvancedHMI are you using?

paulm

  • Newbie
  • *
  • Posts: 10
    • View Profile
Hi Archie

I am using V3.99t

Regards

Paul

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI
Are you using the PLCAddressYMin and PLCAddressYMax properties?

paulm

  • Newbie
  • *
  • Posts: 10
    • View Profile
Hi Archie

I am using YAxisMax  (set to 10) and YAxisMin (set to 0)

Should i set SuppressExceptions to true?

Regards

Paul

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI
You can try setting SuppressExceptions to True. Whether that works will depend on whether the chart decides it is a critical exception or not.

Are any of your points going above or below your range of 0 and 10?

I've seen this exception before, but it has been so random that I have not been able to replicate.

paulm

  • Newbie
  • *
  • Posts: 10
    • View Profile
Hi Archie,

The value might on occasion go out of range

Regards

Paul

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI
I think you're on the right track with the SuppressExceptions