portmonitor: data type conversion example