Hi,
I am a LV 6i/Mac user and I have been working with dimensionless (without units) numbers until now. Lately I am trying to implement a physical model, where LV's ability to keep track of units and do the automatic conversions is a bonus. Things can get messy with a simple numerical integration, so it's a lot of help.
However, I noticed some downfalls. I would like to store my data in a 2D array, where each column belongs to a different quantity, i.e. has different units. I need this in order to utilize the way I save data in files, which is just text (spreadsheet) representation of the described array, with an appropriate header line. I wasn't able to build such a 2D array, the wires stay broken because of the incompatible units. The only solution I found of is to divide all values by a "1" of the same units, which gives me dimensionless numbers, and then plug those in the output array. The same goes to the fact that if I am saving for example an energy value with units, it gets always saved in joules (SI units). To enforce a record in electronvolts I have to divide it by "1.00" joule and then by a (dimensionless !) electron charge.
Does anybody have a neater way to get around my problem?
Thanks all!
Daniel