02-25-2009 07:13 AM
Changing the Coersion dot color is a great Idea - I use an obnoxious magenta color so that it stands out like a sore thumb. At least the default is red instead of the old grey that was hard to see.
02-26-2009 01:05 AM
Wiebe@CARYA wrote:
Another thing I really don't get is that the maximum nuber of undo's is set
to 8 by default... I usually put it to 80 or something...
Wiebe, you can put the maximum value as 99. It wont go more than that...
02-26-2009 03:10 AM
02-26-2009 05:01 AM
02-26-2009 05:40 AM
02-26-2009 08:03 AM
02-26-2009 08:14 AM
Thanks for pointing out Linked Input Tunnels.
That was the first I had seen or heard of them. I must have missed it in the What's New Screen. And I really don't recall anyone mentioning them on the forums before, other than some old threads were people were wishing for them.
02-26-2009 08:25 AM - edited 02-26-2009 08:33 AM
Well, what if you thought that's what you did, but you acutally moved one item lower in the shortcut menu and selected "Add Case for Every Value"? You continue coding and being a compulsive saver, like me, you realize the mistake later. So, you think: "No problem, I'll just 'Remove Empty Cases' -- I am the Nugget Master afterall. Uh Oh. Hmmm where'd 'Remove Empty Cases' go?" Then, it hits you. All the "empty" cases now have wires because of the LITs.
I'm not positive, but I think VI Analyzer can detect the cases with nothing but wires running through it as 'unused code'. If you've got 40+ of these, then you would have to set the threshold to more than 5 to find them all at once. It doesn't fix the problem, but can help you find the mistake if you didn't already notice it. As for being a compulsive saver, just let "Automatic Saving for Recovery" save when you run the VI instead.
I never took Latin (De gustibus non est disputandum) but love jokes. As for adding all the cases at once for an enum:
Patient: "Doctor, doctor! it hurts when I do this!"
Doctor: "Don't DO that!"
I'm upgrading from 7.0 to 8.6 and modified our state machine templates to use auto-linked wires. I haven't released these to the group yet, and now I'm wondering if I should take them out!
02-26-2009 09:15 AM
I rarely use linked tunnels, what I might do after I set up a state machine, is link and wire tunnels so every case is linked, then I remove the 'auto-wire' function.
It is a bug-prone tool, just like 'use defaults if unwired'. It doesn't trigger you when you edit a state machine. The same goes for the 'default' value that per default is added to the first case of a case structure, changing a boolean structure to an enum structure with 'default' enabled is bad (IMHO), just as 'false' and 'true' are values for string controlled case structures.
Ton
02-26-2009 10:36 PM
LabBEAN wrote:
2) Overhaul the "Rearrange Cases" dialog: Add a Delete button and allow us to select multiple cases in that dialog.
Just a thought...
-Jason
Excellent suggestion, Jason!