Skip to main content
Explorer
January 14, 2025
Solved

Regarding Serial communication between STM32 Nucleo F401RE and Labview

  • January 14, 2025
  • 1 reply
  • 965 views

Dear ST community,

I want to send some data (like an integer or a decimal number) from Labview to the STM32 Nucleo F401RE board for motor speed controlling application. 
I have tried using NI DAQ (using digital output pins) and NI VISA. i am finding it difficult to get the output. 
what are the steps to be taken ? 


Regards,
Shruthi

Best answer by Andrew Neil

@Shruthi1 wrote:

I have tried using NI DAQ (using digital output pins) and NI VISA. i am finding it difficult to get the output. 
what are the steps to be taken ? 


That's a question about NI DAQ and/or NI VISA - neither of which has anything to do with ST or the STM32.

You need to go to NI for help with their tools:

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

 


@Shruthi1 wrote:

I want to send some data (like an integer or a decimal number) from Labview to the STM32 Nucleo F401RE board Shruthi


As far as the STM32 is concerned, that's purely about receiving serial data - the NI stuff is irrelevant.

The STM32 neither knows nor cares what generates the data - all it sees is bytes arriving at the UART's RX pin.

You can test your STM32's UART reception just using a simple serial terminal:

https://community.st.com/t5/stm32-mcus/implementing-uart-receive-and-transmit-functions-on-an-stm32/ta-p/694926

https://wiki.st.com/stm32mcu/wiki/Getting_started_with_UART

 

1 reply

Andrew Neil
Andrew NeilBest answer
Super User
January 14, 2025

@Shruthi1 wrote:

I have tried using NI DAQ (using digital output pins) and NI VISA. i am finding it difficult to get the output. 
what are the steps to be taken ? 


That's a question about NI DAQ and/or NI VISA - neither of which has anything to do with ST or the STM32.

You need to go to NI for help with their tools:

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

 


@Shruthi1 wrote:

I want to send some data (like an integer or a decimal number) from Labview to the STM32 Nucleo F401RE board Shruthi


As far as the STM32 is concerned, that's purely about receiving serial data - the NI stuff is irrelevant.

The STM32 neither knows nor cares what generates the data - all it sees is bytes arriving at the UART's RX pin.

You can test your STM32's UART reception just using a simple serial terminal:

https://community.st.com/t5/stm32-mcus/implementing-uart-receive-and-transmit-functions-on-an-stm32/ta-p/694926

https://wiki.st.com/stm32mcu/wiki/Getting_started_with_UART

 

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.