FlexSim Knowledge Base
Announcements, articles, and guides to help you take your simulations to the next level.

FlexSim 2017 Update 1 Beta Available

Contributed by:

FlexSim 2017 Update 1 Beta is available. (updated 5 Apr 2017)

To get the beta, log in to your account at www.flexsim.com, then go to the Downloads section, and click on More Versions. It will be at the top of the list.

If you have bug reports or other feedback on the software, please email dev@flexsim.com or create a new idea in the Development space.

Release Notes

  • Changed FlexSim to store strings using UTF-8 encoding.
  • Added support for Oculus Touch controllers.
  • Implemented OpenVR for HTC Vive compatibility.
  • Improved the shadow frustum calculation in VR so that shadows look better.
  • Added a global preference for changing the resolution of the shadow map.
  • Added support for nested queries in SQL.
  • Added ROW_NUMBER as a SQL keyword.
  • Implemented F2 and Esc functionality in tables.
  • Updated the table view and labels tab to be more robust with different datatypes.
  • Added Table(name) method for referencing Global Tables.
  • Added more FlexScript classes, including List, AGV, Conveyor, and TrackedVariable.
  • Added more properties and methods to existing FlexScript classes, including Object stats and additional string methods.
  • Improved scientific notation for literals in FlexScript.
  • Added a start value to tracked variables.
  • All tracked variables in the model now reset on model reset.
  • Changed itemtype references to referencing an item's type label instead.
  • Improved the Person flowitem's 3D shape.
  • Added repeating events to time tables.
  • Added a short description field to user commands.
  • Made the gantt charts and time charts scroll with a fixed time window.
  • Removed the global table Clear on Reset checkbox and replaced it with a reset trigger.
  • Added new visualization options for the Rack.
  • Added duplicate buttons to the Excel Interface window.
  • Added a duplicate option to the Toolbox's context menu.
  • Taskbar now shows experimenter/optimizer status and runtime based upon stop time.
  • Disabled deleting objects while the model is running.
  • Fixed an issue with the undo history when pasting over nodes with pointer data.
  • Fixed issues with using the ternary operator after properties.
  • Fixed an issue with writing to Access databases with read-only fields.
  • Included fixes listed in 17.0.3.

Backwards Compatibility Note: the following changes may slightly change the way updated models behave.

  • Removed the FlexSim WebServer application from the default installation and developed a new WebServer application using Node.js that streams the 3D view much faster. The new WebServer can be downloaded through FlexSim's Online Content.
  • Existing models will continue to work with itemtype, but new models should be built using a type label instead of the itemtype attribute and commands.

Process Flow

  • Added an Assign Released Resource(s) To field on the Release Resource activity.
  • Added functionality to allow you to Ctrl+Drag activities in an activity block.
  • Added a right-click menu option and Alt+Click to open the Token View.
  • Added a sampler to the assign labels Label Name field so you can sample other activities or tokens to get label names.
  • Added a right-click menu option to open multiple views of a Process Flow.
  • Added an Assign To property to the Create Tokens activity.
  • Added a Make Array label aggregation type to the Batch.
  • Added Center in View buttons for fields with pointer data.
  • Added a name property to the Token FlexScript class.
  • Fixed a bug with duplicating Process Flows using the Toolbox.

Backwards Compatibility Note: the following changes may slightly change the way updated models behave.

  • Updated the Pull From List activity so it does not assign a null label when nothing was pulled or the token was released early (manually). Previously, if you used a Max Wait Timer or Max Idle Timer (or some other mechanism) to release a token from a Pull from List prematurely, the label specified in the Assign To field would be created with a value of NULL. Now, the label will not be created. This may break other models that are checking to see if the label value exists. For example, saying objectexists(token.pulled) will throw an exception if the pulled label is never created. This can be easily remedied by changing the code to objectexists(token.pulled?). The ? will cause the value returned to be nullvar when the pulled label does not exist.
  • Universal Edit fields are now more strict when accessing labels on a token. Previously, typing token.labelThatDoesNotExist would happily return NULL and move on. Now the Universal Edit will throw an exception if the label doesn't exist. This does not include Universal Edit fields that assert labels, for example the Assign To fields.
