05-03-2011 06:07 AM
Oooops!!!
it seems I uploaded the wrong file!
Here they are.
Nico
05-30-2011 02:19 PM
Nico,
I downloaded the llb and tiff for windows from http://gnuwin32.sourceforge.net/packages/tiff.htmt. I got the following error message when I tried to run libtiff_example2.vi.
Error 1097 occurred at Call Library Function Node in libtiff2_writeScanLine_U8.vi
Possible reason(s):
LabVIEW: An exception occurred within the external code called by a Call Library Function Node. The exception might have corrupted the LabVIEW memory. Save any work to a new location and restart LabVIEW.
Do you have any idea how I can solve the problem? Thanks.
Jin
06-01-2011 06:23 AM
Mmm... could you tell where is the error generated in "libtiff2_writeScanLine_U8.vi"? All the "status" numeric outputs ("status_width", status_length" etc.) should be "1".
Do you get the same error by selecting "U16 ScanLine single page"? What about choosing a different tiff format ("U8 striped single page")?
N
06-01-2011 09:01 AM
The error is generated in call function TIFFSetField( ). The error persisted when I selected "U16 ScanLine single page" or "U8 striped single page". I have no problem to run example 1.
06-01-2011 09:46 AM
That's strange: could you please tell me which instance of TiffSetField() fails? There are many nodes calling TiffSetField() setting different tags (e. g. the first one to be called in "libtiff2_writeScanLine_U8.vi" set the tag 256, corresponding to ImageWidth).
Do you get the same error by choosing a multipaged file (choosing "U8 ScanLine multi page" in "libtiff_example2.vi")?
Anyone else having the same problem?
N
06-01-2011 02:00 PM
N,
It is the first TiffSetField function with tag 256 caused the problem. It might relates with the version of the Tiff library. I downloaded the latest version 3.8.2. Which verison are you using?