LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

file conversion

I use labview for the data acquisition. the data (spectra) is saved as txt files.

 

but the calibration program, which is also in labview, only reads .tiff files.

 

so how can labview handle these txt files to .tiff files? I am not sure if labview can do this or not.

 

 

Thanks,

 

Lei

 

 

0 Kudos
Message 1 of 8
(3,270 Views)

Text files and tiff files are two completely different things.  There is no conversion.

 

Text files are human readable.  A series of ASCII bytes that if you look at them, you'll know what it says.

 

TIFF is a binary file format for rasterized images.  Just like a bitmap file.  I don't even know why a calibration program would try to read a .tiff file.

Message 2 of 8
(3,253 Views)

Thanks!

 

I attach the sample program for the calibration. it only loads three types of files: SPE, TIF, PMI.....

 

Maybe i can save my file in the acquisition program as .tif? How can I do this?

 

 

Lei

0 Kudos
Message 3 of 8
(3,227 Views)

There isn't much I can do looking at your file.  The major portion of your VI requires subVI's that are a part of some SITK toolkit which I don't have.

 

I don't know what SPE and PMI files are.

 

I'd suggest reading the context help on any of those subVI's that are a part of the image library and calibration library of those SITK files.

0 Kudos
Message 4 of 8
(3,222 Views)
There are many missing subVIs. What toolkit are you using? It says right on the front panel that the files are saved as tif. Do the same thing in your acquisition program by just copying the relevant portion.
0 Kudos
Message 5 of 8
(3,218 Views)

I am using SITK toolkits from princeton instruments camera...

 

I wrote the acquisition program myself..... just wondering how to save the file as .tiff. I am attaching my program, currently it is saved as .lvm format

 

thanks guys,

 

Lei

 

0 Kudos
Message 6 of 8
(3,208 Views)
You continue to post VIs that are missing all of the subVIs. And, as I already mentioned, that calibration program appears to have code for saving files in tiff format. You'll have to do this work yourself since you have camera and the missing subVIs.
0 Kudos
Message 7 of 8
(3,201 Views)

Thanks Dennis, I will look into it.

 

Lei

0 Kudos
Message 8 of 8
(3,196 Views)