Jump to content

avogadro839

Members
  • Posts

    3
  • Joined

  • Last visited

Everything posted by avogadro839

  1. That would make sense, as the data I was trying to unflatten was not created by flattening a LabVIEW fixed length string, but is a char array embedded in a struct from C.
  2. Thanks for the info, I was able to create a bounded-size string, and in addition to all the interesting errors mentioned, the unflatten from string VI does not work with this type. Definitely an interesting topic, but it seems my hope to use these in practice is bunk.
  3. I'm trying to replicate this as it's tantalizing for dealing with serialized data from other apps...specifically I'm reading a struct into a cluster and in the middle of some other data there's a string/char array of length 20. Currently I have to pull 20 characters from the string with string subset, but if I could make a cluster with a fixed width string I'm imagining casting the entire binary string into a cluster in one operation. The screenshot in the OP looks like a snippet but I can't import it and it doesn't look like it has the necessary embedded information. Does anyone know how to create a string constant with the context menu option of "Set String Length?" The linked type descriptor page does not mention this concept, it only discusses standard strings.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.