question

petrrais avatar image
0 Likes"
petrrais asked Jason Lightfoot commented

Assigning value from State Tables

I try to create a simple transport simulation. The forklift should transport pallets from queue on "dock site" to a queue on "rack site" (these queues are part of the group "Warehouse_entry"). The queue on "dock site" is filled with pallets from source. Arrival times of pallets are defined in State Table called "schedule". The state table represents import of Excel sheet. In the same table is column "Adresa" which defines on which queue should be the pallet transported.

The issue is... I can't succesfuly assign the value from the column "Adress" to a token and complete transport.


The simmulation throws error:
exception: FlexScript exception: Property "value" accessed on invalid node. at MODEL:/Tools/GlobalTables/GlobalTable1>variables/resettrigger



fexsim_task_error.jpg

simple_transport_petrrais.fsm

FlexSim 23.0.8
labeltransporttokenstatetableassignment
· 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 ·

Hi @petrrais, was Felix Möhlmann's answer helpful? If so, please click the "Accept" button at the bottom of their answer. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always comment back to reopen your question.

0 Likes 0 ·

1 Answer

Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered

Source1 already assigns the name of the destination queue to a label on the pallet. (Is there a reason that Source2 doesn't?). You can use this to get a reference to the queue on the token.

1697700413400.png


1697700413400.png (11.7 KiB)
5 |100000

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