LAVA Forums Buy cool LAVA gear Forums RSS Feed

Welcome Guest ( Log In | Register )

> Related links

Check out our OOP Code Repository Files or visit the LabVIEW Wiki OOP Portal.


Tags
(This content has not been tagged yet)
 
Reply to this topic Start new topic
> LV8.5, OOP and Embedded Targets
jgcode
post May 19 2008, 07:56 AM
Post #1


Very Active
***

Premium Member
Posts: 230
Joined: 1-January 08
From: Perth, Australia
Member No.: 10325
Using LabVIEW Since:2006
LV:8.5.1 ,8.6 ,.
Australia Poland Nothing Selected


LabVIEW Object-Oriented Programming FAQ: How to Use LabVIEW Object-Oriented Programming: Item 4 - if link is current then LVOOP is not supported in LV8.5 RT.

Does anyone know first hand if OOP, whether it be Endevo GOOP, Sciware or dqGOOP (or other ?) will work under LV8.5 on embedded targets - in particular NI's real-time OS (Vxworks)

We have previously used Sciware in LV8.2 RT so I know that works however, I have been told that Endevo GOOP is not compatiable with LV8.5 and wanted to check the truth of this comment.

Regards

JG

--------------------
all day...


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
Ad
post May 19 2008, 07:56 AM
Post #















Tags
(This content has not been tagged yet)
Go to the top of the page
Quote Post
Yair
post May 19 2008, 05:38 PM
Post #2


Extwemely Active
*****

Premium Member
Posts: 1674
Joined: 23-January 05
From: Here
Member No.: 1431
Using LabVIEW Since:2003
LV:8.6 ,7.0 ,.
Israel Nothing Selected Nothing Selected


Frameworks which rely on features which are supported in RT should work, so Sciware GOOP should work (as you've seen) as well as dqGOOP (although I haven't actually tried it on RT). LVOOP is still not supported (and I don't think it's supposed to be in the near future) and I have no idea whether Endevo GOOP is supported or not.


--------------------
More than meets the eye...


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
MikaelH
post May 19 2008, 09:17 PM
Post #3


Very Active
***

Premium Member
Posts: 154
Joined: 1-November 04
From: Sydney
Member No.: 941
Using LabVIEW Since:1995
LV:8.5.1 ,8.6 ,.
Sweden Australia Nothing Selected


QUOTE (Yen @ May 20 2008, 03:38 AM) *
Frameworks which rely on features which are supported in RT should work, so Sciware GOOP should work (as you've seen) as well as dqGOOP (although I haven't actually tried it on RT). LVOOP is still not supported (and I don't think it's supposed to be in the near future) and I have no idea whether Endevo GOOP is supported or not.


The Endevo GOOP2, is pure LabVIEW without lvclasses, just like Sciware GOOP so that should work.
//Mikael

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


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
jgcode
post May 22 2008, 02:39 PM
Post #4


Very Active
***

Premium Member
Posts: 230
Joined: 1-January 08
From: Perth, Australia
Member No.: 10325
Using LabVIEW Since:2006
LV:8.5.1 ,8.6 ,.
Australia Poland Nothing Selected


QUOTE (MikaelH @ May 20 2008, 05:17 AM) *
The Endevo GOOP2, is pure LabVIEW without lvclasses, just like Sciware GOOP so that should work.
//Mikael



Thanks Mikael

Anyone else out there tried it? ninja.gif

--------------------
all day...


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
Aristos Queue
post May 22 2008, 02:50 PM
Post #5


LV R&D Envoy
*****

NI
Posts: 1275
Joined: 15-August 06
From: Austin, TX
Member No.: 5877
Using LabVIEW Since:2000
LV:8.6 ,6.0 ,.
United States Nothing Selected Nothing Selected My Gallery


Being able to run on RT systems is not the same as being able to run deterministically inside the real-time loop. I do not know whether any of the toolkits can run deterministically given that there is at least some data locking to prevent concurrent access to referenced objects. But I could easily be wrong. My point is that there's another question that needs to be answered by authors of the GOOP toolkits when we're talking about "working under RT".

--------------------
"A VI outside a class is a gun without a safety. Data outside a class is a target."
--- A message from LabVOOP R&D


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
jgcode
post May 22 2008, 04:19 PM
Post #6


Very Active
***

Premium Member
Posts: 230
Joined: 1-January 08
From: Perth, Australia
Member No.: 10325
Using LabVIEW Since:2006
LV:8.5.1 ,8.6 ,.
Australia Poland Nothing Selected


QUOTE (Aristos Queue @ May 22 2008, 10:50 PM) *
Being able to run on RT systems is not the same as being able to run deterministically inside the real-time loop. I do not know whether any of the toolkits can run deterministically given that there is at least some data locking to prevent concurrent access to referenced objects. But I could easily be wrong. My point is that there's another question that needs to be answered by authors of the GOOP toolkits when we're talking about "working under RT".


Great point!

IMHO I would consider a GOOP VI as a Mutex (shared resource) and therefore it would definately be an issue with creating determinstic code (esp wrt a time critical loop!!).

I guess to understand the inner workings then all the authors of GOOP need to answer that question though... (hint hint shifty.gif )

However to quote The Good Book:
QUOTE (LabVIEW for Everyone)
Semaphores having data is the fundamental concept of GOOP

So at the end of the day if all GOOP uses semaphores (??) then the sempahores themselves are defined as inherently non-deterministic.

