DataGrid

I am trying to use a DataGrid and am having troubles getting the grid to display on my TP. The grid comes up with a red ‘X’ through it. I’m using C# 2005 and RW & RAB 5.10, please let me know what additional info is needed. I am also using DataBinding which might have something to do with it.

Thanks,

There is a demo app at www.robotstudio.com/community under the content sharing section, if you drill down, that should do exactly what you want.

Thanks for the info, I have that application working on my VTP but I still cannot get mine to work. I keep getting an error saying "Property accessor ‘Value’ on object ‘ABB.Robotics.DataBinding.RapidDataObject’ threw the following exception: ‘Object reference not set to an instance of an object’. The variables exist and they are pers. Please help!!! I would attach my project but I don’t think I can.

HELP!!!

Thanks,

It will be usefull to have your application. Do you need help to load the files? If the development is kind of private, could you create a simple TpsView with the datagrid in order to see what is missing?

Thanks.. Carlos

[
Hopefully I’ve done this right, let me know if you are unable to download it. Also I was able to take a screen capture before the datagrid got the red X through it. The box under value is not present, which would start to explain the error message.

Thank You,
](ABB Robotics Community - Maintenance)

Could you post the application what works OK?

I was able to reproduce your error, just wannt compare if the other one works.

Saludos/Carlos

That is the only application I have. I am trying to get that segment to work so I can build around it.

Thanks,

could you try to add two signals instead of two variables?

I will need to go deeper to dint why …

I just setup for signal binding and it works, so it the data that isn’t making the cut.

Thanks,

This seems like an internal bug. We could check this out with the latest built.

I tried using RW5.11 RAB 5.11 and C# 2005, I still have the same results.

Don’t know if this helps any but I made the Datagrid narrow so that the scroll bar has to be used. The data grid comes up and displays the task, the module, no variable name and when I scroll over to value it crashes.

Hopefully that helps a little

Thanks,

You are rigght. The error is happenning when the value of the RAPID data is trying to be fetched …