02-16-2006 11:55 AM
02-16-2006 01:14 PM
Hi sau,
I found this sample ZIP file that contains a VI for writing header information to a PNG file. I don't know anything about how the DLL was implemented that does this, but I just tried it out in LabVIEW 8.0 and it seems to work (the VIs were actually written in LabVIEW 6.1). I hope this can help you.
-D
02-16-2006 02:43 PM
02-16-2006 02:48 PM
I think when you write the "text in" parameter, you also specify an "index" as to where you want that text to go. Then when you read the PNG file, you specify an "index" as to which text you want to read, and it returns the text that you previously wrote to that index. From my understanding, it's a way to store more information in the file if you can't fit everything you want in the 64-byte header.
-D
02-28-2006 04:38 PM
02-28-2006 05:19 PM
Hi Deborah,
I don't know of any other solution out there...did you mass compile the VIs before using them? Mass compiling will often help with loading, and sometimes the performance, of VIs saved in older versions.
-D
03-01-2006 09:35 AM
03-01-2006 10:37 AM
Hi Deborah,
I don't know of any way to write the PNG header information other than that VI. Perhaps you can find a freeware DLL or ActiveX control on the web somewhere that you could interface with LabVIEW that might be faster than this example program.
Is there any reason you need this to be particularly fast? Generally, non-streaming file I/O operations aren't meant to be all that fast.
Good luck,
-D
02-15-2008 05:15 AM
02-15-2008 08:22 AM