ATTENTION

This FlexSim Community Forum is read-only. Please post any new questions, ideas, or discussions to our new community (we call it Answers) at https://answers.flexsim.com/. Our new Question & Answer site brings a modern, mobile-friendly interface and more focus on getting answers quickly. There are a few differences between how our new Q&A community works vs. a classic, threaded-conversation-style forum like the one below, so be sure to read our Answers Best Practices.


flexsim.com

Go Back   FlexSim Community Forum > FlexSim Software > Q&A
Downloads

Q&A Using Flexsim and building models

  #1  
Old 03-15-2011
Clement Schaller Clement Schaller is offline
Flexsim User
 
Join Date: Feb 2011
Posts: 6
Downloads: 50
Uploads: 0
Thanks: 5
Thanked 0 Times in 0 Posts
Rep Power: 0
Clement Schaller is on a distinguished road
Default Problem with the value of a label

Hello,

I would like to assign a values to my label "Nb_Pallets". I've coded a setlabelnum in the trigger OnEntry of my queue. When I double click, after runing the simulation, on the Item, its label remains 0.000 but on the Tree View, it's correct.
What am I doing wrong?

Thanks for your answers.

Clément.

I'm working on version 5.1.2.
Attached Files
File Type: zip Labels_Q01.zip (50.8 KB, 149 views)
  #2  
Old 03-15-2011
Sebastian Hemmann's Avatar
Sebastian Hemmann Sebastian Hemmann is offline
Flexsim User
 
Join Date: Sep 2009
Location: Braunschweig (Germany)
Posts: 439
Downloads: 52
Uploads: 0
Thanks: 472
Thanked 217 Times in 154 Posts
Rep Power: 319
Sebastian Hemmann is a splendid one to beholdSebastian Hemmann is a splendid one to beholdSebastian Hemmann is a splendid one to beholdSebastian Hemmann is a splendid one to beholdSebastian Hemmann is a splendid one to beholdSebastian Hemmann is a splendid one to beholdSebastian Hemmann is a splendid one to behold
Default

Am not sure, whats going wrong. But looks like as if it is because you set the labels as tables. Your values in table appear. I made one of your labels a standard label. This works fine.
Why it doesn´t show the labelnumber I can´t find out. It even doesn´t work out of another trigger. Maybe it´s a bug.
__________________
Hemmi
  #3  
Old 03-15-2011
Steven Hamoen's Avatar
Steven Hamoen Steven Hamoen is offline
Talumis, Flexsim Distributor, The Netherlands
 
Join Date: Aug 2007
Location: Soest, NL
Posts: 854
Downloads: 43
Uploads: 0
Thanks: 391
Thanked 661 Times in 379 Posts
Rep Power: 684
Steven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond repute
Default

I'm not sure if this is done on purpose or not but the labels list shows the value of the first row (try it by exploring as tree and change the value of the first node under your label node)

It might be done on purpose because usually if you use the node as a table it doesn't contain values (or even the node does not have to contain data), but only Flexsim can give an answer here.
The Following User Says Thank You to Steven Hamoen For This Useful Post:
Phil BoBo (03-15-2011)
  #4  
Old 03-15-2011
Jason Lightfoot Jason Lightfoot is offline
Flexsim Consultant
 
Join Date: Aug 2007
Location: Somerset, UK
Posts: 719
Downloads: 20
Uploads: 0
Thanks: 123
Thanked 953 Times in 446 Posts
Rep Power: 773
Jason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond repute
Default

A small tip here is to change the datatype of the first row node to string and enter "<table>" just so it's easy to identify as such in the labels page of the GUI.
The Following User Says Thank You to Jason Lightfoot For This Useful Post:
Steven Hamoen (03-15-2011)


Thread Thread Starter Forum Replies Last Post
Add Label Nischith Kashyap Q&A 4 03-14-2011 07:16 PM
Record label manuel fernandez Q&A 1 03-21-2010 12:29 PM
Can not catch the number of label Vic Li Q&A 2 11-10-2008 12:40 PM
how to set preempt by label? Vic Li Q&A 4 10-19-2008 01:51 AM
Checking to see if a label exists Paul Dowling Q&A 3 04-28-2008 11:03 PM


All times are GMT -6.
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.
Copyright 1993-2018 FlexSim Software Products, Inc.