LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

You are given any file format.can we convert it into text file in labview

Solved!
Go to solution

hi...

         can we convert any file format(pdf,.doc etc) into a text file using labview ? i will be thankful if you provide me with the answer

 

0 Kudos
Message 1 of 13
(4,016 Views)
Solution
Accepted by topic author vamsi v

Hi vamsi v,

if you know the file format, then you can write a converter with LabVIEW. For the doc format you can use ActiveX to read the content. There should also be an ActiveX support for pdf.

 

Hope it helps.

Mike

Message 2 of 13
(4,004 Views)
Trying to write your own converter will be tedious, and unless it's a learning exercise for you, it's really not worth the effort. You could use ActiveX, but I would recommend spending some time with Google and searching for these converters. A lot of them have command-line based versions that can be easily called from LabVIEW using System Exec. This would require no messing around with ActiveX.
Message 3 of 13
(3,981 Views)

hi Mike can i have an example for this post:

 

Hi vamsi v,

if you know the file format, then you can write a converter with LabVIEW. For the doc format you can use ActiveX to read the content. There should also be an ActiveX support for pdf.

 

Hope it helps.

Mike

 

Thank you

0 Kudos
Message 4 of 13
(3,694 Views)

In which part you are asking support? In converter side? In activex for doc? In activex for pdf? Post in bit detail.

 

Mathan

0 Kudos
Message 5 of 13
(3,682 Views)

In activex for pdf can i have simple example how to use active x for the pdf.. please

 

Thank you

 

Jeya

0 Kudos
Message 6 of 13
(3,652 Views)

jeyanthi wrote:

In activex for pdf can i have simple example how to use active x for the pdf.. please

 

Thank you

 

Jeya


See Display a PDF document in a LabVIEW dialog.

Message 7 of 13
(3,643 Views)

Hi thanks for the help

 

but when i open the vi in labview 8.0 ..it  shows some error..it can't detect the invoke node..pls help thank you

0 Kudos
Message 8 of 13
(3,633 Views)
You are likely using a newer version of Acrobat than what the example used. You will need to open the subVI that is the dialog VI (Display PDF in Dialog.VI), right-click on the ActiveX container on the front panel, select Insert ActiveX Object..., and then in the popup select the Adobe PDF Reader control. You will need to then go into the block diagram and re-select the methods that had been selected so they can be relinked to the new class.
Message 9 of 13
(3,609 Views)

hi Jaya,

 

 Here is the VI which is working in LV 8.6. Don't forget to press kudo,

 

Regards

rams

0 Kudos
Message 10 of 13
(3,540 Views)