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

DspDirty

Forces CitectSCADA to update an AN. Normally, CitectSCADA updates the animation on the AN only if the data has changed. This function tells CitectSCADA 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(AN)

AN:

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