01-24-2010 01:05 PM - edited 01-24-2010 01:07 PM
I have no problems flatten the cluster to a string and prepeding the string size on one end (send this via TCP!) then extracting the size by reading the first 4 bytes (simulate first TCP read) followed by reading the correct amount of data (simulate second TCP read).
The cluster is nicely reproduced without error! 🙂
If you still have problems, maybe you could attach a simplified version of your VI that gives the error.
Hmm, seems like the snipped blanks the cluster diagram constant... 😉 Look at the Vi instead.
(The cluster diagram constant was created by right-clicking the input cluster terminal followed by "create constant".)
01-25-2010 10:00 AM
The cluster constant showing as empty was reported to R&D (CAR # 184002) for further investigation. The good news is that it functions correctly when dropped in a VI, but it still needs to be fixed.
Roy
01-26-2010 02:34 AM
Altenbach,
Thank you so much. This just might solve my problem. I shall try this!
01-30-2010 05:11 AM
Hi,
I'm trying to send an array of clusters over TCP/IP. But the trouble is that I need to let the user decide
the size of the 1D array (of clusters). So, I've come up with a design that uses global variables to update the
varible length of the data from the clusters [which is sent over theconnection as an xml string] and also another
varible that stores the input obtained form the user regarding the array size. Now this design isn't working over
a network. The global variable on my computer and the other computer do not match in values! is there some
way to fix this? Or is there an alternative solution to sending the 'bytes to read' datato the TCP read after I've
obtained the array size info from the user? Will be a great help if someone can post a solution..!
Thanks..
01-30-2010 10:25 AM
offtopic & duplicate
twilightfan wrote:Hi,
I'm trying to send an array of clusters over TCP/IP. ....