Electrical measuring device, method and computer program product