Jim Kring Posted August 26, 2004 Report Share Posted August 26, 2004 Hello, all. Michael Aivaliotis gave a good NI Week presentation on process spawning. One factor to consider is the apparent limitation of LabVIEW in that it cannot instantiate new VIs when the root loop hangs (please the bug posting here for more info). Do any of you out there use this (Process Spawning) design pattern? Quote Link to comment
hmqi Posted December 15, 2004 Report Share Posted December 15, 2004 Do you have the ppt file about his topic? Quote Link to comment
Jim Kring Posted December 15, 2004 Author Report Share Posted December 15, 2004 Do you have the ppt file about his topic? 3033[/snapback] Michael Aivaliotis gave the presentation. Send him a request. Quote Link to comment
Michael Aivaliotis Posted December 15, 2004 Report Share Posted December 15, 2004 Michael Aivaliotis gave the presentation. Send him a request. 3039[/snapback] Here: Process Spawning Quote Link to comment
hmqi Posted December 16, 2004 Report Share Posted December 16, 2004 Here:Process Spawning 3043[/snapback] Thank you very much! It's a great topic! Quote Link to comment
bariman8 Posted January 9, 2005 Report Share Posted January 9, 2005 Jim, On a recent project I designed a CAN "server" that would actually spawn new engines for each CAN card configured using a configuration tool. Each engine would be initialized with User event references to hook into any main program. The engine would then take care of sending/receiving event driven messages or periodic messaging. I have to say that Michael Aivaliotis' NI week presentation opened up my eyes to this new idea in coding style. I think my next foray will be into the wonderful world of GOOP :beer: Derek Lewis Quote Link to comment
Jim Kring Posted January 9, 2005 Author Report Share Posted January 9, 2005 Jim, On a recent project I designed a CAN "server" that would actually spawn new engines for each CAN card configured using a configuration tool. Each engine would be initialized with User event references to hook into any main program. The engine would then take care of sending/receiving event driven messages or periodic messaging. I have to say that Michael Aivaliotis' NI week presentation opened up my eyes to this new idea in coding style. I think my next foray will be into the wonderful world of GOOP :beer: Derek Lewis 3432[/snapback] GOOP and Process Spawning are can be used together very nicely. For example, when spawning multiple processes (multiple instances of the same process), it is often a good idea to create a new instance of a GOOP object associated with it for managing the instance's data. Usually, I accomplish this, by doing the process spawning inside of the GOOP object's constructor. I pass the process a reference to the GOOP instance, and then the process can access the instance's data store, using that reference. I store the spawned VI's reference inside of the GOOP data store, so that a call to the GOOP destructor can kill (Abort) the spawned VI, if it can't stop it using some form of messaging. Quote Link to comment
bariman8 Posted January 10, 2005 Report Share Posted January 10, 2005 Very Interesting Jim, I definitely need to look into GOOP design. Do you know of any good websites out there that explain GOOP and its functionality? I downloaded the OpenG GOOP toolkit but a lot of it doesn't make sense to me. Thanks, Derek Lewis Quote Link to comment
tetrarch Posted January 10, 2005 Report Share Posted January 10, 2005 Very Interesting Jim,I definitely need to look into GOOP design. Do you know of any good websites out there that explain GOOP and its functionality? I downloaded the OpenG GOOP toolkit but a lot of it doesn't make sense to me. Thanks, Derek Lewis 3439[/snapback] Plenty of links here. Some of them might even still work... you might want to read up about OO design methodologies and UML notation, if any of it is unfamiliar. Quote Link to comment
Jim Kring Posted January 10, 2005 Author Report Share Posted January 10, 2005 Very Interesting Jim,I definitely need to look into GOOP design. Do you know of any good websites out there that explain GOOP and its functionality? I downloaded the OpenG GOOP toolkit but a lot of it doesn't make sense to me. Thanks, Derek Lewis 3439[/snapback] Here is a page at OpenG.org which is dedicated to GOOP information: http://openg.org/tiki/tiki-index.php?page=GOOP Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.