Right now I want to firstly know if GOOP works with LV8.5 RT for its embedded properties.
Knowing about creating deterministic code would be good also.

--------------------
all day...


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
SciWare
post May 30 2008, 11:56 PM
Post #7


Very Active
***

Premium Member
Posts: 106
Joined: 18-November 04
From: Sydney, NSW
Member No.: 1058
Using LabVIEW Since:1996
LV:8.0.1 ,7.1.1 ,6.1
Australia Nothing Selected Nothing Selected


Hi JG

Yes classes developed with GOOP Developer will work on RT. I have a version that works with 8.5 that can be released so I'll get moving on that and put an update out soon.

--------------------
Regards

Kurt Friday


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
jgcode
post May 31 2008, 08:03 AM
Post #8


Very Active
***

Premium Member
Posts: 230
Joined: 1-January 08
From: Perth, Australia
Member No.: 10325
Using LabVIEW Since:2006
LV:8.5.1 ,8.6 ,.
Australia Poland Nothing Selected


QUOTE (SciWare @ May 31 2008, 07:56 AM) *
Hi JG

Yes classes developed with GOOP Developer will work on RT. I have a version that works with 8.5 that can be released so I'll get moving on that and put an update out soon.


Thanks for the reply Kurt
Look forward to the 8.5 release and will let em know!
Keep me posted for the release
Cheers yes.gif

--------------------
all day...


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
SciWare
post Jun 1 2008, 01:15 AM
Post #9


Very Active
***

Premium Member
Posts: 106
Joined: 18-November 04
From: Sydney, NSW
Member No.: 1058
Using LabVIEW Since:1996
LV:8.0.1 ,7.1.1 ,6.1
Australia Nothing Selected Nothing Selected


Hi JG

I've updated my site and GOOP Developer 2.1 is now compatible with LabVIEW 8.5

To upgrade to GOOP Developer 2.1 Full simply visit the support page and enter the e-mail address you used with your order.

--------------------
Regards

Kurt Friday


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
jgcode
post Jun 1 2008, 02:24 AM
Post #10


Very Active
***

Premium Member
Posts: 230
Joined: 1-January 08
From: Perth, Australia
Member No.: 10325
Using LabVIEW Since:2006
LV:8.5.1 ,8.6 ,.
Australia Poland Nothing Selected


QUOTE (SciWare @ Jun 1 2008, 09:15 AM) *
Hi JG

I've updated my site and GOOP Developer 2.1 is now compatible with LabVIEW 8.5

To upgrade to GOOP Developer 2.1 Full simply visit the support page and enter the e-mail address you used with your order.



Damn that was quick! Thanks heaps Kurt. Will get into it on Tuesday due to the long weekend. beer_mug.gif

--------------------
all day...


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
Jan Klasson
post Jun 2 2008, 07:37 AM
Post #11


More Active
**

Member
Posts: 32
Joined: 22-August 05
From: Stockholm, Sweden
Member No.: 2808
Using LabVIEW Since:1996
LV:8.5 ,8.2.1 ,7.1.1
Sweden Nothing Selected Nothing Selected


Clarification about Endevo GOOP tools.

The GOOP Development Suite uses lvclass for its by reference architecture so it will no run on RT until lvclass does.

As Mike pointed out GOOP 2 runs on RT. GOOP 2 is our class architecture which is included in the GOOP Inheritance Toolkit. GOOP 2 runs on LabVIEW 6.1 and up and is of course not based on lvclass. It does use Sem for synch and is therefore not deterministic. It can be used to structure the part of the code which is not time critical. GOOP 2 provides inheritance and virtual methods (works similar like Dynamic Dispatch).

Jan


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
jgcode
post Jun 2 2008, 08:12 AM
Post #12


Very Active
***

Premium Member
Posts: 230
Joined: 1-January 08
From: Perth, Australia
Member No.: 10325
Using LabVIEW Since:2006
LV:8.5.1 ,8.6 ,.
Australia Poland Nothing Selected


QUOTE (Jan Klasson @ Jun 2 2008, 03:37 PM) *
Clarification about Endevo GOOP tools.

The GOOP Development Suite uses lvclass for its by reference architecture so it will no run on RT until lvclass does.

As Mike pointed out GOOP 2 runs on RT. GOOP 2 is our class architecture which is included in the GOOP Inheritance Toolkit. GOOP 2 runs on LabVIEW 6.1 and up and is of course not based on lvclass. It does use Sem for synch and is therefore not deterministic. It can be used to structure the part of the code which is not time critical. GOOP 2 provides inheritance and virtual methods (works similar like Dynamic Dispatch).

Jan


Thanks heaps for the reply Jan - very informative.

My questions have been answered!

Thanks everyone beer_mug.gif smile.gif

--------------------
all day...


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
SciWare
post Jun 3 2008, 12:49 PM
Post #13


Very Active
***

Premium Member
Posts: 106
Joined: 18-November 04
From: Sydney, NSW
Member No.: 1058
Using LabVIEW Since:1996
LV:8.0.1 ,7.1.1 ,6.1
Australia Nothing Selected Nothing Selected


Just a couple of updates.

1) The GOOP Template SciWare_JKI_V1R4 is now included in the build. This template resolves a bug with reentrant virtual methods in 8.5

2) All downloads are now zip files. Were previously rar renamed as zip which caused a problem if you tried to use windows zip.







--------------------
Regards

Kurt Friday


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post

Reply to this topicStart new topic

 




Time is now: 9th January 2009 - 03:15 AM