LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

RTS/CTS flow control test

i want to create test case hardware flow control rts/cts using LabVIEW and stm32 board. 
can u tell me steps how to implement LabVIEW setup.
the flow is the stm32 send data to labview when labview buffer gets filled then LabVIEW RTS send high signal to CTS of STM32.

0 Kudos
Message 1 of 6
(323 Views)

@AnupSW13 wrote:

i want to create test case hardware flow control rts/cts using LabVIEW and stm32 board. 
can u tell me steps how to implement LabVIEW setup.
the flow is the stm32 send data to labview when labview buffer gets filled then LabVIEW RTS send high signal to CTS of STM32.


The way you describe it won't work! You do not have that low level control to the actual buffering and the serial port driver has potentially huge amounts of memory that are hard to fill be something like an STM32 board in a reasonable time. You can control RTS however explicitly and in that way could cause the CTS signal on the STM32 to change. But from what you have explained so far it is not clear what you really try to do.

 

Are you concerned that your STM32 could overrun the PC? Or do you want to test RTS/CTS operation? Or something else? 

Rolf Kalbermatter
My Blog
0 Kudos
Message 2 of 6
(294 Views)

I want to test RTS/CTS operation between Labview and STM32 Board via UART?

0 Kudos
Message 3 of 6
(253 Views)

VISA lets you control the state of RTS and monitor the CTS signal through its properties:

 

rolfk_0-1739357088369.png

If you were aware of this but don't feel this is what you need, you will have to explain in much more detail what it really is you try to do!

Rolf Kalbermatter
My Blog
0 Kudos
Message 4 of 6
(248 Views)

Screenshot (76).png

 

 

im reading data from stm32 board and if buffer gets filled it will write XOFF to stm32 board to stop transmission and if bufferis empty it will send xon to resume transmission , if something is wrong please help

0 Kudos
Message 5 of 6
(208 Views)

Take a look here:

Screenshot (76).png

Rolf Kalbermatter
My Blog
0 Kudos
Message 6 of 6
(191 Views)