Jump to content

Could we create mltiple instances of a class of GOOP?


Recommended Posts

To make is easier for people to help you, in the future you might want to be more explicit as to which flavor of GOOP you are using since there are quite a few floating around. From what you say, I would guess that you are using the endevo one (v 2 or 3?).

PJM

Link to post

Actually it looks like code generated from the open source GOOP Template using GOOP Developer, the mention of the DataIO class strongly suggests this.

If so then I'm happy to help, looks like you are having some difficulty with inheritance that I may be able to help you with.

Link to post

QUOTE(SciWare @ Feb 27 2007, 07:53 PM)

Actually it looks like code generated from the open source GOOP Template using GOOP Developer, the mention of the DataIO class strongly suggests this.

If so then I'm happy to help, looks like you are having some difficulty with inheritance that I may be able to help you with.

As always Kurt, you are correct! Thang took over my LabVIEW projects in the company and is using the GOOP Developer. I moved to other projects. I'd appreciate if you'll help him with the wonderful GOOP Developer like you've helped me.

Thanks,

Ami

Link to post

QUOTE(Ami @ Feb 28 2007, 01:12 AM)

As always Kurt, you are correct! Thang took over my LabVIEW projects in the company and is using the GOOP Developer. I moved to other projects. I'd appreciate if you'll help him with the wonderful GOOP Developer like you've helped me.

Thanks,

Ami

To Ami: Nice to meet you here :)

I highly appreciate all of your helps.

I think I found my bug. In my program, I use the same VI which transforms from one kind of cluster to another kind of cluster. The problem is I use the same VI for different array of different device. But when I check the input and output, both of them are the same.

Can I use the same VI (normal VI not from GOOP) as multiple clone or I have to rename it? I try to use reentrance, not quite understand, but I see the same result.

Thang Nguyen

Link to post

Hi Thang

I think the best way for me to help you is if I were able to view your code and make some suggestions, or even assist you to some degree. From the image you posted it looks like there is some confusion in how to implement inheritance, it appears that you have just created a parent class and then wired an enum into it to tell it what its behavior is.

I have set you up with a FTP account on my site so if you wish you can zip up your project and send it up, I'll then take a look at what you have done and help you out.

I'll send you a personal message with my e-mail address so you can contact me and I can send you the details of how to access the FTP account.

Link to post

Kurt, I just started checking out the option of making IO classes with some inherited classes and the DataIO class definitely looks like a potential base for examination.

:thumbup:

Link to post

QUOTE(yen @ Mar 2 2007, 02:38 AM)

Kurt, I just started checking out the option of making IO classes with some inherited classes and the DataIO class definitely looks like a potential base for examination.

:thumbup:

Cool, glad you like it, it's powerful stuff. I used a variant of the DataIO class a while ago to make a logging system for a WW2 era sea plane that was being re-commissioned. By making children of the DataIO class I was able to make a logging system that could acquire data from GPS, the engine management system, gyros, digital inputs, analog inputs etc. All I had to do to get the data was call DataIO.Read on the children. Adding new hardware into the system was easy, all I had to do is make a new child or sibling that could handle it, the application never needed to change.

Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.