LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Warning when using 'Debug Application or Shared Library' in LabVIEW 2009

Hi,

 

I've recently installed LabVIEW 2009 and DAQmx 9.0.

 

I have executables running on real-time machines, which I have also updated the software on. When I use 'Debug Application or Shared Library' it debug the executables I now get a warning about nilvaiu.dll. It says 'Error validating external library'. It is just a warning, and I can see my programs running ok if I press ignore. I have a timed loop with a deadline, and an indicator to tell me if it's late and I have noticed that since updating the software this flashes sometimes, and it never flashed before.

 

I was wondering if the warning is anything to be worried about, how I can fix it and if it could be the reason my program now appears to be running slower?

 

Regards,

 

Sarah

0 Kudos
Message 1 of 7
(3,315 Views)

Hi Sarah,

 

With debugging turned off, does the timed loop still miss its deadline?

 

Best regards,

 

Tony

0 Kudos
Message 2 of 7
(3,284 Views)

Hi Tony,

 

It's a little hard to tell as it's an executable running on a real-time system. Without debugging I can't see the front panel (I don't think?), which is where the indicator is.

 

Regards,

 

Sarah

0 Kudos
Message 3 of 7
(3,277 Views)

On each loop my program takes a reading and increments a counter, which is reset at midnight each day. The deadline is 20ms (so 50Hz)and it's important that the system never misses a read.

The counter is a network published shared variable, and looking at it in the shared variable manager it seems about right, but as the numbers are so large it would be hard to tell if it had only missed a few.

It is very possible that it's running fine when i'm not looking at it, but it would be nice to confirm that. I was able to watch it using the debugger without making it slow before I upgraded my software.

 

Regards,

 

Sarah

0 Kudos
Message 4 of 7
(3,270 Views)

Hi Sarah,

 

I'd like to get a better understanding of the Real-Time target machines.  In MAX and under remote systems, what software drivers have been pushed down on to the targets?

 

 

Best regards,

 

Tony

0 Kudos
Message 5 of 7
(3,223 Views)

Hi Tony,

 

Thanks for your response.

 

The software I have installed is:

 

AMD AM 79C972 10/100Mbps Ethernet Driver 1.0.0.3.0

Broadcom 57xx Gigabit Ethernet Driver 3.0.0.3.0

LabVIEW Real-Time 9.0

Langusge Support for LabVIEW RT 1.0.0.3

Network Variable ENgine 1.6.0

NI-DAQmx 9.0.0

NI-Sync 3.1.0

NI-VISA 4.5.1

NI-VISA Server 4.5.1

Variable Client Support for LabVIEW RT 1.6.0

 

Regards,

 

Sarah

0 Kudos
Message 6 of 7
(3,203 Views)

Hi Sarah,

 

I have just come across your forum post and wanted to let you know that using the debugger will inherently slow down your code due to the need to pass more data and to syncronise events on the RT and windows systems.

 

In regards to the dll warning, if you get valid data then this is not something to really concern yourself with. However if you do wnat it resolved, you can unistall DAQmx 9.0 off of the PC and RT target, and install DAQmx 8.9.5 instead and see how thisversion of DAQ behaves.

 

Regards
JamesC
NIUK and Ireland

0 Kudos
Message 7 of 7
(3,066 Views)