LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How send the u array through labview

Solved!
Go to solution

Hi,

 

How to send the unsigned 32 bit  array through UDP.

How to convert the unsigned 32 bit array to byte array.

with regards and warm welcome,
Ramamoorthy S
0 Kudos
Message 1 of 13
(3,141 Views)

Try Flatten to String.

0 Kudos
Message 2 of 13
(3,136 Views)

You can typecast it to a string and then typecast it back to a U32 array on the other end.

You can also use flatten tro srring/unflatten from string.

 

Have a look at the example finder for some examples.

0 Kudos
Message 3 of 13
(3,134 Views)

one more doubt

how can i copy the unsigned 32 bit data array to unsigned 8 bit data array.

how can i copy the unsigned 8 bit data array to unsigned 32 bit data array. 

 

if above mentioned two are possible means i can convert byte array to string and send the data.

 

can you please help on this.

with regards and warm welcome,
Ramamoorthy S
0 Kudos
Message 4 of 13
(3,121 Views)

The advice you got above converts directly to/from a string. Have you tried?

 

(No need for the middleman (byte array to string))

0 Kudos
Message 5 of 13
(3,118 Views)

Thanks i got it.

with regards and warm welcome,
Ramamoorthy S
0 Kudos
Message 6 of 13
(3,113 Views)

Hi,

 

 

i am converting and storing 13 byte string to unsigned 32 bit array but it taking space of (13 * 4 bytes)

why?

 

i should take only max 16 bytes (4*4) size right

with regards and warm welcome,
Ramamoorthy S
0 Kudos
Message 7 of 13
(3,109 Views)

Show us your code. Make sure to include some default data.

0 Kudos
Message 8 of 13
(3,104 Views)

this is the code.

 

with regards and warm welcome,
Ramamoorthy S
0 Kudos
Message 9 of 13
(3,102 Views)

I don't see any typecast function.

0 Kudos
Message 10 of 13
(3,099 Views)