DiscreteInterval Property

Measurement Studio User Interface

DiscreteInterval Property

Syntax

CWAxis.DiscreteInterval

Data Type

Variant

Purpose

Specifies the interval between discrete values.

Example

'Setup the CWSlide control to take only integer data
CWSlide1.Axis.Discrete = True
CWSlide1.Axis.DiscreteInterval = 1
CWSlide1.Axis.DiscreteBase = 1

'Setup the CWSlide control to round all data to the 
'nearest 0.5
CWSlide1.Axis.Discrete = True
CWSlide1.Axis.DiscreteInterval = .5
CWSlide1.Axis.DiscreteBase = 0

See Also

Discrete

DiscreteBase