Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

System error 988 whlie loading the LabView eun-time engine (C:\Program file\....\\lvrt.dll)

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?
0 Kudos
Message 1 of 4
(7,094 Views)

Hello,

I cannot figure that out from top of my head, can you please provide me further information?

 

You are developing application in Pascal Lazarus environment and you want to use NI data acquisition hardware, right? Which DAQ HW are you using? In case you are just calling DAQmx driver in you Pascal application, there shouldn't be any need for a LabVIEW Run-Time engine. What is your operating system? What should that application do on high level?

 

Thanks for now

Jakub Prokeš
NIEE Aplications Engineer
0 Kudos
Message 2 of 4
(7,083 Views)

Hi again,

It's more than a week since your last post. Were you able to figure it out by yourself? Can you please share what was the problem in that case?

 

Best regards

Jakub Prokeš
NIEE Aplications Engineer
0 Kudos
Message 3 of 4
(7,059 Views)

Hi,

   Can I ask the same question too?

   I am using

   Windows 7 sp1 x64

   Visual Studio 2010 pro 

   NI USB-6009  

   ni-daqmx base 3.4.5 

 

   I created a empty win-32 console project and putted the ANSI C Example program: acquireNScans.c with the include file and lib file of nidaqmxbase in the same folder. I added this line on the top of the source code #pragma comment(lib,"nidaqmxbase.lib"), built without any error. When I tried to run it, I got this same message.

 

  I tried changing to shared dll mfc and delaying linking lvrt.dll, but did not work.

 

  Looking forward to your reply.

 

all the best.

0 Kudos
Message 4 of 4
(6,669 Views)