Bannu,
i am not too sure about how you call the function. You are talking about three different methods here:
- .NET
- ActiveX
- DLL call
All of these work differently, but do the same for you: to include functions written in other languages in your LV application.
I asume that you are using the DLL call, named "call library function node (clfn)". The settings regarding the executionthread is "run in ui thread". This will do the following:
The UI Thread handles the screenupdate. If you are executing the DLL function in this thread and it takes some time for the execution, the update of your screen will be delayed until the function finishes.
If you are running into this issue, you propably can solve it by setting the executionthread to "reentrant". BUT you can mess things up very easily (without noticing) IF the DLL is NOT "threadsafe".
hope this helps,
Norbert B.
Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.