02-09-2009 04:49 AM
Solved! Go to Solution.
02-09-2009 06:08 AM
Hi,
You have to be more specific.. What do you really mean by converting "any" file format to text??
Are you looking for some sort of converter software, such as .pdf to text?
OR
Do you want to convert some other types of ascii file to simple text?
What is it that you want to convert?
"Any" is too ambiguous... Because an executable (.exe) is a file, and so are image files (ie: .jpg, .png, etc), as well as sound file (.wav). Do you want to convert those to text as well?
Please explain what you are trying to do.
R
02-09-2009 06:08 AM
Hi vamsi v,
do you really mean every file format? Can you be more specific?
If you need it without structure, then you can use the "Read from Text File" function.
Mike
02-09-2009 11:37 AM - edited 02-09-2009 11:40 AM
It really depends what's in the "any" file and what you want in the output file. Can you attach anexample?
(For example, if you have a collection of digital images taken at the zoo, should one of the text files contain the text "This is Bob riding on an Elephant"? :D)
One possible "universal converter" would format any file into a hex formatted file of twice the size. Is that what you want?
Are you looking for UU-encoding, MIME, Base 64, BinHex, etc. or similar??
02-09-2009 11:51 AM - edited 02-09-2009 11:52 AM
vamsi v wrote:
Can anyone provide me labview code to convert any given file format into text format.
You've already asked this question here, and even marked Mike's reply as a solution.
What do you really want? A flippant answer would be this:
since you never said anything about the "text" being human-readable.
02-10-2009 04:20 AM
Hi,
Actually I want to convert a .doc file to .txt file and back to .doc file. can you give me code for that.
i.e. if you have a .doc file and you want to convert it to .txt format and back to .doc format..
Thanks
vamsi
02-10-2009 07:44 AM
Hi Vamsi,
Just to be clear.. Do you mean a MS Word document (.doc)?
If so, then you have to use ActiveX. Do a search on Word doc ActiveX and look at some of the code examples that were posted. You'll have to extract the unformatted text information (basically the text you are interested in).
R
02-10-2009 07:47 AM
Actually, you have another thread on this topic. Please keep the discussion to one single thread.
Someone posted an example for you in your other thread here
02-10-2009 08:14 AM
JoeLabView wrote:
Someone posted an example for you in your other thread here
It is me [Partha], Joe... !
After some really long time, today I spent my time hooked to the forums.
02-12-2009 08:05 AM - edited 02-12-2009 08:11 AM
parthabe wrote:After some really long time, today I spent my time hooked to the forums.
Really, after a long time, am seeing you LabVIEW tigers fighting to help people.
Ben, JLV, MikeS81, Altenbach, Smercurio, Dennis, Tst, Ravens Fan, Mikeporter....... the list continues.....