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

Page 347

Advertising
background image

Micro-PWC CONFIGURATION GUIDE

Appendix A - Excel Functions 327

The fpput( ) Function

Function Name

fpput( ) - put a value from the spreadsheet into the current database (ASCII)

Synopsis

char fpput(char *tag, char *val)

Description

The

fpput() function is used to put a value from the spreadsheet into the current database using

the tagname and atom specified. The function

fpput() takes and places the value in ASCII format.

Inputs

Outputs

None.

Returns

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

Example

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

In Microsoft Excel:

=fpput("FIC101.OUT", "12.34")

Parameter

Description

tag

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

val

The ASCII value to be stored in the current database.

Advertising