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