AdvancedHMI Software

General Category => Support Questions => Topic started by: paulm on March 10, 2017, 06:20:50 AM

Title: Exception Error - Axis Object - The Minimum value of the Axis is greater than..
Post by: paulm on March 10, 2017, 06:20:50 AM
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
Title: Re: Exception Error - Axis Object - The Minimum value of the Axis is greater than..
Post by: Archie on March 10, 2017, 07:11:44 AM
What version of AdvancedHMI are you using?
Title: Re: Exception Error - Axis Object - The Minimum value of the Axis is greater than..
Post by: paulm on March 10, 2017, 09:58:58 AM
Hi Archie

I am using V3.99t

Regards

Paul
Title: Re: Exception Error - Axis Object - The Minimum value of the Axis is greater than..
Post by: Archie on March 10, 2017, 10:39:59 AM
Are you using the PLCAddressYMin and PLCAddressYMax properties?
Title: Re: Exception Error - Axis Object - The Minimum value of the Axis is greater than..
Post by: paulm on March 10, 2017, 11:03:53 AM
Hi Archie

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

Should i set SuppressExceptions to true?

Regards

Paul
Title: Re: Exception Error - Axis Object - The Minimum value of the Axis is greater than..
Post by: Archie on March 10, 2017, 11:09:58 AM
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.
Title: Re: Exception Error - Axis Object - The Minimum value of the Axis is greater than..
Post by: paulm on March 10, 2017, 11:52:48 AM
Hi Archie,

The value might on occasion go out of range

Regards

Paul
Title: Re: Exception Error - Axis Object - The Minimum value of the Axis is greater than..
Post by: Archie on March 10, 2017, 11:54:42 AM
I think you're on the right track with the SuppressExceptions