LAVA Forums Buy cool LAVA gear Forums RSS Feed

Welcome Guest ( Log In | Register )

> Related links

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)
4 Pages V   1 2 3 > »   
Reply to this topic Start new topic
> Another name for "LabVIEW 2 Globals"
Another name for "LabVIEW 2 Globals"
You cannot see the results of the poll until you have voted. Please login and cast your vote to see the results of this poll.
Total Votes: 161
Guests cannot vote 
Jim Kring
post 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
United States us_california Nothing Selected 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,

--------------------
-----------------------------------------------------------------------------------------------------
| Book | OpenG | LAVA | Champion | VIPM | Builder | Blog | JKI |
-----------------------------------------------------------------------------------------------------


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
Ad
post Jan 10 2006, 05:49 AM
Post #















Tags
(This content has not been tagged yet)
Go to the top of the page
Quote Post
PJM_labview
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
United States France Nothing Selected My Blog


QUOTE (Jim Kring @ Jan 9 2006, 09:49 PM) *
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

--------------------

Got VIPM?

JKI . VIPM . EasyXML . OpenG . LAVA . Builder . Blog



Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
ahlers01
post 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
Germany ger_lower_saxony ger_north_rhine


QUOTE (Jim Kring @ Jan 10 2006, 06:49 AM) *
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


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
Jim Kring
post 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
United States us_california Nothing Selected 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 biggrin.gif

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 tongue.gif

Thank you both, Philippe and Franz, for the ideas. I owe you each a frosty one beer_mug.gif

--------------------
-----------------------------------------------------------------------------------------------------
| Book | OpenG | LAVA | Champion | VIPM | Builder | Blog | JKI |
-----------------------------------------------------------------------------------------------------


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
Michael_Aivaliot...
post Jan 10 2006, 11:28 AM
Post #5


Confucius say: Crowded elevator always smell different to midget
Group Icon
*****

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
Greece Canada United States My Blog My Gallery


How about LabVIEW Advanced Virtual Architect Globals? LAVA Globals?

--------------------


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
rolfk
post 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
Netherlands Switzerland Nothing Selected


QUOTE (Jim Kring @ Jan 10 2006, 02:53 AM) *
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 biggrin.gif

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 tongue.gif

Thank you both, Philippe and Franz, for the ideas. I owe you each a frosty one beer_mug.gif


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


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
Phillip Brooks
post 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
us_massachusetts France Thailand 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! laugh.gif The only other place I've seen the term mentioned is in some NI Forum postings by "Ben". I agree that a functional global by definition should simply store and return data. Maybe in the spirit of the discussion and considering LabVIEW 8, they should be called UNshared Variables? laugh.gif

blink.gif Does anyone else like the term "Action Engine"?

This post has been edited by pbrooks100: Jan 10 2006, 01:15 PM

--------------------



Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
altarama
post 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



QUOTE (rolfk @ Jan 10 2006, 07:56 AM) *
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


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
i2dx
post 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 ,.
ger_bavaria Germany ger_rhineland


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?

--------------------
don't take me to serious
my Website my ADO-Toolkit for LabVIEW™


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
didierj
post 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 ,.
Switzerland France Nothing Selected


QUOTE (i2dx @ Jan 10 2006, 05:28 PM) *
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. wacko.gif

As an "overall" subject name I like "LV-2-globals", To describe the internas I find your approach best.


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
Jim Kring
post 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
United States us_california Nothing Selected My Blog My Gallery


I have created a poll. Let's find out what the consensus is.

--------------------
-----------------------------------------------------------------------------------------------------
| Book | OpenG | LAVA | Champion | VIPM | Builder | Blog | JKI |
-----------------------------------------------------------------------------------------------------


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
didierj
post 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 ,.
Switzerland France Nothing Selected


QUOTE (Jim Kring @ Jan 11 2006, 07:44 AM) *
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.


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
i2dx
post Jan 11 2006, 07:46 AM
Post #13


(n0ob)²
*