Showing results for 
Search instead for 
Do you mean 
Reply
Solved! Go to solution

unknown identifier Name

hello everyone

 

I got a problem while running a method in a model, which i am attaching to this message.

it is saying unknown identifier Name and void cannot accept it

 

could anyone help me please

 

Please have aa look at my model

 

 

best regards

 

5 REPLIES

Re: unknown identifier Name

Hello Gopi,

You try to access the 16th MU in the Object Plant_WH but it has only 15 objects therefore Plant_WH.MU(k) returns void and the expression Plant_WH.MU(k).Name leads to the error that a void cannot accept the identifier Name.

Regards,

Ralf

Re: unknown identifier Name

Thank you very much Ralf

 

what you said is right. But Plant_WH has enough parts of that name (variant_B), why can't it move that part?

 

 

could you tell me how could i change my program to get it done.

 

Thanks

 

Best regards

 

Re: unknown identifier Name

Thank you very much Ralf 

 

It is working now, i added exitloop so that it can't exceed NumMU's.

 

I have one more doubt that How can we Implement RFID system in plant simulation?

is there any examples You could share with me.

 

Thanks

 

Best regards

Solution
Solution
Accepted by topic author gopi
‎12-02-2016 11:20 AM

Re: unknown identifier Name

A RFID tag just assigns a certain information to a product. You can do the same by creating a custom attribute at the MU, e.g. with name RFID and an appropriate data type. You then can access this attribute at each station and base your logic on the content of this attribute.

Regards,

Ralf

Re: unknown identifier Name

Thank you very much Ralf

 

i thought the same but i assumed there may be something more. 

 

Thanks for your time

 

best regards