question

Craig DIckson avatar image
0 Likes"
Craig DIckson asked tannerp rolled back

Getting an item off of a global list in a rack

Hi. I am creating items into several racks, and the rack's Flow->Output puts the items on a global list (the same list for all racks). Then I have a process flow that chooses one of the items using a query(), moves the picker to the item, loads it, and has the picker deliver the load to a sink. It works ... except that the item stays on the list when it is unloaded from the rack. I tried using listpull and listremove but don't seem to be having any sucess:

treenode pulled = listpull(sInventory, "WHERE label3D_Item = puller.label3D_Item", 1,1);

listremove(getlabel(token,"label3D_Item"));

(where sInventory is a string variable containing the name of the global list)

FlexSim 16.2.2
racksglobal listrack flow
· 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.

1 Answer

Jordan Johnson avatar image
0 Likes"
Jordan Johnson answered tannerp rolled back

I think your query in the listpull command should say:

  1. WHERE value = puller.label3D_Item

The value field represents the value on the list, in this case, the 3D item.

· 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.