Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Detection of wireless cmmunication parameter using Labview

Status
Not open for further replies.

ings

Member level 4
Joined
Sep 8, 2014
Messages
78
Helped
0
Reputation
0
Reaction score
0
Trophy points
6
Activity points
988
Hello,
Plz I have a wireless module and a sensor and i would like to detect the temperature value and display it in my pc with the labview via udp proptocol:
Emitter: sensor+wireless module
Receiver: PC+Labview
Can some one give me an example please
Thanks in advance
 

I never played with UDP but it should be simple:
1. On the remote module you create the packet of data for sending over UDP. Each variable should go into some fixed place in the packet (for example temperature - bytes 10..18, time - bytes 19..27. etc.)

2. Send the packets from the module by using UDP. Assign some address and port

3. On the PC side create a data queue where the data from UDP will come. Type of the data queue is 8 bit unsigned array.

4. Create UDP (UDP Open) and add a loop to read the data (UDP Read). If data appeared - add it to the data queue (Enqueue element).

5. On the other side of the queue check is data arrived and if any read it (Dequeue element).

Done
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top