Documentation
RegVar_SetBuffer
boolean RegVar_SetBuffer (int $InstanceID, string $Buffer)
Parameters
InstanceID | ID of the device to be switched |
Buffer | Data to be written into the buffer |
Returns
If the command succeeds, it returns TRUE, otherwise FALSE.
Description
Set the internal buffer of the instance with ID InstanceID to value Buffer
Example
$buf = RegVar_GetBuffer(12345);
$buf .= $_IPS['VALUE']; //Concatenating
//verarbeiten ...
RegVar_SetBuffer(12345, $buf); //Write back remaining buffer