A.1 the fpgetd( ) function, The fpgetd( ) function – Micromod Micro-PWC: 53PW6000 MicroPWC Configuration Guide User Manual

Page 343

Advertising
background image

Micro-PWC CONFIGURATION GUIDE

Appendix A - Excel Functions 323

The fpgetd( ) Function

Function Name

fpgetd( ) - get a value from the current database (double precision)

Synopsis

double fpgetd(char *tag)

Description

The

fpgetd() function is used in the spreadsheet as a formula. This function gets the value of a

specified tagname.atom from the current database. The function

fpgetd() returns the value as a

double precision data type.

Inputs

Returns

Value of the specified tagname.atom, or an error message.

Example

This example gets the value for FIC101.OUT from the current database, for the current time.

In Microsoft Excel:

=fpgetd(“FIC101.OUT”)

Parameter

Description

tag

The tagname and atom for which the value will be obtained
from the current database.

Advertising