![]() |
Sep 13 2007, 02:13 AM
Post
#1
|
|
![]() LV R&D Envoy NI ![]() Posts: 1195 Joined: 15-August 06 From: Austin, TX Member No.: 5877 Using LabVIEW Since:2000 LV:8.5.1 ,. ,.
My Gallery
|
-------------------- "A VI outside a class is a gun without a safety. Data outside a class is a target."
--- A message from LabVOOP R&D Tags
This content has not been tagged yet
|
|
|
|
| Ad |
Sep 13 2007, 02:13 AM
Post
#
|
|
|
Tags
This content has not been tagged yet
|
|
|
|
Sep 13 2007, 03:22 AM
Post
#2
|
|
![]() Very Active Premium Member ![]() Posts: 142 Joined: 13-November 03 From: Kennesaw, GA USA Member No.: 195 Using LabVIEW Since:1997 LV:8.5 ,8.2.1 ,.
|
I added one. Doggonit, Stephen, now that one (the Shift+Enter on string constant entry) I really never heard before anywhere. Can you tell us in which version of LabVIEW it made its debut? Dave -------------------- David Boyd
Sr. Test Engineer Respironics Tags
This content has not been tagged yet
|
|
|
|
Sep 13 2007, 04:32 AM
Post
#3
|
|
![]() Extremely Active Premium Member ![]() Posts: 603 Joined: 19-June 03 From: Bay Area, CA (USA) Member No.: 121 Using LabVIEW Since:1998 LV:8.5.1 ,8.6 ,8.2.1
My Blog
|
Ya, this (the Shift+Enter on string constant entry) is pretty usefull and I wish it would work on floating label.
I constantly catch myself trying to shift+enter floating labels... PJM -------------------- Tags
This content has not been tagged yet
|
|
|
|
Sep 13 2007, 01:01 PM
Post
#4
|
|
![]() LV R&D Envoy NI ![]() Posts: 1195 Joined: 15-August 06 From: Austin, TX Member No.: 5877 Using LabVIEW Since:2000 LV:8.5.1 ,. ,.
My Gallery
|
I constantly catch myself trying to shift+enter floating labels... Same here. I actually wrote this feature (David: I *think* it first appeared in LV8.0) out of frustration with the string constants. Unfortunately, free labels have a different code path, and I've never gotten back to the project to learn that section of the code. Perhaps someday I'll get around to it. Or someone else will. I filed a CAR (4229R4F2) at the time so that I'd keep thinking about it. You know, in my spare time. ;-) -------------------- "A VI outside a class is a gun without a safety. Data outside a class is a target."
--- A message from LabVOOP R&D Tags
This content has not been tagged yet
|
|
|
|
Sep 13 2007, 03:24 PM
Post
#5
|
|
|
Changing the world, one VI at a time. Premium Member ![]() Posts: 1665 Joined: 22-October 02 From: San Francisco, CA Member No.: 17 Using LabVIEW Since:1995 LV:8.2.1 ,8.5 ,7.1.1
My Blog
My Gallery
|
Same here. I actually wrote this feature (David: I *think* it first appeared in LV8.0) out of frustration with the string constants. Unfortunately, free labels have a different code path, and I've never gotten back to the project to learn that section of the code. Perhaps someday I'll get around to it. Or someone else will. I filed a CAR (4229R4F2) at the time so that I'd keep thinking about it. You know, in my spare time. ;-) Here's some ammunition that might help push it through. Just say... "Anyone (using LabVIEW) who doesn't see this as a critical feature (for free labels) is obviously not commenting thier code enough!" -------------------- Tags
This content has not been tagged yet
|
|
|
|
Sep 13 2007, 05:29 PM
Post
#6
|
|
|
Extremely Active Premium Member ![]() Posts: 675 Joined: 3-November 04 From: Boston, MA Member No.: 949 Using LabVIEW Since:1999 LV:7.0 ,8.20 ,8.0
My Gallery
|
Here's some ammunition that might help push it through. Just say... "Anyone (using LabVIEW) who doesn't see this as a critical feature (for free labels) is obviously not commenting thier code enough!" My LabVIEW coding style is so elegant that the code is 'self-documenting'. No need for additional comments -------------------- Tags
This content has not been tagged yet
|
|
|
|
Sep 13 2007, 05:38 PM
Post
#7
|
|
|
Changing the world, one VI at a time. Premium Member ![]() Posts: 1665 Joined: 22-October 02 From: San Francisco, CA Member No.: 17 Using LabVIEW Since:1995 LV:8.2.1 ,8.5 ,7.1.1
My Blog
My Gallery
|
My LabVIEW coding style is so elegant that the code is 'self-documenting'. No need for additional comments Yes, it's saying "this section of the code needs coments and/or rewriting" -------------------- Tags
This content has not been tagged yet
|
|
|
|
Sep 13 2007, 05:46 PM
Post
#8
|
|
|
Certified Kool-Aid Kid Premium Member ![]() Posts: 1141 Joined: 6-December 02 From: Pittsburgh PA USA Member No.: 29 Using LabVIEW Since:1998 LV:7.1 ,. ,.
|
Yes, it's saying "this section of the code needs coments and/or rewriting" [OT] I taught myself to code in C prior to taking a college course in same. After submitting my first project and anxiously awaitng feedback I was disappointed that the only comments the T/A had about my code was; "Too many comments! It is hard to find the code." I have yet to see "self-documenting code" that revealed the "big picture". Ben Tags
This content has not been tagged yet
|
|
|
|
Sep 13 2007, 05:59 PM
Post
#9
|
|
|
Extremely Active Premium Member ![]() Posts: 675 Joined: 3-November 04 From: Boston, MA Member No.: 949 Using LabVIEW Since:1999 LV:7.0 ,8.20 ,8.0
My Gallery
|
I have yet to see "self-documenting code" that revealed the "big picture". And we never will, at least until Alfa starts showing us his code. -------------------- Tags
This content has not been tagged yet
|
|
|
|
Sep 13 2007, 06:36 PM
Post
#10
|
|
![]() LV R&D Envoy NI ![]() Posts: 1195 Joined: 15-August 06 From: Austin, TX Member No.: 5877 Using LabVIEW Since:2000 LV:8.5.1 ,. ,.
My Gallery
|
"Anyone (using LabVIEW) who doesn't see this as a critical feature (for free labels) is obviously not commenting thier code enough!" Or you've started using string constants on the diagram for documentation. -------------------- "A VI outside a class is a gun without a safety. Data outside a class is a target."
--- A message from LabVOOP R&D Tags
This content has not been tagged yet
|
|
|
|
Sep 13 2007, 06:42 PM
Post
#11
|
|
|
Certified Kool-Aid Kid Premium Member ![]() Posts: 1141 Joined: 6-December 02 From: Pittsburgh PA USA Member No.: 29 Using LabVIEW Since:1998 LV:7.1 ,. ,.
|
Or you've started using string constants on the diagram for documentation. Just popped into my head.... Durring the very first LabVIEW Coding Challenge (bit banging?) I beleive it was Jim that posted after we saw the general trend that the speed of the VI approximately follows the size on disk (smaller VI smaller run time) that a VI with no comments will run faster than a VI with comments. I did a quick check at that time and was suprised it was true! I wonder if that is still true... I guess I will just have to test it huh? Ben Tags
This content has not been tagged yet
|
|
|
|
Sep 13 2007, 09:22 PM
Post
#12
|
|
|
Changing the world, one VI at a time. Premium Member ![]() Posts: 1665 Joined: 22-October 02 From: San Francisco, CA Member No.: 17 Using LabVIEW Since:1995 LV:8.2.1 ,8.5 ,7.1.1
My Blog
My Gallery
|
Or you've started using string constants on the diagram for documentation. Oh yes, that's a great way to document your compiled binary code -------------------- Tags
This content has not been tagged yet
|
|
|
|
Sep 15 2007, 09:58 PM
Post
#13
|
|
![]() Extwemely Active Premium Member ![]() Posts: 1594 Joined: 23-January 05 From: Here Member No.: 1431 Using LabVIEW Since:2003 LV:7.0 ,7.1 ,.
|
Oh yes, that's a great way to document your compiled binary code Plus, with a string constant you can't double click an empty space in the diagram and then start typing, which is something you can do with a standard comment if you use the auto tool. -------------------- More than meets the eye...
Tags
This content has not been tagged yet
|
|
|
|
Sep 16 2007, 01:09 AM
Post
#14
|
|
![]() LV R&D Envoy NI ![]() Posts: 1195 Joined: 15-August 06 From: Austin, TX Member No.: 5877 Using LabVIEW Since:2000 LV:8.5.1 ,. ,.
My Gallery
|
QUOTE Oh yes, that's a great way to document your compiled binary code In LV8.5 the unwired constant won't be in your final compiled code. I don't know when this behavior was added to LV. -------------------- "A VI outside a class is a gun without a safety. Data outside a class is a target."
--- A message from LabVOOP R&D Tags
This content has not been tagged yet
|
|
|
|