LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Receiving UDP stream from external sensor via ethernet

Hello,

 

I'm trying to create a VI to read UDP packets and parse them. I want to then store the parsed data in a excel file in a specified format. I've attached the format of the UDP packets. I tried using the Fract/Ext String to Number but got an error with the wire connections. Does anyone know the format of the UDP packet and how to parse the UDP data?

0 Kudos
Message 1 of 4
(1,115 Views)

It sounds (to me) like you need to carefully read the manual from the (unknown) Sensor whose data you are trying to capture.  Does the manufacturer offer a LabVIEW driver for this Sensor?  Does it have a "VISA" option?  Can you see the Sensor in MAX?

 

Bob Schor

0 Kudos
Message 2 of 4
(1,063 Views)

Hi DAQking,

 

your both images describe the content of a UDP message of this unknown sensor.

You "just" need to parse the message according to those descriptions!

 

Can you receive such an UDP message and display it in a string indicator?

After you have done so you "set all values to default" in the edit menu and save your VI.

Then attach that VI, now including such an UDP messages, to your next message!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 3 of 4
(1,045 Views)

This looks pretty straightforward.

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 4 of 4
(1,037 Views)