Check out our General Code Repository Files. Also, before posting here, check to see if your post doesn't fit into another subforum by category.
Tags |
(This content has not been tagged yet)
|
![]() |
Jan 10 2006, 05:49 AM
Post
#1
|
|||
|
Changing the world, one VI at a time. JKI ![]() Posts: 1717 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
|
LabVIEW 2 Globals is a term used to describe the usage of uninitialized shift registers to store data in an application. This name comes from the fact that LabVIEW 2 did not have global variables and clever developers figured out that they could use uninitialized shift registers to store data, and make it globally accessible throughout the application.
If you had to introduce this concent to a new developer, what would you call LV2G's? Obviously there is some historical significance to the name, but it doesn't do much to describe the concept. How about "Uninitialized Shift-Register Globals" or "Uninitialized Shift-Register Data Store"? Any thoughts? Cheers, --------------------
|
||
|
|
|||
| Ad |
Jan 10 2006, 05:49 AM
Post
#
|
||
|
|
|
||
|
|
|||
Jan 10 2006, 06:22 AM
Post
#2
|
|||
![]() Extremely Active JKI ![]() Posts: 624 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
|
LabVIEW 2 Globals is a term used to describe the usage of uninitialized shift registers to store data in an application. This name comes from the fact that LabVIEW 2 did not have global variables and clever developers figured out that they could use uninitialized shift registers to store data, and make it globally accessible throughout the application. If you had to introduce this concent to a new developer, what would you call LV2G's? Obviously there is some historical significance to the name, but it doesn't do much to describe the concept. How about "Uninitialized Shift-Register Globals" or "Uninitialized Shift-Register Data Store"? Any thoughts? Cheers, I think the official name for the "LabVIEW 2 Globals" is "Functional Globals". It is certainely not easier to visualize what it mean than "LabVIEW 2 Globals". PJM --------------------
|
||
|
|
|||
Jan 10 2006, 06:24 AM
Post
#3
|
|||
|
Very Active Member Posts: 67 Joined: 15-October 04 From: Braunschweig Member No.: 833 Using LabVIEW Since:1993 LV:8.5 ,8.2.1 ,7.1
|
If you had to introduce this concent to a new developer, what would you call LV2G's? Obviously there is some historical significance to the name, but it doesn't do much to describe the concept. How about "Uninitialized Shift-Register Globals" or "Uninitialized Shift-Register Data Store"? Any thoughts? I usually call them 'intelligent globals' -Franz
|
||
|
|
|||
Jan 10 2006, 07:53 AM
Post
#4
|
|||
|
Changing the world, one VI at a time. JKI ![]() Posts: 1717 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
|
Hmmm... they are only functional or intelligent if you put some functionality inside of the case structure -- for example, by having operations besides Read Data and Write Data, such as Initialize, Do Task A, Do Task B, etc.. If there is no intelligent functionality in them, does that make them dysfunctional globals or unintelligent globals? I am, of course, being a little silly -- discussing LabVIEW should always be fun
I think that I am leaning towards functional globals. This term just implies that they have some functionality -- I wouldn't want to put too much pressure on beginners by making them think they have to write code that is intelligent Thank you both, Philippe and Franz, for the ideas. I owe you each a frosty one --------------------
|
||
|
|
|||
Jan 10 2006, 11:28 AM
Post
#5
|
|||
![]() Confucius say: Crowded elevator always smell different to midget Admin ![]() Posts: 2402 Joined: 13-October 02 From: Planet Earth Member No.: 2 Using LabVIEW Since:1994 LV:8.5 ,8.2.1 ,7.1.1
My Blog
My Gallery
|
How about LabVIEW Advanced Virtual Architect Globals? LAVA Globals?
-------------------- Thank You
Michael Aivaliotis - Follow me on Twitter - My Personal Blog Search the LabVIEW Web - Build the LabVIEW Web - Got VIPM? ![]()
|
||
|
|
|||
Jan 10 2006, 12:56 PM
Post
#6
|
|||
|
<customize this text> Premium Member ![]() Posts: 1059 Joined: 9-April 04 From: Rotterdam Member No.: 349 Using LabVIEW Since:1992 LV:8.5.1 ,8.2.1 ,7.1.1
|
Hmmm... they are only functional or intelligent if you put some functionality inside of the case structure -- for example, by having operations besides Read Data and Write Data, such as Initialize, Do Task A, Do Task B, etc.. If there is no intelligent functionality in them, does that make them dysfunctional globals or unintelligent globals? I am, of course, being a little silly -- discussing LabVIEW should always be fun I think that I am leaning towards functional globals. This term just implies that they have some functionality -- I wouldn't want to put too much pressure on beginners by making them think they have to write code that is intelligent Thank you both, Philippe and Franz, for the ideas. I owe you each a frosty one My functional globals almost always turn out to be intelligent globals to some degree ;-). In fact they are not really globals anymore but intelligent data storage containers. But I think Functional Globals pretty much covers all of these aspects. Rolf Kalbermatter
|
||
|
|
|||
Jan 10 2006, 01:12 PM
Post
#7
|
|||
|
Extremely Active Premium Member ![]() Posts: 713 Joined: 3-November 04 From: Boston, MA Member No.: 949 Using LabVIEW Since:1999 LV:7.0 ,8.20 ,8.0
My Gallery
|
Intelligent Globals = Action Engine?
When I started working at my current job, all the LV'ers kept talking about Action Engines. I Googled, found little or nothing. The first result while Googling LabVIEW "Action Engine" today ( 10 Jan 06 ) points to my own question to the LAVA Forum about Action Engines! This post has been edited by pbrooks100: Jan 10 2006, 01:15 PM --------------------
|
||
|
|
|||
Jan 10 2006, 04:11 PM
Post
#8
|
|||
|
I want a LabVIEW icon under my name! Member Posts: 3 Joined: 29-September 04 Member No.: 733 LV:7.1 |
What about "Implicit Global"
Seems to be more precise a term... after all, the globals in the palette are "functional" as well (unless you write poor code... :-)) That way, uninitialized shift registers are "implicit" globals, as opposed to "explicit" globals from the structures palette. Jeffrey Travis My functional globals almost always turn out to be intelligent globals to some degree ;-). In fact they are not really globals anymore but intelligent data storage containers.
But I think Functional Globals pretty much covers all of these aspects. Rolf Kalbermatter
|
||
|
|
|||
Jan 10 2006, 04:28 PM
Post
#9
|
|||
![]() (n0ob)² Member Posts: 756 Joined: 22-October 04 From: Duesseldorf / Germany Member No.: 885 Using LabVIEW Since:2001 LV:8.20 ,7.1.1 ,.
|
i know them also under the name "old style global", which refers to the point which PJM mentioned a few posts above ...
if i put a case-structure with code in it, I usually call them "Objects", because these constructs show some parallels to C++ Objects. The methods of my "Objects" are called via an enum (mostly labeled "Action" [... which would imply an "action engine" ;-)] ), the members are stored in the shift register ... what about this point of view? --------------------
|
||
|
|
|||
Jan 10 2006, 05:18 PM
Post
#10
|
|||
|
Extremely Active Member Posts: 391 Joined: 6-February 04 From: switzerland Member No.: 253 Using LabVIEW Since:1997 LV:7.1.1 ,6.1 ,.
|
i know them also under the name "old style global", which refers to the point which PJM mentioned a few posts above ... if i put a case-structure with code in it, I usually call them "Objects", because these constructs show some parallels to C++ Objects. The methods of my "Objects" are called via an enum (mostly labeled "Action" [... which would imply an "action engine" ;-)] ), the members are stored in the shift register ... what about this point of view? With the omnipresent OO / UML /... it seems quite logical, but you will confuse any new LV-user. As an "overall" subject name I like "LV-2-globals", To describe the internas I find your approach best.
|
||
|
|
|||
Jan 11 2006, 06:44 AM
Post
#11
|
|||
|
Changing the world, one VI at a time. JKI ![]() Posts: 1717 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
|
I have created a poll. Let's find out what the consensus is.
--------------------
|
||
|
|
|||
Jan 11 2006, 07:28 AM
Post
#12
|
|||
|
Extremely Active Member Posts: 391 Joined: 6-February 04 From: switzerland Member No.: 253 Using LabVIEW Since:1997 LV:7.1.1 ,6.1 ,.
|
I have created a poll. Let's find out what the consensus is. You have forgotten the most obvious "LabVIEW 2 Globals", for every one who prefers the actual status.
|
||
|
|
|||
Jan 11 2006, 07:46 AM
Post
#13
|
|
![]() (n0ob)² |