LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

One TCP Write to send both Length & Data?

Thanks,  always wondered where that thing was hiding.

 

Successfully Edited

Message Edited by SiegeX on 11-17-2008 05:01 PM

0 Kudos
Message 11 of 14
(813 Views)
One thing I thought i'd mention on why you may want to use 'Flatten to String' over typecasting is that the typecast primitive does not seem to accept a cluster whereas the 'Flatten To String' primitive does (and anything else you throw at it.)

0 Kudos
Message 12 of 14
(803 Views)

SiegeX wrote: 
... is that the typecast primitive does not seem to accept a cluster

Actually, typecast accepts certain clusters just fine (either as data input or type input) as long as the cluster does not contain arrays or strings, for example.

 

If you have a cluster that has a fixed data size, it's OK. (e.g. try a cluster of booleans and numerics)

Message 13 of 14
(800 Views)
Ahh, good to know, I was throwing in a cluster of arrays as you might guess.

0 Kudos
Message 14 of 14
(789 Views)