Dear Wp100,
The Switch is actually not a switch, my mistake. It is a device like a relay, that responds to a 6V level to close it but 0V to open it. I have to however only use this relay because it is very fast : rise time ~1microsec.
The TTL signal is the control. It simply goes to the control pin of the device. This TTL signal originated from a counter board.
I was thinking of inserting a comparator between the counter board and the relay. I actually wanted your advice if a comparator will do the job and if you could recommend a part number.
Thank you kindly
Calculus