LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Online traing for OOP vs. face to face

If you've worked with Action Engines (AE) they use much of the same think as objects. You encapsulate functions and data to one structure. The 2 big differences being that if you have a multitude of functions the AE gets ALOT of input/outputs* and if you want to expand e.g. an instrument AE to support several type it'll be a mess of case structures inside for the different commands depending  on which instrument.

 

Connector mess can easily be handled by gathering functions in a folder and/or lvlib, though you'll still get the Case inside each for handling different models.

 

OOP solves this by allowing different functions and thus optimized connection patterns for each function, and OOP handles which "case" of driver is to be used for e.g. Instrument write.

 

OOP is a way of structuring and handling code and hiding alot of messy administrative work, apart from that it's basically a folder/lvlib of functions.

 

* You could create a AE with a variant input and have it totally general, but you'll get no help on what to input for each function. ^^

 

/Y

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 11 of 17
(872 Views)

Yea, never heard of Action Engines.   Got some learning to do for sure.   Will see what the boss will let me spend on training and go from there.  May buy the OOP course manuals to study on in the meantime and keep playing with the included sample projects.

 

Doug

"My only wish is that I am capable of learning each and every day until my last breath."
0 Kudos
Message 12 of 17
(851 Views)

@dacad wrote:

Yea, never heard of Action Engines.


Often also called Functional Global Variables.  Here's where the term Action Engine was made: Action Engine.  It is an excellent nugget to read through.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 13 of 17
(844 Views)

@crossrulz wrote:
Often also called Functional Global Variables.  Here's where the term Action Engine was made: Action Engine.  It is an excellent nugget to read through.

I make the distinction that if it's only get/set, then it's a FGV, if there's more commands it's an AE. 🙂

/Y

 

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 14 of 17
(826 Views)

@Yamaeda wrote:

@crossrulz wrote:
Often also called Functional Global Variables.  Here's where the term Action Engine was made: Action Engine.  It is an excellent nugget to read through.

I make the distinction that if it's only get/set, then it's a FGV, if there's more commands it's an AE. 🙂

/Y


I fully agree.  But there are plenty of people out there that will argue about that.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 15 of 17
(814 Views)

Wasn't there a long thread on what the definition should be and what to call an AE that gets really many and advanced functions? I guess there's a line when an AE becomes a object light or simply a sub-vi.

/Y

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 16 of 17
(796 Views)

@Yamaeda wrote:

Wasn't there a long thread on what the definition should be and what to call an AE that gets really many and advanced functions? I guess there's a line when an AE becomes a object light or simply a sub-vi.

/Y


There was one over on LAVA right after NI Week:http://lavag.org/topic/17042-fgvs-action-engines-and-dvrs-a-rif-on-nancys-ni-week-presentation/


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 17 of 17
(788 Views)