I have in my quantum physics lab report
The system cannot disturb the function of the device.
but my friend proposes
The system cannot disturb the functioning of the device.
I think the latter one is broader than the former, involving whether the system is working or not, while the former involves just one function.
I mean in this example sentence that the main purpose of the system cannot be disturbed i.e. its main function.
Which is correct here, "function" or "functioning"?