10-15-2024 11:33 PM
I'm have connected string control to visa write inside the while loop, and I'm trying to write data to STM32 via UART so an orange led can blink , so i want to understand in which format does visa write function send string data???
I tried but its not working.
can someone help?
10-15-2024 11:35 PM
Please watch this before you proceed - https://labviewwiki.org/wiki/VIWeek_2020/Proper_way_to_communicate_over_serial
10-16-2024 01:19 AM
Hi Anup,
@Anup13 wrote:
i want to understand in which format does visa write function send string data???
A string is basically a byte array in LabVIEW, and VISAWrite will transfer that string/bytearray as is.
@Anup13 wrote:
I tried but its not working.
What did you try?
What is "not working"?
Do you get any errors?
10-16-2024 01:22 AM
I'm not getting any error in labview block diagram and front panel.
i used string indicator also to indicate that data is being sent but its not showing in stm32.
now im trying to debug in cube ide that if data is recieving in stm32 buffer or not?
10-16-2024 01:30 AM - edited 10-16-2024 01:30 AM
Hi Anup,
@Anup13 wrote:
now im trying to debug in cube ide that if data is recieving in stm32 buffer or not?
Yes.
Does the STM32 code expect/require any TerminationChars in your string message?
(As has been said before: watch the video linked in the previous message!)