Dear Jason,
Both "IMAQ Write File" and "IMAQ Write PNG File" were tried. We got the same results. And we also used labview to read the 16-bit PNG files and displayed them, there is no problem. When I put cursor on a certain pixel, the value is always smaller than 1024.
The reasons we think that the format of labview PNG changed are as following:
1) we have some old 10-bit images which saved in 16-bit PNG files with labview 5.0/IMAQ Vision 5.0, their values are still within 10 bits if opened with matlab.
2) If we use windows picture and fax viewer to see those old 10-bit images saved with IMAQ vision 5.0, they are totally black, which means those old PNG files only contain values within 10 bits although they are 16-bit PNG. But if we view the 16-bit PNG files created by new version of Vision, we see pleasant images. Unfortunately, we want raw date instead of pleasant viewing.
When we use "IMAQ Write PNG file" vi, we set "image quality" at 1000. We also noticed that the new version of "IMAQ Write PNG File" has one more argument than the old version. It is "Use Bit Depth?". We guess this argument might be related to our problem. But simply setting it at either true or false doesn't solve the problem.
Thanks!
RC