Dbput
- Last UpdatedNov 02, 2023
- 1 minute read
To populate a RealTime database (RTDB) field with data, use dbput.
Syntax
dbput table.ptname.fldname = "newval"
|
Parameter |
Description |
|---|---|
|
table |
This parameter indicates the name of the table. |
|
ptname |
This parameter indicates the name (or record number) of the record. |
|
fldname |
This parameter indicates the name of the internal field. |
|
newval |
This parameter indicates the new value of the database field. Double quotation marks are not necessary for numeric data. |
Example
dbput analog.ana1.curval = 2700
dbput analog.33.curval = 2700
dbput notepad.note1.txtline = "Pump P43 needs repair"