08-21-2007 10:11 AM
Have you ever had trouble figuring out how to work with the waveform data type, the dynamic data type, or some of the other more complex data types in LabVIEW? As a tech writer on the LabVIEW team, I'd like to improve our documentation about working with data. What would you like to see? What would be helpful? Have you ever given up on a particular data type because it didn't work? Have you ever created a replacement data type because you preferred not to use a LabVIEW data type?
08-21-2007 10:16 AM
I'd like see the format of each.
The advantages and disadvantages
Bench-marks moving large data set ( 1M plus) around using each type.
Resoultion of time stamps.
Eaxamples on how to use each type with graphs and charts and how to exploit each or disable attributes.
Storing and retrieving.
Dangers of data definitions changes with LV version etc.
Ben
08-21-2007 10:33 AM
08-21-2007 10:33 AM
08-21-2007 01:03 PM
08-21-2007 03:11 PM
08-24-2007 07:33 AM
08-24-2007 09:35 AM
I've been programming LabVIEW since around 3.1 / 4.0. Over the years and versions, I've found it necessary to approach a lot of the new datatypes and algorithms with some healthy skepticism because I don't think we're usually given a "fair and balanced" overview. Some of the things that are highly promoted that bring "ease of use" for beginners (and I *do* understand the importance of that when you're growing your LabVIEW user base) can carry significant performance penalties that are mentioned in more of a whisper, if at all. I'd just like a more full disclosure of the tradeoffs -- the good, the bad, and the ugly.
Waveforms -- very rarely use them, unless required for analysis functions. I have a vague notion (between a belief and a memory) that they used to carry a significant performance penalty compared to arrays, but that the gap is now much smaller. Still, I'm most comfortable with my old habit of using data arrays. Some of this came about because a lot of my work uses counters where I may have a variable "dt" value or where my AI is clocked by a counter and the "dt" isn't internally generated.
Dynamic signals -- have never used them. Have no clear idea what good they're supposed to be, and they seem to be tied in primarily with Express VI's, which I have also studiously avoided.
Variants -- Use them only slightly. Performance issues are a question mark. Exception: have learned that the implementation of Variant properties allows their use as an efficient way to create associates for string lookup tables.
Digital Waveform -- have typically avoided it except when graphing digital data during debug. Haven't found any compelling reasons to use it. I do like the notion of a compress/expand capability for sparse digital data, but haven't exercised it enough to trust the implementation.
Recap: I don't need more simple "how-to's" in the help. I need a LOT more "why bother's" that include both pros and cons.
-Kevin P.