LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Timing of DLL Call

Hi all,

we try to do time critical tasks in a dll. Certain calls seem to require more time than others (10 ms instead of less than 1 ms). If we call the same functions from C code, all function calls require the same amount of time, less than 1 ms. Does anyone have an idea of a possible reason for this behaviour? Why would LabVIEW spend more time on some certain calls of DLL functions?

Regards
Matthias
0 Kudos
Message 1 of 2
(2,507 Views)

"matthias.richwin" <x@no.email> wrote in message news:1164111008999-443916@exchange.ni.com...
Hi all,


we try to do time critical tasks in a dll. Certain calls seem to
require more time than others (10 ms instead of less than 1 ms). If we
call the same functions from C code, all function calls require the
same amount of time, less than 1 ms. Does anyone have an idea of a
possible reason for this behaviour? Why would LabVIEW spend more time
on some certain calls of DLL functions?


Regards
Matthias


If the call library node is orange, it's running in the user interface thread. If you configure the node, select reentrent execution. This doesn't work if the dll is buffering values (each dll node has it's own dataspace).


Regards,


Wiebe.
0 Kudos
Message 2 of 2
(2,498 Views)