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

AVEVA™ Plant SCADA

TrnSamplesConfigured

  • Last UpdatedJul 18, 2023
  • 1 minute read

Gets the number of samples configured for the currently displayed trend.

Syntax

TrnSamplesConfigured(nAN)

AN:

The AN where the trend is located.

Return Value

The number of samples configured for the trend, or 0 (zero) if an error is detected. You can call the IsError() function to get the actual error code.

Example

/* For the trend at AN20, get and display the number of samples */

INT nSamples;

nSamples=TrnSamplesConfigured(20);

DspStr(31,"",IntToStr(nSamples));

See Also

Trend Functions

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