question

Cyrine S avatar image
0 Likes"
Cyrine S asked Allister Wilson answered

Using Excel data to parameter a source

I'm trying to create a source with 3 types of products (different color for each, column 1 in Table). I want to use a different inter-arrival-time each time (column 2 ) and each product should be sent to a different conveyor for output (column 3 in table).

  • 1-Do you have a simple Flexscript example on how to use Excel data to parameter a source please ?
  • 2-When importing the data i remarked that there is some '0' in the GlobalTable instead of the values in my excel file. Do you know how i can fix this please.


    Thank you in advance for your answers.
FlexSim 18.1.1
flexscriptsourceexcel importtreenodeinput
flec.png (41.2 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.

tannerp avatar image tannerp commented ·

Are the 0 values in the FlexSim table supposed to be something else in your Excel file? In other words, the Excel table does not have the 0s shown in your picture and you'd like it to import other values instead of the 0s?

Also, in order to use the labels as a parameter on the items, you should think of them as a label value that needs to be assigned. Then you pull them from the list. For more info on this, you can look in the User Manual under the Excel Interface section.

0 Likes 0 ·

1 Answer

·
Allister Wilson avatar image
0 Likes"
Allister Wilson answered

This question was handled by email and can be closed.

5 |100000

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

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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