NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

DLL Calls taking forvever in OI

Okey, heres the problem.
Desgined a custom UI based on the simple OI version(editting in LV 7.1) that comes with TS 3.0. The only problem left is that tests using the C/C++ DLL adaptor, run very slowly. Using the benchmark.seq, the average time is around 100ms in the "Numeric Limits Test with precondition and 4 parameters". This is whats seen in practice aswell(Runs slowly when there are alot of DLL calls). Running in the sequence editor its around 6ms. for all other step types (LV, ActiveX....) the time are around 8-20ms....

I suspect that the I've set(or not set) the DLL calling mechanism in a way with makes it take an eternity to run each call to the dll... Any Ideas how to make it quicker?
0 Kudos
Message 1 of 2
(2,922 Views)
Hi

Have you tried to disable tracing. This might speed up the execution.
Can you compare the speeds between the sequence editor and the operator interface after you have disabled tracing.

Regards
Anand Jain
National Instruments.
0 Kudos
Message 2 of 2
(2,903 Views)