Cicode Programming Reference > Cicode Function Categories > Display Functions > DspDirty

DspDirty

Forces Citect SCADA to update an AN. Normally, Citect SCADA updates the animation on the AN only if the data has changed. This function tells Citect SCADA to update the AN the next time it animates the AN - even if the data has not changed.

Use this function when you have complex animations that overlap. If two or more animations overlap, you should use the DspDel() or DspDirty() function on their ANs, and then display them in the same order (when they need to be updated).

Note: This function is only used for V3.xx and V4.xx animations, and was superseded in later releases.

Syntax

DspDirty(nAN)

nAN:

The animation-point number.

Return Value

0 (zero) if successful, otherwise an error is returned.

Related Functions

DspDel

Example

DspDirty(20);
! Forces an update of AN20.

See Also

Display Functions

Published June 2018