LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Serial communication

I'm a new member of Labview community and have just started to program labview a few weeks ago. 

I use an arduino to create an array of bytes sending to my computer through Wifi connection. My computer receives a series of bytes with heading byte in form of HEX display like 5A 0B EE through serial port.

My project is to program Labview to recognize the heading byte , 5A, and take 2 following bytes 0B EE , then join these two bytes to display in Decimal form.

My questions is how to read one byte from serial port ,transfer it into Hex value and compare it with Hex value ,5A, using IF function. Thank so much.

0 Kudos
Message 1 of 2
(514 Views)

This is a great article to start with - https://labviewwiki.org/wiki/VIWeek_2020/Proper_way_to_communicate_over_serial

 

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
0 Kudos
Message 2 of 2
(499 Views)