I have been using mounting blocks to connect wires (typically coming from sensors/supply battery) to my PCB.
The problem is, these do not seem to be robust. The wire often gets out of the block, which is not what I normally want to happen.
My guess would be to directly solder the wire to the PCB, but was wondering if anyone has another suggestions.