PC SDK UIListView problems
sehe
✭
Hello,
I am trying to get a UIListView to display through the PC SDK. I have noticed a few problems with the event args that come through when the ListView is displayed. I am using RW5.14.02.
1. The ListItems array removes all spaces in each item. Here is my array:
CONST listitem list1{5}:= [["","Item 1"],["","Item 2"],["","Item 3"],["","Item 4"],["","Item 5"]]];
It comes through as an array of 5 items but the items are without spaces like so:
{Item1, Item2, Item3, Item4, Item5}2. The BtnArray removes all spaces as well. Here is my array:
CONST string my_btnArray{5}:=["btn 1","btn 2","btn 3","btn 4","btn 5"];3. If I have a list of 12 items or more, the eventargs come through with an ABB.Robotics.GenericControllerException. See image below.
It comes through as an arry of 5 items, but the strings have no spaces like so:
{btn1, btn2, btn3, btn4, btn5}
Here is the list I sent in the UIListView:
CONST listitem list2{15}:= [["","Item 1"],["","Item 2"],["","Item 3"],["","Item 4"],["","Item 5"],["","Item 6"],["","Item 7"],["","Item 8"],["","Item 9"],["","Item 10"],["","Item 11"],["","Item 12"],["","Item 13"],["","Item 14"],["","Item 15"]];None of these errors occur when viewing the UIListView on the flexpendant.
Thank you for the help.
sehe2012-02-03 17:17:14
0
Comments
-
We had this same problem occur today with a listbox of 17 items. Wonder is ABB has any plans to fix this?0
Categories
- All Categories
- 5.5K RobotStudio
- 396 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 316 IRC5
- 61 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 799 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings