question

Normand Côté avatar image
1 Like"
Normand Côté asked Normand Côté commented

How to restore a Flexsim 4.5 model

Hi all,

I have to restore an old Flexsim model (2008). Looking at the fsm files, I can see release 4.5. So I downloaded version 4.5 from Flexsim website and installed it on a Windows 7 machine but it crashes every time I launch it. My questions are:

  1. Can Flexsim 4.5 run on Windows 7 ?
  2. I cannot find drivers for the HASP hl dongle on Flexsim website. Where can I get them ?
  3. Do I need to have VS C++ 2008 installed to launch Flexsim or is it only required if to run the model ?
  4. Can I configure Flexsim 4.5 to run model with a more recent version of VS ?

Thanks for your help,

Normand

FlexSim (other)
FlexSim (other - please specify)
version 4.5
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

Phil BoBo avatar image
3 Likes"
Phil BoBo answered Normand Côté commented

1. FlexSim 5.0.4 included a bugfix for a crash caused when the graphics driver reports a long list of GL_EXTENSIONS.

On Windows 7 (or most graphics drivers later than June 2010), the graphics driver is likely reporting a long list which leads to the crash.

So in order to run versions of FlexSim older than 5.0.4, you need to run them on hardware with either an old graphics driver or a graphics card that doesn't support many OpenGL extensions.

The best solution is to upgrade your model to FlexSim 5.0.4 rather than trying to run an older version of FlexSim that still has this crashing bug.

Install FlexSim 5.0.4 and open your model. FlexSim 4.5 models should upgrade to 5.0.4 just fine. Let us know if you have any troubles running your model in FlexSim 5.0.4.

2. Also, FlexSim 5.0.4 uses the new license system, so you can license it with your current FlexSim license rather than having to use the old HASP system.

3. You do not need Visual Studio to open or run FlexSim. Visual Studio was only required for FlexSim version 2.6 or earlier. Since FlexSim 3.0, Visual Studio is only required if the model contains C++ code that needs to be compiled. By default, FlexSim uses FlexScript for model logic rather than C++.

4. If your model does contain C++ code and requires Visual Studio to compile, you need to use a version of Visual Studio that is supported by the version of FlexSim you are using. Each version of FlexSim can be compiled with a certain range of Visual Studio versions. In Global Preferences, on the Compiler tab, you will find the list of Visual Studio versions that are compatible with that FlexSim version.

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

Normand Côté avatar image Normand Côté commented ·

Thanks Phil. I upgraded the model to 5.0.4 and everything went fine (windows 7). I had some nodes in C++ but after installing VS2008Express I was able to compile.

0 Likes 0 ·