Problem with list of list of list of items

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Problem with list of list of list of items

跳至解决方案
2,285 次查看
phongdiep
Contributor I

Hi PE support team,

I have some questions about Component Wizard.

1. I'm creating new component which contains property with symbol ListOne. ListOne is list of group items. This group contains another group, called ListTwo, and a interger N. ListTwo is list of group items,too. I can acess item of ListOne, using suffix like 0, 1..., example N0,N1... But i can't  acess item of ListTwo with this way. I tried some suffix like 0,1,00,01,10... but it not work. So, how can i acess item of ListTwo?

2. In Timer component: CMT_LDD, i saw Mode group and 3 modes i can choose in value column: Time, Baseband, FSK. I want to make a group with properties like this, but the best thing i can get is Boolean Group with 2 selections: En/Dis. Can you show me how to make group with more than 2 seclections?

Thank!

标签 (1)
标记 (1)
0 项奖励
回复
1 解答
1,912 次查看
ProcessorExpert
Senior Contributor III

Hello,

 

regarding to point 1:

 

the symbols must be divided by underscore character. So to acces the first group please use:

 

symbol0_0

symbol0_1

....

 

to acces the items from the second group use:

 

symbol1_0

symbol1_1

...

 

There would be available "symbol viewer" feature to acces the symbols of items in the next release of CodeWarrior (CW V10.2). I think there should not be such issue in future.

 

reagrding to point 2:

It seems that enumeration groups are not available in BASIC version of Compoent wizard. However I have to discuse this with developers to provide more valuable feedback.

 

best regards
Vojtech Filip
Processor Expert Support Team


在原帖中查看解决方案

0 项奖励
回复
2 回复数
1,913 次查看
ProcessorExpert
Senior Contributor III

Hello,

 

regarding to point 1:

 

the symbols must be divided by underscore character. So to acces the first group please use:

 

symbol0_0

symbol0_1

....

 

to acces the items from the second group use:

 

symbol1_0

symbol1_1

...

 

There would be available "symbol viewer" feature to acces the symbols of items in the next release of CodeWarrior (CW V10.2). I think there should not be such issue in future.

 

reagrding to point 2:

It seems that enumeration groups are not available in BASIC version of Compoent wizard. However I have to discuse this with developers to provide more valuable feedback.

 

best regards
Vojtech Filip
Processor Expert Support Team


0 项奖励
回复
1,912 次查看
phongdiep
Contributor I

That worked! 

Thank you very much!

 

 

0 项奖励
回复