Added read-only mode for the function generator