Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Loosing the CPU resources during printing

I have developed a control application for an industrial facility with LabVIEW 6.0.2, the DSC Module and the Report Generation Toolkit. When I print a report the other tasks of my program stop working for 10-12 seconds approximately while the PC is sending the information to the printer. Due to this, during those 12 seconds I can not control the facility getting into an uncontrolled situation. Considering that LabVIEW and Windows 2000 Professional are multitask systems, what should I do to avoid that the printing get all the CPU resources?
0 Kudos
Message 1 of 2
(2,504 Views)
Printing is the task of Windows, so there is not going to be a LabVIEW solution. I recommend looking through Google for printing windows priority to see if you can change the priorty Windows places on printing. You might also look for a print spooler so that you can defer printing. Finally try experimenting with the priorty of LabVIEW by going to the taskmanager and increasing the priorty of LabVIEW. You should do this in small increments until the printing problem goes away.
0 Kudos
Message 2 of 2
(2,504 Views)