# GetRapidDataType

**URL:** <https://tech-community.robotics.abb.com/t/getrapiddatatype/3690>\
**Category:** Developer Tools\
**Created:** [July 2, 2010, 12:22pm UTC](https://tech-community.robotics.abb.com/t/getrapiddatatype/3690 "2010-07-02T12:22:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![granale](https://dub1.discourse-cdn.com/flex005/user_avatar/tech-community.robotics.abb.com/granale/32/2971_2.png) [@granale](https://tech-community.robotics.abb.com/u/granale)\
**Post date:** [July 2, 2010, 12:22pm UTC](https://tech-community.robotics.abb.com/t/getrapiddatatype/3690/1 "2010-07-02T12:22:12Z")

</div>

Hello,

I’ve got a problem to get the Type of a rapid data:

This line is working:

\_varTypeUser = \_controller.Rapid.GetRapidData(“BRI\_Basic”, “BRI\_UserTypeSetup”, “DS\_Edit\_Loadpos”);

but this not (is every time null):

\_typeTypeUser = \_controller.Rapid.GetRapidDataType(“BRI\_Basic”, “BRI\_UserTypeSetup”, “DS\_Edit\_Loadpos”);

Declaration in RAPID:

PERS num DS\_Edit\_Loadpos;

What is the fault? Please help!  
I use RW 5.13.0225 + VS2008

granale

---

<div class="post-metadata">

**Author:** ![Niklas\_Skoglund](https://avatars.discourse-cdn.com/v4/letter/n/5fc32e/32.png) [@Niklas\_Skoglund](https://tech-community.robotics.abb.com/u/Niklas_Skoglund)\
**Post date:** [July 2, 2010, 1:14pm UTC](https://tech-community.robotics.abb.com/t/getrapiddatatype/3690/2 "2010-07-02T13:14:13Z")

</div>

Hi,

where is DS\_Edit\_Loadpos declared (RECORD DS\_Edit\_Loadpos… )?  
Is it in another module mybe?
