LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

RS232 write.

Hi,

Is there any way of introducing an inter character delay between bytes
when transmitting?
--
John
0 Kudos
Message 1 of 3
(2,855 Views)
If you write 1 byte at a time, you can put whatever delay you want.

ComWrtByte(port, byte1)
Delay(1);
ComWrtByte(port, byte2)
Delay(1);

Is that what you meant by your question?

vishi

"John Cameron" wrote in message
news:CTeao7AKneG+EwxR@ob5.co.uk...
> Hi,
>
> Is there any way of introducing an inter character delay between bytes
> when transmitting?
> --
> John
0 Kudos
Message 2 of 3
(2,855 Views)
If you disable the output queueing (set output queue size negative with OpenComConfig) and write only a single byte, it should be emitted with very little delay as it will be written directly to the UART (serial port). You could then delay using Delay() or Sleep() and repeat the operation.
0 Kudos
Message 3 of 3
(2,855 Views)