question

Sam Z avatar image
0 Likes"
Sam Z asked Sam Z commented

Error message when using Process Flow

Hello!

I just installed the latest version of FlexSim(17.1.5build 567built on 2017-08-3) on my new laptop. But the moment I use process flow, I keep receiving the error message as below:

exception: Exception caught in TreeNode::callMemberFunction() c++/dll execution. Throwing... VIEW:/active/MainPanel/BackPanel/SplitterXPane/TabPane/TabControl/ProcessFlow>eventfunctions/onDrawCallback c: VIEW:/active/MainPanel/BackPanel/SplitterXPane/TabPane/TabControl/ProcessFlow thisClass: VIEW:/active/MainPanel/BackPanel/SplitterXPane/TabPane/TabControl/ProcessFlow exception: FlexScript exception: VIEW:/active/MainPanel/BackPanel/SplitterXPane/TabPane/TabControl/ProcessFlow>eventfunctions/OnDraw c: VIEW:/active/MainPanel/BackPanel/SplitterXPane/TabPane/TabControl/ProcessFlow

Does anyone know why?

FlexSim 17.1.5
process flowerror message
· 2
5 |100000

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

Joerg Vogel avatar image Joerg Vogel commented ·

Which Windows 10 version do you use - Home, Pro or S?

0 Likes 0 ·
Sam Z avatar image Sam Z Joerg Vogel commented ·

Hi Jorg - It's Pro. Please advise

0 Likes 0 ·
Phil BoBo avatar image
1 Like"
Phil BoBo answered Sam Z commented

If you are using Windows 10, then the solution in that other question is not related. Windows 10 has always included that update.

Can you use Conveyors, AGV, or AStar? Is it just ProcessFlow that is giving you issues?

If it is just ProcessFlow that is giving you issues, it might be related to your graphics card driver. The ProcessFlow view is hardware accelerated with Direct2D. You might be able to fix the issue by updating your graphics card driver.

· 10
5 |100000

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

Sam Z avatar image Sam Z commented ·

Yes, I have no problem of using the rest function. It's very weird. And I also tried to download different version of Flexsim. I think the latest version I can use process flow is FlexSim 16.0.9(64-bit).

Please advise.

0 Likes 0 ·
Phil BoBo avatar image Phil BoBo ♦♦ Sam Z commented ·

It might be related to your graphics card driver. The ProcessFlow view is hardware accelerated with Direct2D. You might be able to fix the issue by updating your graphics card driver.

0 Likes 0 ·
Sam Z avatar image Sam Z commented ·

Can you share a good link of Direct2D that I could download?

Thanks!

0 Likes 0 ·
Phil BoBo avatar image Phil BoBo ♦♦ Sam Z commented ·

You don't download Direct2D. It is part of Windows. You update your graphics card driver.

0 Likes 0 ·
Sam Z avatar image Sam Z commented ·

Hi Phil - I have been working with our IT on fixing this issue. We have updated the graphic driver but it still gives me the same error again and again. Is there another possiblities may have caused this issue?

Thanks!

0 Likes 0 ·
Phil BoBo avatar image Phil BoBo ♦♦ Sam Z commented ·

Are you getting this error in a certain model, or do you see it when you add a brand new ProcessFlow to an empty model?

Does it happen immediately, or does it happen after you add an activity?

Does it happen on other computers in your organization or just the one you are currently using? If it works correctly with other computers, what's the difference between your computer and the ones that work?

More information is necessary in order to determine what is happening and why.

0 Likes 0 ·
Sam Z avatar image Sam Z commented ·

Hi Phil -

1. I will get this error either opening a model with a ProcessFlow or adding a brand new ProcessFlow to an empty model.

2. This error will happen immediately after I add any component from the ProcessFlow library.

3. No, this doesn't happen to any other computers. In fact, this is the first time I ever experience such an error. I don't think my laptop is much different from other computers excpet for my graphic card is more adanced(NVIDIA Quadro 1000M).

And I only get this error when I use version 2017. I have no problem of using ProcessFlow with verison 2016.

Hope this could help you to diagnose the issue.

0 Likes 0 ·
Phil BoBo avatar image Phil BoBo ♦♦ Sam Z commented ·

We updated ProcessFlow to be hardware accelerated with Direct2D in FlexSim 2016 Update 2. Does it work fine with 16.2.2 or just 16.0.9?

NVIDIA Quadro cards have many different driver versions. Did you try changing the 3D settings in your NVIDIA control panel to "3D App - Game Development" as described in Graphics Compatibility - Common Problems and Solutions?

0 Likes 0 ·
Phil BoBo avatar image Phil BoBo ♦♦ Phil BoBo ♦♦ commented ·

Here is a Paint.Net forum thread with people having Direct2D exceptions using that same graphics card (and also the Quadro 2000M) that also solved their issues by modifying some of the Nvidia control panel settings.

2 Likes 2 ·
Show more comments
Phil BoBo avatar image
0 Likes"
Phil BoBo answered Ben Wilson converted comment to answer

Try using the solution on this other question's answer:

Error on using modules

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

Sam Z avatar image Sam Z commented ·

Hi Phil,

Thanks for the response. I can't find update file for Windows 10 from the shared link. Please advise.

Thanks!

0 Likes 0 ·
Matt Long avatar image
0 Likes"
Matt Long answered Phil BoBo converted comment to answer

It looks like something may have installed incorrectly. I would try uninstalling and reinstalling FlexSim.

· 3
5 |100000

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

Sam Z avatar image Sam Z commented ·

Hi Matt,

I have tried to uninstall and reinstall several times and it's still not working. I usually use the control panel to uninstall. I wonder is there a better way to do it?

Thanks

0 Likes 0 ·
Matt Long avatar image Matt Long Sam Z commented ·

If you go to your Program Files/FlexSim 2017 Update 1 folder then go to modules/ProcessFlow, do you see a ProcessFlow.dll and ProcessFlow.t file? What are the file sizes of each of those?

What version of Windows are you using and what graphics card do you have?

0 Likes 0 ·
Sam Z avatar image Sam Z commented ·

They are 2479 and 335KB

0 Likes 0 ·
capture.png (7.5 KiB)

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.