Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Plant SCADA

DspGetSlider

  • Last UpdatedJul 18, 2023
  • 1 minute read

Gets the current position (value) of a slider at an AN. You can call this function in the slider event to find the new position of the slider.

Note: This function was designed to only be used on Cicode objects, or the animation point object from the version 3.xx/4.xx toolbox.

Syntax

DspGetSlider(nAN)

nAN:

The animation-point number.

Return Value

The value of the slider from 0 to 32000. If no animation exists at the AN, -1 is returned.

DspSetSlider

Example


// Get the position of the slider at AN 30
nPos = DspGetSlider(30);

See Also

Display Functions

In This Topic
Related Links
TitleResults for “How to create a CRG?”Also Available in