04-28-2010 11:01 AM
04-28-2010 12:59 PM
12-07-2011 02:59 AM
I was in heaven when I first discovered units. Halleluja! I often want to change displays from minutes to seconds, and this makes it super-easy. But now I'm being crippled by bugs when I write subVIs that use generic units.
12-07-2011 07:44 AM
12-07-2011 03:43 PM
I've not experienced a bug wrt units. I've never used the square function though, but this would be easy to recognise as the use of this data would not have the expected units. What other bugs are there? Are they fixed in versions after 7.1.
I find myself writing code for others in my company now (and here no one else uses units), and I constantly have to ask about what units their data is in! Units everyone!
12-07-2011 10:59 PM
12-07-2011 11:19 PM
My main problem with units come when I write subVIs with polymorphic units. Then I get errors like "The source is degC but the sink is $11", when my polymorphic unit is $1. The final straw was "polymorphic unit too complex" or something similar, a phrase that didn't even turn up in Google.
Formula nodes can't take inputs with units.
Maybe these things have been updated since LabVIEW 7.1, but that's what I have to use.
12-08-2011 07:53 AM
I would strongly suggest that Albert ask for working units in the LabVIEW Idea Exchange, and the rest of you kudo it. This is a tough problem to do correctly, but it is more likely to get done if there is a demonstrable demand.
12-08-2011 11:19 AM
I'm not sure what you suggesting. Please clarify, as I feel that this is an important topic.
Related, I recently created a company wide database and dictated that all data would be stored in SI units. I consider this problem solved, but then I am able to tightly control the inputs and outputs: something I don't have for LabVIEW code.
12-08-2011 01:15 PM
Thanks DFGray
http://forums.ni.com/t5/LabVIEW-Idea-Exchange/Make-units-work-all-the-way-or-skip-them/idi-p/1803510
I understood and filed a very simple Idea although it is in fact a bug report.