Comments

Two known issues:

  1. We're still working on building and posting the new WebServer application. That should be available sometime next week. (UPDATE: The new Webserver application is now available in the Downloads section of the website.)
  2. Lists and SQL queries are not working properly right now in 32-bit. (UPDATE: This has been fixed in the latest version of the beta. Both 64-bit and 32-bit should be working correctly now.)

Thanks Phil. We can haz new flexsimcontent too please? 🙂

@phil.bobo

Hey this release seems awesome. I know that the AGV class is going to be super useful for me. I think I found another bug in the beta, but wasn't sure if this is where bugs should be reported. If not, then let me know how best to report those. The potential bug is that I can't seem to load a user library. It doesn't show up in the file browse when "Open User Libraries..." is clicked and if I put in the path, then FlexSim crashes. Thanks again.

Thanks for pointing this bug out. You can post bugs here or email them to dev@flexsim.com. Either way works.

Hi Phil,

Is it possible to release the latest SDK headers for 17.1 to let me try?

Thanks, Hao

Compliments guys, looks great. The UTF-8 strings, Global Table On Reset triggers, and availability of many more datatypes through the GUI are huge improvements (no really, they're great!).

Two (minor) things I noticed, in addition to my earlier remark about the SDK repository (wink, hint):

1. "Implemented F2 and Esc functionality in tables" - F2 goes into edit mode, but selects the entire contents. I cannot use the arrow keys to move the selection so I still need to use the mouse or overwrite the entire cell?

2. "Added a message when trying to sample a Global List from a Push/Pull from List activity." - The message says "Use a shared list asset. Click to apply". Click does not apply anything 😉 I understand why it says what it says, but it would be pretty cool if I could actually click and it would create and connect a shared list asset (just like when clicking in an empty spot in the process flow) linked to the Global List.

I added a task to our dev list to update the Module SDK for 17.1. We'll let you know when it is updated.

I added a task to our dev list to update the Module SDK for 17.1. We'll let you know when it is updated.

I added cases to the dev list for these two issues. We'll consider what we should do about these.

Another bug I noticed in the beta. Output per hour dashboard widgets don't seem to work.

@phil.bobo

Hey Phil. I am not able to find the webserver application download in the downloads section. Do you know how to find it in that area?

Go to your FlexSim account downloads https://www.flexsim.com/account/#/downloads Under the software section at the very bottom.

I think I misclassified it. Look again now. Log out and log back in if you can't see it. It should be at the bottom of the software section:

5776-download-webserver.png

Thanks. I see it now.

The Module SDK has been updated for 17.1

The Module SDK has been updated for 17.1

Hi @phil.bobo and @anthony.johnson. When building a 32-bit project with the new SDK, I get a bunch of linker errors about unresolved external symbols. The 64-bit build works fine. Both worked with the 17.0 SDK. Can you please verify that you have pushed the correct version of the flexsim_x86.lib and flexsimcontent_x86.lib libraries? Thanks!

I just pushed new 32-bit libs. See if it works correctly for you now. I'm not sure what happened with those last ones.

It's working, thanks!

Thanks for the update Phil.

CAD (.dwg) files may not be able to import properly into this engine. I tried 2 or 3 CAD files that work properly in 16.1. But these cannot be imported into 17.1 beta. See attached image below that shows how it looks like after a dwg file is imported. I am not allowed to share those CAD files. So you may have your own files to test.

Thanks, Hao

5991-1.png

We also found this issue while testing the beta and are working on getting it fixed. Thanks for pointing it out!

Great Matthew, actually I am wondering whether this bug may have been present in 17.0.x already because I ran into this behavior the other day but could not reliably reproduce it.

6012-untitled2.png

In the 17.1 beta the pop-up is not visible in both the quick library as well as the normal library. The screenshot is from the FlexSim 17.0.3 version.

To clarify: @Abel van der Windt is talking about the object name tooltip.

The normal library displays the names of the objects, so the tooltip gives you a description as to what that object does. The Quick Library gives you tooltips for the name of the object, as it is not displayed. This is by design.

The Core Profile OpenGL Context doesn't work with DWG drawings. That is the same in 17.0 and 17.1.

The bug we found in dwgs not drawing is 17.1 beta is actually that embedded media isn't working in the current 17.1 beta. That has been fixed for the final 17.1 release.

You need to use a Legacy (Backwards Compatible) OpenGL Context if you want to render DWG files properly, as explained in the Model Background documentation.

Thanks for the comment @Matt Long, but I am not sure I understand it. Do you mean that it is by design that you disabled the tooltip with the object name? I felt it was a useful feature when you have objects with similar icons, like the three identical conveyor icons in the screenshot above, and it still works in 17.0.3 (where the screenshot was taken from).

Image from 17.1.0 Beta:

6040-quicklibrary.png

I just found an experimenter issue. See attached a simple model. test.fsm

When I hit "Run Experimenter", except for generating a bunch of child processes, it also creates a new instance of FlexSim in the front. This is not 100% repeatable. But it happen pretty often. Sometimes, after I clicked save button, or add/delete an experiment variable/scenario, then hit "Run Experimenter", the problem will show up.

Yep, just downloaded the latetst beta (30 Mar) and it works. Probably got fixed soon after the 10 Mar release. Thanks!

Is it making a new FlexSim instance or are you just noticing that the program now shows the progress of the experiment on the Windows toolbar icon and flashes when it completes its experiment?

Hi Phil,

It is actually FlexSim instance. Sometimes it pop 3 or 4 new instances for me. And I have to close them manually.

Hao,

We can't replicate this issue. Do you have any more information that you can tell us that might help us replicate what you are seeing?

Hi Phil,

See attached model. test.fsm You can kind of replicate the issue as follows: open the model, hit reset, hit save, hit "Run Experimenter". If you cannot see that, reset experimenter after it is done, then hit "Run Experimenter" again. Keep repeating these until you see the problem. In my computer, it shows pretty often. Let me know if you want a quick meeting to show that.

Thanks, Hao

The issue is not that we aren't doing the same thing that you are doing. The issue is likely related to something about your machine is different than the ones we are testing this on. We can't replicate it following your instructions.

Are you using custom modules? Are you using 32-bit FlexSim instead of 64-bit FlexSim? What version of Windows are you using? Do you have other software running that might be causing this issue?

Try to replicate the issue on a different computer, then try to figure out what is different about your machine that is causing this issue than other machines.

I am using a clean version of FlexSim17.1 beta with only FlexSim's modules loaded in. I am using 64-bit version FlexSim and Windows 7. I do not know which other software running may impact FlexSim. But I did run the same model with 16.1 in the same environment in my machine, there is no problem. So I guess the problem may be from 17.1.

I can replicate the problem both on my desktop (Xeon E5-1650 + Quadro M4000 376.84) and my laptop (i7-4800MQ + Quadro K1100M 368.39).

Any suggestions of isolating the issue?

@phil.bobo

2017.1 is unable to identify any Chinese character in the path of file.

6192-error-with-chinese-path.png

@phil.bobo I saw the bug report from @Hao Zhou, so I thought I would try it as I had similar system environment (unfortunately, I couldn't figure out how to reply on the original comment thread). I created a clean model and did the following:

1. Created source, processor, sink

2. Setup an experiment

3. Reset and saved the model

4. Clicked "Run experiment"

This opened up another instance of FlexSim. Additionally, the experiment did not run and the original instance was not responding until this newly opened instance was closed.