LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Read text from an external program

Solved!
Go to solution

I'm sure this will be a Windows library thing but any help would be great.

 

Here's what I need.

 

In a software project,  I'm executing an FTP server (WSFTP) so the device I'm connecting to can download startup files.

At the moment, the operators have to wait until the device finishes its boot process. They know its finished by reading the text in WSFTP's

text window. What I would like to do is have my program grab this text from WSFTP's text buffer.

 

I'm guessing this will require window and control HWND's. I never was much of a Windows programmer.

 

Any ideas?

0 Kudos
Message 1 of 5
(2,734 Views)

Or perhaps I could implement a simple FTP server in LV?

Message 2 of 5
(2,733 Views)
Solution
Accepted by topic author WayneS1324

sounds like a winning approach!


@WayneS1324 wrote:

Or perhaps I could implement a simple FTP server in LV?


 


"Should be" isn't "Is" -Jay
Message 3 of 5
(2,727 Views)

It depends on the Window type.  If it's an EDIT window, then yes, you can read text back; if it's a picture window, like the LabVIEW help window, then no, you can't read text back.

 

The text window might be a child or grand child window.  You have to find HWND for the top window first.

 

George Zou
0 Kudos
Message 4 of 5
(2,716 Views)

I developed a simple FTP server. Works like a charm!

0 Kudos
Message 5 of 5
(2,685 Views)