# GetRapidDataType in RAB 5.8

**URL:** <https://tech-community.robotics.abb.com/t/getrapiddatatype-in-rab-5-8/1037>\
**Category:** Developer Tools\
**Created:** [February 27, 2007, 12:35pm UTC](https://tech-community.robotics.abb.com/t/getrapiddatatype-in-rab-5-8/1037 "2007-02-27T12:35:52Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![GigiM](https://avatars.discourse-cdn.com/v4/letter/g/57b2e6/32.png) [@GigiM](https://tech-community.robotics.abb.com/u/GigiM)\
**Post date:** [February 27, 2007, 12:35pm UTC](https://tech-community.robotics.abb.com/t/getrapiddatatype-in-rab-5-8/1037/1 "2007-02-27T12:35:52Z")

</div>

Hi,

I move my application from RAB 5.7 to 5.8, but I have got some problem with method ABB.Robotics.Controllers.RapidDomain.Rapid.GetRapidDataType()

it requires to add references to Dcl.base and Dcl.Rapid, but this dll are not package in RAB SDK. I have to install a Robotware and include them on the project.

Is this correct?

Are these references strictly connect to RW revision?

Thanks

Gianluigi

---

<div class="post-metadata">

**Author:** ![Ingela](https://avatars.discourse-cdn.com/v4/letter/i/53a042/32.png) [@Ingela](https://tech-community.robotics.abb.com/u/Ingela)\
**Post date:** [March 5, 2007, 12:31pm UTC](https://tech-community.robotics.abb.com/t/getrapiddatatype-in-rab-5-8/1037/2 "2007-03-05T12:31:21Z")

</div>

Hello,

Dcl.Rapid and Dcl.Base are internal FlexPendant assemblies, and should not be used by RAB applications.

The error you describe is probably due to a known Microsoft bug in the VB compiler, which they will fix in their next release for dotnet framework. This bug has caused the following scenario:

“Compiling a Visual Basic FlexPendant SDK application accessing method ABB.Robotics.Controllers.RapidDomain.Rapid.GetRapidData method, gave a compilation error requiring reference to the Dcl.Rapid assembly.”

The FlexPendant team has implemented a workaround in the code for 5.08, which should have solved the problem.

Is your application a Visual Basic app?

Have you just upgraded from VS 2003 to VS 2005?

Is it in the released RAB 5.08 and RW 5.08 that you get this compilation error? (If not, what build?)

---

<div class="post-metadata">

**Author:** ![GigiM](https://avatars.discourse-cdn.com/v4/letter/g/57b2e6/32.png) [@GigiM](https://tech-community.robotics.abb.com/u/GigiM)\
**Post date:** [March 12, 2007, 3:17pm UTC](https://tech-community.robotics.abb.com/t/getrapiddatatype-in-rab-5-8/1037/3 "2007-03-12T15:17:16Z")

</div>

Hello

Yes, my app is in Visual Basic and I moved it from VS 2003 to VS 2005.

I’ve got the errore in RAB 5.08.

To solve the problem I had to remove all the references to ABB.Robotics\*.dll and to import all these references from RobotWare\_5.08.1009vcbin including also Dcl.Rapid and Dcl.Base.

With these references I can rebuild the app without any error.

Gianluigi

---

<div class="post-metadata">

**Author:** ![grantxue](https://avatars.discourse-cdn.com/v4/letter/g/439d5e/32.png) [@grantxue](https://tech-community.robotics.abb.com/u/grantxue)\
**Post date:** [November 13, 2007, 9:05pm UTC](https://tech-community.robotics.abb.com/t/getrapiddatatype-in-rab-5-8/1037/4 "2007-11-13T21:05:09Z")

</div>

Hello,

I had encountered the same problem. Is there some solutions to solve this problem now?

If removing all default ABB.Robotics \*.dll and importing them from vcbin, can the application run in real robot FlexPendant?

Thanks!

Grant Xue

---

<div class="post-metadata">

**Author:** ![Ingela](https://avatars.discourse-cdn.com/v4/letter/i/53a042/32.png) [@Ingela](https://tech-community.robotics.abb.com/u/Ingela)\
**Post date:** [November 14, 2007, 8:42am UTC](https://tech-community.robotics.abb.com/t/getrapiddatatype-in-rab-5-8/1037/5 "2007-11-14T08:42:35Z")

</div>

Hi,

Due to a Microsoft bug Visual Studio/VB falsely says the FP SDK method **Rapid.GetRapidDataType** requires a reference to Dcl.Rapid. (The method exists both in ABB.Robotics.Controllers and in Dcl.Rapid). VS2005 SP1 does not solve the problem.

A workaround to avoid this behavior has been implemented for RAB 5.10, which is planned for release just before Christmas.

The same problem was reported for **Rapid.GetRapidData** earlier, and the workaround for that method was implemented for 5.08.

The procedure you suggest should work, as dcl.Rapid is part of RobotWare in the controller. To be on the safe side, set the reference property _Specific Version_ to **false**.
