Functions to write data
- Last UpdatedSep 29, 2022
- 1 minute read
- PI System
- PI DataLink 2023 SP1
- Visualization
Unlike standard PI DataLink functions, which retrieve data from Data Archive or PI AF, the PIPutVal() and PIPutValX() functions write values from a worksheet to Data Archive or PI AF. The PIPutVal() and PIPutValX() functions can replace existing values at particular time stamps with new user-supplied values. You must run the PIPutVal() or PIPutValX() function from a macro-enabled workbook.
You can use the example workbooks distributed with PI DataLink to write data to Data Archive or PI AF. See Write data to PI Data Archive or PI AF.