Navigation: Quick Start > Analog Plotting >

Settings Window

 

 

 

 

The Analog Plot's Settings window, accessed through the plot's pop-up menu, provides a quick means to configure several options and allows configuring the analog channels.

 

 

Most settings are self-explanatory. For a discussion on Data Points and No Change Skip, please see Data Points.

 

 

The plotting channels can be configured most easily though the plot Settings by using the plot's pop-up menu to configure:
 

The color of the channel.
 

If the channel plot is shown.
 

The label or name of the channel in the legend.
 

The value or formula of the channel using in plotting.
 

Click a color to select a new color.
 

Un-check to hide a channel
 

Enter a new name to change the legend name.
 

Pre-Plot Formulas are applied before using the data for plotting and other uses, such as logging of [plot.ch1].
 

For the formulas, the following rules apply:

If blank, the corresponding [ainX] values will be plotted. [ain0] for Channel 0, [ain1] for Channel 1, etc.
 

A channel may be turned off from plotting data by entering off.
 

Sources of data such as [ain12] or [sldSetpoint]
 

Formulas may be used , braces {} not required for standard math, but :: are for post-fix math. Post-fix require less processing time than standard math.
([ain0] + [ain1]) / 2
sin(rad(plot.ch0))
:: [ain0] [plot.ch0] + 2 /
 

Post-Plot Formulas allow you to apply a formula to already plotted data. All past and future data is updated per the formula. In using this formula, you can reference the pre-plot value using [pre], such as:
[pre] * 2 + 100

Deleting the formula will return it to its original value.

Updating can take several seconds to perform - about 3 seconds with 10,000 points plotted. Using post-fix math can be applied much, much faster, though more limited in functions currently:
:: [pre] 2 * 100 +

 

Formulas set in code should disable value replacement and re-enable it once complete.

!replaceValuesOff=1
!plot.formulaCh0=[ain2]

!replaceValuesOff=0

 

Note: Pre-Plot Formulas take place when the data is received and processed. Changing the formula will have no effect of data already plotted for pre-plot, but it will for post-plot..

 

 

 

Copyright © 2024 SelmaWare Solutions, LLC