Fldget and fldput
- Last UpdatedApr 24, 2025
- 1 minute read
The fldget and fldput commands are used to interact with the RealTime database (RTDB). The following piece of code illustrates the use of these commands.
Dim prevValue As Double = Fldget("analog", "acetest1", "curval")
Fldput("analog", "acetest1", "curval", 6)
Dim OPEN As Double = GetStatusByName("acetest10", "OPEN")
Fldput("status", "acetest10", "cursta", OPEN)
Fldput("analog", "acetest1", "curval", prevValue)