Measurement Studio for VB6

cancel
Showing results for 
Search instead for 
Did you mean: 

How to save files to disk without losing image quality

Hi, I'm a Visual Basic developer and I'm doing an acquisition system with a CCD camera and 1408 IMAQ framegrabber. I need to save the images into a hard disk. My problem is that when i begin to save images to disk, the acquisition's performance come down (the images gets slow).
Now I'm using the ActiveX CWImaq provideing by National Instruments.

I would be grateful if you would send me any advice.

regards.
0 Kudos
Message 1 of 4
(3,526 Views)
In order to ensure that you save all the images acquired at a specific rate to your hard drive you should save your acquired images onto a list buffer and once you are done with the acquisition you should save those buffered images onto your hard drive.
Let me know if you have further questions regarding this issue.

Best regards,

Yusuf C.
Applications Engineering
National Instruments
0 Kudos
Message 2 of 4
(3,526 Views)
Thank you for the answer. I want to know if you have an example of how to use buffers in visual basic. I try to do this with the "high level and low level functions" (NI dll library), but I don't achieve a complete example. Let me know if exist some help of how to use the NI dll library, I have the NI-IMAQ Function Reference Manual, but this pdf doesn't have an example of how the functions work together to get an image acquisition.

thanks for your time.

regards.
0 Kudos
Message 3 of 4
(3,526 Views)

There is a really good tutorial on the developer zone called IMAQ Acquisition, Images, and Displaying in Visual Basic, which talks also about buffered image acquisition in Visual Basic.
You can find built-in examples of how to do buffered image acquisition in the following folder with the default path: C:\Program Files\National Instruments\NI-IMAQ\Sample\VB\
I hope this helps!

Regards,

Yusuf C.
Applications Engineering
National Instruments

0 Kudos
Message 4 of 4
(3,526 Views)