LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to recieve packets serially

How to recieve packets serially from outside say computer?. I may expect packet at any time after establishing connection. Also packet may come single or continously. I shud be able 2 catch packet and process it and send the processed packet serially. Plz help me out.

0 Kudos
Message 1 of 3
(2,377 Views)

Try looking at the Examples included in LabVIEW under the category Hardware Input and Output -> Serial

0 Kudos
Message 2 of 3
(2,369 Views)

You will need to know the protocol of the packets that you will be receiving in order to process them correctly. Also, if you will be receiving data at a fairly high data rate or the processing of the data takes a while it would be best to have a very simple receive task that simply reads data and posts it to a queue for processing by a parallel task. This allows you to read data quickly. Your prcessing task then would decode the data accroding to the protocol of the data you are receiving.



Mark Yedinak
Certified LabVIEW Architect
LabVIEW Champion

"Does anyone know where the love of God goes when the waves turn the minutes to hours?"
Wreck of the Edmund Fitzgerald - Gordon Lightfoot
0 Kudos
Message 3 of 3
(2,367 Views)