LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Process with GOOP

I have been evaluating the Open Source GOOP toolkit and now I am
looking at the Endevo GOOP Inheritance Toolkit. The Open Source
toolkit can start a process VI when the object is created and stop the
loop and kill the VI when the object is destroyed. This is handy for
some instruments that, rather than being a command-response model,
start putting out data on the serial port approximately once every 500
milliseconds once the instrument is placed in temperature mode. Can
the Endevo GOOP toolkit do the same thing? How would one implement a
process loop with the Endeveo GOOP toolkit?

Allen
0 Kudos
Message 1 of 4
(2,790 Views)
Allen,

You should be able to take snippets of the process lauch/kill code
from the OpenGOOP class and integrate them into an Endevo GOOP class.

-Jim
0 Kudos
Message 2 of 4
(2,790 Views)
Jim,

Thanks for the suggestion. The reason I am looking at the Endevo
toolkit is to avoid the problems of distributing open source code
along with proprietary code, so I don't think I can use pieces of
OpenGOOP. Since the entire core of OpenGOOP is under open source
licensing, am I not restricted from using snippets of it?

Allen
0 Kudos
Message 3 of 4
(2,790 Views)
Hi Allen,

Yes, it is possible to start a process VI built by Endevo GOOP Inheritance Toolkit. We have done that in several projects already using the toolkit.

Actually, what you do is to create one Process-method and two support methods: StartProcess and StopProcess (these methods use VI server to start). Example:

Public methods:
Class_StartProcessX.vi (start process X)
Class_StopProcessX.vi (stop process X)

Private method:
Class_ProcessX.vi (actuall process to run, containing some sort of looping to keep process alive).

This is actually nothing GOOP unique at all, just ordinary VI server but used in GOOP methods.

If this is a major area of usage for you, I could easily provide you with some class templates that you could use to create cl
asses from in GOOP Inheritance Toolkit which have this "built-in".

Please mail support@endevo.se and I will make sure you get them.

Regards,
Mattias Ericsson
Endevo
Main developer of the GOOP Inheritance Toolkit
0 Kudos
Message 4 of 4
(2,790 Views)