Added CONNECT_MEASURE function.