DevFlush
- Last UpdatedJul 18, 2023
- 1 minute read
Flushes buffered data to the physical device. Plant SCADA normally optimizes the writing of data for maximum performance, so use this function only if it is really necessary.
Syntax
DevFlush(hDev)
hDev:
The device handle, returned from the DevOpen function. The device handle identifies the table where data on the associated device is stored.
Return Value
0 (zero) if successful, otherwise an error code is returned.
Related Functions
Example
! Flush device to disk.
DevFlush(hDev);