LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to implement Java Datagrame socket in LabView

Java DatagramSocket.pngThis is a snippet of Java code to send a UDP command to MiLight WiFi box. 

The command is a byte array of hex numbers.

UDP Write.vi in LabVIEW is sending a String. So how can I implement this code in LabVIEW?

0 Kudos
Message 1 of 2
(2,066 Views)

The String palette has functions to convert Strings to Byte Arrays, and Byte Arrays to Strings.

Byte Array.png 

Bob Schor

0 Kudos
Message 2 of 2
(2,043 Views)