Thanks for the reply!
Yes, I agree this really seems to be a tvirt.vir issue, not Qt. That's why I wrote a standalone C program (outside Qt) to test the pipe communication.
I’ve already tried:
Sending the message DO#0#1 to \\.\pipe\\tubotest
Triggering the EventoEnviar event after writing
Still, nothing changes on the simulator side, and the input value shown in my DAQ console remains 0.
I do have some documentation, and it says tvirt.vir listens for specific commands and events, but I’ll try to confirm exactly what sequence it expects.
Thanks again. I’ll keep testing with the C version for now.