actuating a gate valve or sliding valve