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

Page 348

Advertising
background image

Micro-PWC CONFIGURATION GUIDE

328 Appendix A - Excel Functions

The fpputd( ) Function

Function Name

fpputd( ) - put a value from the spreadsheet into the current database (double precision)

Synopsis

double fpputd(char *tag, double val)

Description

The

fpputd() function is used to put a value into the current database using the tagname and atom

specified. The function

fpputd() takes and places the value in double precision.

Inputs

Outputs

None.

Returns

The value put into the current database, or an error message.

Example

This example puts the value 12.34 in the current database, in double precision format, for the
tagname FIC101.OUT.

In Microsoft Excel:

=fpputd("FIC101.OUT", 12.34)

Parameter

Description

tag

The tagname and atom in the current database into which the
value will be placed.

val

The double precision value to be stored in the current data-
base.

Advertising