# RapidData binding problem

**URL:** <https://tech-community.robotics.abb.com/t/rapiddata-binding-problem/3888>\
**Category:** ScreenMaker\
**Created:** [October 31, 2010, 6:12pm UTC](https://tech-community.robotics.abb.com/t/rapiddata-binding-problem/3888 "2010-10-31T18:12:07Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![charon](https://dub1.discourse-cdn.com/flex005/user_avatar/tech-community.robotics.abb.com/charon/32/87_2.png) [@charon](https://tech-community.robotics.abb.com/u/charon)\
**Post date:** [October 31, 2010, 6:12pm UTC](https://tech-community.robotics.abb.com/t/rapiddata-binding-problem/3888/1 "2010-10-31T18:12:07Z")

</div>

Hi,

i try to change text property of a TpsLabel by binding it to a controller object. I create persistent string datas as described in video tutorials. ScreenMaker build project and deploys it to VC with no problem but my application cant read any rapid variable from VC.

I have no problem with reading signal values from VC. I add a LED object to project and bind it to controller signal source(MOTLMB sys signal) and it works and refresh its value normally.

i use RobotStudio 5.13.02 on XP SP3 PC

Station : webwiz/2167/SMDemo1.rar  
SM Project : webwiz/2167/SMExample.rar

---

<div class="post-metadata">

**Author:** ![Abhishek\_PM](https://avatars.discourse-cdn.com/v4/letter/a/22d042/32.png) [@Abhishek\_PM](https://tech-community.robotics.abb.com/u/Abhishek_PM)\
**Post date:** [November 1, 2010, 1:11pm UTC](https://tech-community.robotics.abb.com/t/rapiddata-binding-problem/3888/2 "2010-11-01T13:11:14Z")

</div>

Hello,

Do you get any error message box in Virtual FlexPendant on opening the application ?  
What is your system language and OS settings (English or Turkish or anyother) ?

Thanks

---

<div class="post-metadata">

**Author:** ![charon](https://dub1.discourse-cdn.com/flex005/user_avatar/tech-community.robotics.abb.com/charon/32/87_2.png) [@charon](https://tech-community.robotics.abb.com/u/charon)\
**Post date:** [November 1, 2010, 2:27pm UTC](https://tech-community.robotics.abb.com/t/rapiddata-binding-problem/3888/3 "2010-11-01T14:27:58Z")

</div>

i dont get any error messages when i run my application on VC.  
My system language is English.(only my input language is set to TR keybord) By the way i try to add a DataEditor to my application and connect it to a Controller num data (persistent) but when i click to object it throws an exception like in the screenshot.

Message: Object reference not set to an instance of an object.

System.NullReferenceException: Object reference not set to an instance of an object.  
at ABB.Robotics.Controllers.RapidDomain.RapidData.Read()  
 ←

ABB.Robotics.InternalException at Read in ABB.Robotics.Controllers.RapidDomain.RapidData  
at ABB.Robotics.Dcl.ExceptionHelp.ReThrowException(String objStr, String method, Exception exception, String additionalinfo)  
at ABB.Robotics.Dcl.ExceptionHelp.GenerateException(String objStr, String method, Exception exception, String additionalinfo)  
at ABB.Robotics.Dcl.ExceptionHelp.GenerateException(Object obj, String method, Exception exception, String additionalinfo)  
at ABB.Robotics.Dcl.ExceptionHelp.GenerateException(Object obj, String method, Exception exception)  
at ABB.Robotics.Controllers.RapidDomain.RapidData.get\_Value()  
at ABB.Robotics.Tps.Windows.Forms.EditValueServiceProvider.Init(RapidData rapidData, Int32 index, String txtValue)  
at ABB.Robotics.Tps.Windows.Forms.EditValueServiceProvider.EditValue(Control childControl, PropertyDescriptor propertyDescriptor)  
at ABB.Robotics.Tps.Windows.Forms.DataEditor.OnClick(EventArgs e)  
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)  
at System.Windows.Forms.Control.WndProc(Message& m)  
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)  
at System.Windows.Forms.ContainerControl.WndProc(Message& m)  
at System.Windows.Forms.UserControl.WndProc(Message& m)  
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)  
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)  
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

BR.

---

<div class="post-metadata">

**Author:** ![Abhishek\_PM](https://avatars.discourse-cdn.com/v4/letter/a/22d042/32.png) [@Abhishek\_PM](https://tech-community.robotics.abb.com/u/Abhishek_PM)\
**Post date:** [November 1, 2010, 4:17pm UTC](https://tech-community.robotics.abb.com/t/rapiddata-binding-problem/3888/4 "2010-11-01T16:17:03Z")

</div>

Hello,

Try it on a system with the input language also as English. And then launch VirtualFlexPendant.  
This may be language specific issue.

Thanks

---

<div class="post-metadata">

**Author:** ![charon](https://dub1.discourse-cdn.com/flex005/user_avatar/tech-community.robotics.abb.com/charon/32/87_2.png) [@charon](https://tech-community.robotics.abb.com/u/charon)\
**Post date:** [November 1, 2010, 5:05pm UTC](https://tech-community.robotics.abb.com/t/rapiddata-binding-problem/3888/5 "2010-11-01T17:05:43Z")

</div>

Hi Abhishek,

After i switch to input mode English application start to read RAPID data.  
Thanks.

BR.
