odissey1
November 10, 2006, 00:28:32
Hi,
My application does both imaging (1 frame per second) and data collection and is CPU load-critical. To save data I use command:
ImagingControl.SaveAsJpeg(Filename, quality);
with if quality >= 20 it hangs-up after approximately of 10 sec of operation. No problem with saving as plain Bitmap. I feel that CPU consumption is significant for JPEG compression and this causes conflicts with data acquisition.
I know that ImagingControl (AX) is multithreaded so I wander if it is possible to change (lower) priority for the thread which does JPEG compression?
Sincerely,
Boris
My application does both imaging (1 frame per second) and data collection and is CPU load-critical. To save data I use command:
ImagingControl.SaveAsJpeg(Filename, quality);
with if quality >= 20 it hangs-up after approximately of 10 sec of operation. No problem with saving as plain Bitmap. I feel that CPU consumption is significant for JPEG compression and this causes conflicts with data acquisition.
I know that ImagingControl (AX) is multithreaded so I wander if it is possible to change (lower) priority for the thread which does JPEG compression?
Sincerely,
Boris