I am trying to use NI devices with Lazarus (there is no pascal section, so I post here).
When I try to run my application:
DAQmxBaseCreateTask('TaskHandle', TaskHandle);
DAQmxBaseCreateAIVoltageChan(taskHandle,'Dev1/ai0','',DAQmx_Val_Cfg_Default,-10.0,10.0,DAQmx_Val_Volts,'');
I get the following error message:
„System error 988 while loading the LabView eun-time engine (C:\Program file\....\\lvrt.dll)
nidaqmxbaselv requires a version 2010 (or compatible) LabView run-time engine. Please contact the vendor of nidaqmxbaselv to correct this problem.“
I installed LabView run-time engine 2012, but I still get the same error.
Then I tried to install LabView run-time engine 2010- the same result.
I removed LabView run-time engine 2012- same result.
I tried to install LabView run-time engine 2010 again (since I did not see it in the add/remove list)- then I noticed, that the installer shows „A newer version is already installed".
What shall I do?
↧