Skip to main content
Associate II
Jan 8, 2026 9:47 AM UTC
Solved

uart delay using LABVIEW

Good morning, 

I need to send data using UART to a board with a specific delay between single elements, which I obtain as I'm using LABVIEW, but on the board said specific delay is not obtained, and worst of all the delay between datas is not constant. I figured there would have been some additional delay, but is there a way to decrease it or at least make it constant? or is it intrinsic to the UART technology? 

Thx all

Andrew Neil
Andrew NeilBest answer
Super User
Jan 8, 2026 10:10 AM UTC

Some more detail would help:

How to write your question to maximize your chances to find a solution

 


@Jack_DB wrote:

a specific delay between single elements


What delay, specifically?

How do you implement that delay?

What do you mean by "elements" here?

  • between each byte?
  • between groups of bytes?
  • other?

@Jack_DB wrote:

I'm using LABVIEW,


LabVIEW is an independent 3rd-party product from NI - nothing to do with ST.

You need to go to NI for support with their product:

https://www.ni.com/en/support.html 

https://forums.ni.com/ 

 


@Jack_DB wrote:

on the board


What board?

 


@Jack_DB wrote:

is it intrinsic to the UART technology? 


No - it must be something in your setup.

As we know nothing about your setup, hard to guess what it might be.

 

Try simple something like:

HAL_UART_Transmit( ... );
HAL_Delay ( ... );
HAL_UART_Transmit( ... );

 

PS:


@Jack_DB wrote:

the delay between datas is not constant.


How do you measure this?

What delay values do you see?

 

#LabViewSupport

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.

2 replies

Andrew Neil
Andrew NeilBest answer
Super User
Jan 8, 2026 10:10 AM UTC

Some more detail would help:

How to write your question to maximize your chances to find a solution

 


@Jack_DB wrote:

a specific delay between single elements


What delay, specifically?

How do you implement that delay?

What do you mean by "elements" here?

  • between each byte?
  • between groups of bytes?
  • other?

@Jack_DB wrote:

I'm using LABVIEW,


LabVIEW is an independent 3rd-party product from NI - nothing to do with ST.

You need to go to NI for support with their product:

https://www.ni.com/en/support.html 

https://forums.ni.com/ 

 


@Jack_DB wrote:

on the board


What board?

 


@Jack_DB wrote:

is it intrinsic to the UART technology? 


No - it must be something in your setup.

As we know nothing about your setup, hard to guess what it might be.

 

Try simple something like:

HAL_UART_Transmit( ... );
HAL_Delay ( ... );
HAL_UART_Transmit( ... );

 

PS:


@Jack_DB wrote:

the delay between datas is not constant.


How do you measure this?

What delay values do you see?

 

#LabViewSupport

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
Jack_DBAuthor
Associate II
Jan 8, 2026 11:13 AM UTC

turned out to be a labview problem... 

thx anyway