question

Cat avatar image
0 Likes"
Cat asked Cat commented

How to get Item type?

Hi, good afternoon

When I check output result , I found some bug in my model.

I set Item Type in source input, and use queue's onEntry to Increment Value.

But, the Item type wasn't correct to write to global table.

Can you help me to fix it?

Thanks.



1676109245439.png


1676108452133.png


FlexSim 7.7.4
#increment value#itemtype
1676108452133.png (74.5 KiB)
1676109245439.png (97.3 KiB)
· 1
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Jason Lightfoot avatar image Jason Lightfoot ♦♦ commented ·
Try itemtype(item) as the thing to increment.

Also - you're using an unsupported version of FlexSim and should investigate getting a supported version. Many of the answers on this site will not be applicable to your version.

0 Likes 0 ·

1 Answer

Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered Cat commented

Names are strings. Strings are case sensitive. “Type”, “type” and “itemtype“ are different names.
Btw, it would be a really good idea to update to an actual supported version of FlexSim. Version 7.7 is long outdated. And there has been a shift from an object attribute itemtype to a simple label called “Type” in the meantime.

· 1
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Cat avatar image Cat commented ·

Hi Joerg,


Thanks.

I know my FlexSim version is too old.

But our college doesn't enough cost to upgrade it...

0 Likes 0 ·