Log in

View Full Version : Unflatten from String


Patrick Chiang
19-02-2010, 15:04
How does "unflatten from string" in LabVIEW work? We're trying to emulate something like this in java for a native java class that gets information directly from the robot. Thanks in advance.

Omar
19-02-2010, 18:08
The unflatten will convert a series of raw bytes back into some know data type.

Sort of like type casting to a defined data type.

I do not know Java but there must be some funtion that will take raw data bytes and convert it to some know data type.

Greg McKaskle
20-02-2010, 09:31
This is LV terminology for a more formal process called marshalling. You can look it up in Wikipedia. I'm not familiar enough with Java to know of the equivalent, but I'm almost certain it is there.

Greg McKaskle