02-27-2008 08:31 PM
Totally agree Altenbach.
Working on a project that is totally done that way. The client wants a fixed cost on this project. It's impossible. There's no way of knowing what surprises will be uncovered.
Why do people HIDE bloody controls!!!!???????!!!!!
You know what's worse?? When they hide Reference Controls!!!!! on the Front Panel.. And worse, it is hidden and located BELOW other Front Panel objects! Now if that wasn't bad enough, the terminal is also hidden BELOW objects on the block diagram!!! The only way to know that it exists is because it was connected to the connector pane!
And the stop button doesn't work!@!!!
Well on the bright side, the vi's do not run when opened. 😄
Now, somewhere else, we discussed some coding style coming from text based language and adapting LV to it. But that does not explain these... At least I hope not. I still program in C.. 😉 occasionally 😄
Altenbach, I think we both need a beer.. 😉
02-28-2008 01:25 AM
02-28-2008 07:16 AM
TonP wrote:
Well hidden controls originate from LabVIEW 7.x (in 8.x), they replace constant case selectors.
02-29-2008 12:00 AM - edited 02-29-2008 12:00 AM
... Or we could just make it into a boolean array, convert to number and cast to a string. same difference! (see inset).
02-29-2008 12:47 AM
Yeah but look at it...It looks like its doing something important and it takes up a lot of space
02-29-2008 12:52 AM - edited 02-29-2008 12:55 AM
02-29-2008 01:37 AM
altenbach wrote:
but make sure that there is no direct relation between the boolean label and the parameter name, e.g. "4" <-> X1, "6"<-> X7, etc.
02-29-2008 01:58 AM - edited 02-29-2008 02:02 AM
If you look at the code, they are actually not really reversed, but nicely in order, at least the way they are numbered. My code, with the bits numbered the same (1-8), gives the same result.
They are only reversed for the express VI. If he really wanted to not cross wired with the terminals arrranged 43218765 (top-to-bottom), he could have labeled the express terminals B4-B3-B2-....-B5.
Who knows? 😄
03-04-2008 07:46 PM - edited 03-04-2008 07:47 PM
03-05-2008 05:43 AM