Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Application slow down

Dear NI,
 
I have an application made with LV8.2 and compiled for WXP. Hardware is used an USB DAQ 6016. The application is a testing program for some ECU. A full cycle takes aprox.30 sec. After testing continously for more than an hour the testing cycle starts to slow down and after another hour the cycle time is double, aprox.1 min. If I'm exiting the application and restarting again everything is back to normal, for an hour, sure and the story repeats.
1. I checked the software and closed all tasks and timed the while loops.
2. I monitorized the computer memory usage and after 1 hour : - the "available memory" dropped from 780 MB to 739 ; -  the "treads" raised from 424 to 776 ; - the "handles" raised from 11305 to 14236.
3. The PC is an industrial PC with a 2 GHz Intel processor and 1GB RAM, OS is WXP Pro SP1.
 
Any help will be welcome!
Thanks
 
Regards,
 
Sergiu
0 Kudos
Message 1 of 3
(3,208 Views)
Hello Sergiu,

What is the programming environment that you are seeing this behavior?  Is this occurring in LabVIEW and Measurement and Automation Explorer (MAX) or just one of them?  Make sure that you do not have any kind of Open Task, Stop Task or Clear Task VIs inside any for loops and you only have the read/write VIs inside the loops.  What is the driver that you are using?  Are you using DAQmx or NI-DAQ and what version?  Also, what kind of measurement are you taking?  Is it an analog input measurement?

A good place to start troubleshooting would be to open examples that are shipped with the driver.  These can be found under Help > Find Examples in the LabVIEW environement.  In the NI Example Finder select Hardware Input and Output > DAQmx and then choose an appropriate example for your application.  Please let us know if you see such a behavior using one of these examples.  You can then start modifying these examples to suit your needs.


Regards,
Raajit L
National Instruments
0 Kudos
Message 2 of 3
(3,181 Views)

Hi Raajit,

Thanks for the help. The program was made with LabVIEW 8.2 and compiled. No MAX. I installed in the testing PC with the last DAQmx 8.3. I'm using a bunch of DO to control some relays, two AI voltage measurements to Start and check for a close door, another three AI for voltage measurements, a Counter to measure various PWM signals, a VISA to talk with a Lambda Progr. power supply.

The program is for testing an electronic module . It is reading and recording a barcode, then checks for a close door and the apply a sequence of seven tests (various setting and measurements, all measurements are recorded) and regarding the boolean outputs of each and all of them gives a PASS or FAIL optical/acustical signal.

However I'll recheck all you've been indicated and let you know about results. It will take a while, the tester is in a remotely location and not accesible any hour.

Regards,

Sergiu

 

0 Kudos
Message 3 of 3
(3,171 Views)