10-03-2019 02:28 AM
@TroyK wrote:
wiebe@CARYA wrote:
Also have a faint recollection about mft (milli feet) that didn't work...
Having an electronics background I'm familiar with "mil" (thousandth of an inch) due to working with circuit boards, but this is the first time I've ever heard of "milli feet". Coming from a country that is metric (hang on, isn't the U.S. officially metric too?) the idea of milli feet is horrifying.
It's probably my unfamiliarity with the metric system that caused this in the first place. Probably just as silly to 'them' as software that doesn't run if commas are configured as separators is to me. Just one of those regional things...
The problem was probably a bit more complicated. As I mentioned, I often automatically store values by reference, and the units that I use, including the prefix (n, m, k, M, G, etc.), are not what the user sees. They are just there to convert by a factors of 1000.
10-03-2019 02:40 AM - edited 10-03-2019 02:44 AM
wiebe@CARYA wrote:
@TroyK wrote:
wiebe@CARYA wrote:
Also have a faint recollection about mft (milli feet) that didn't work...
Having an electronics background I'm familiar with "mil" (thousandth of an inch) due to working with circuit boards, but this is the first time I've ever heard of "milli feet". Coming from a country that is metric (hang on, isn't the U.S. officially metric too?) the idea of milli feet is horrifying.
It's probably my unfamiliarity with the metric system that caused this in the first place. Probably just as silly to 'them' as software that doesn't run if commas are configured as separators is to me. Just one of those regional things...
The problem was probably a bit more complicated. As I mentioned, I often automatically store values by reference, and the units that I use, including the prefix (n, m, k, M, G, etc.), are not what the user sees. They are just there to convert by a factors of 1000.
Well, that depends.....Yes, it is a "National Policy" enacted and signed into Law by a guy famous for tripping on the stairs of Airforce One and scoring a hole-in-one while acting as President of the United States. Clearly, there was some lack of vision! ("That Guy" was never actually elected to any public office) I would be more afraid of second feet,,,,, ''... easy to confuse with inches "
10-04-2019 04:55 AM
@crossrulz wrote:
...One of my favorite formats is "%#pHz" ('#' ignores 0s after the decimal, 'p' is for SI Notation). This will show values like "2.4GHz" and "10Hz". That is a lot easier to read than 2400000000.
Annoying though that it cannot (or can it?) be formatted with a space between the value and the unit, like "2.4 GHz", which the is standard SI style convention.
10-04-2019 06:12 AM
@thols wrote:
@crossrulz wrote:
...One of my favorite formats is "%#pHz" ('#' ignores 0s after the decimal, 'p' is for SI Notation). This will show values like "2.4GHz" and "10Hz". That is a lot easier to read than 2400000000.Annoying though that it cannot (or can it?) be formatted with a space between the value and the unit, like "2.4 GHz", which the is standard SI style convention.
"%#p Hz"
10-04-2019 06:22 AM
@JÞB wrote:
@thols wrote:
@crossrulz wrote:
...One of my favorite formats is "%#pHz" ('#' ignores 0s after the decimal, 'p' is for SI Notation). This will show values like "2.4GHz" and "10Hz". That is a lot easier to read than 2400000000.Annoying though that it cannot (or can it?) be formatted with a space between the value and the unit, like "2.4 GHz", which the is standard SI style convention.
"%#p Hz"
Nope. That will show up as "2.4G Hz".
10-04-2019 07:34 AM
Is it just me or is there way too much talk of syntax for a LabVIEW related thread?
Ben
10-04-2019 07:37 AM
@Ben wrote:
Is it just me or is there way too much talk of syntax for a LabVIEW related thread?
Ben
A little smart syntax usage can remedy Rube-Goldberg
10-17-2019 01:20 AM - edited 10-17-2019 01:26 AM
@Ben wrote:
When I was "wee-G-Babe" I wanted to sort folders based their size.
I did not know about the "Cluster Sort" method so I coded up a variation on a bubble sort.
Greg McKaskle said he was stumped for a while but eventually figured it out.
This was one of the first "Bad" from the "Good the Bad and the Ugly" series.
Ben
Message Edited by Ben on 08-03-2006 01:47 PM
And 13 years later, as I'm introducing a co-worker to this wonderful thread I find this post without any follow-up to modern standards
And Lookie here!
APPARENTLY the optimizer faerie came around behind me and constant folded the ugly for loop
10-17-2019 04:36 AM - edited 10-17-2019 04:37 AM
@JÞB wrote:
Ben
Message Edited by Ben on 08-03-2006 01:47 PM
And 13 years later, as I'm introducing a co-worker to this wonderful thread I find this post without any follow-up to modern standards
Or to really fit it on a postage stamp
Just use the attached Sort Arrays.vim
12-05-2019 10:08 AM
Nothing wrong with "Pink"* but it should be avoided during processing of simple binary data.
* OTOH, Singer P!nk lives near me here and even presented at the Venice sign lighting once. 😉