LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Screen shot of a 3rd party software

Solved!
Go to solution

A 3rd party software is running in my PC. The display shows reports of components passed or failed and the condition of failure etc. But this report cannot be retrieved as no local copies are stored. For my reference I would like to

1. capture the screen after every update.

2. Retrive the data and write it to a excel. (Is OCR an option?)

 

Any light on this will be very helpful.

0 Kudos
Message 1 of 14
(3,117 Views)

Hi muks,

it should also be possible with windows API. You can get the handle of the control which stores the pass/fail information and read it from there. If this is not possibe, you can use this code to get the image you need:

http://forums.ni.com/ni/board/message?board.id=170&message.id=311290&query.id=1125687#M311290

 

Mike

Message 2 of 14
(3,107 Views)

Hi mike,

 

Thanks for the reply. But the program crashes labview. "Labview encountered a problem and needs to close". I tried it with the lv 8.0 version in the thread. Do you think my lv is corrupted? 

0 Kudos
Message 3 of 14
(3,095 Views)

Hi muks,

it works for me, but here is an alternative. It only reads the image from the clipboard.

 

Mike

Message Edited by MikeS81 on 06-18-2009 11:05 AM
Message 4 of 14
(3,086 Views)

take a look at a program called macro express for automating something like this.

 

http://www.macros.com/

http://www.wintools.com/automation.htm

Message 5 of 14
(3,082 Views)

muks wrote:

Hi mike,

 

But the program crashes labview. "Labview encountered a problem and needs to close". I tried it with the lv 8.0 version in the thread. Do you think my lv is corrupted? 


What is your LV version? Can you post here a screenshot of you LV crash?

- Partha ( CLD until Oct 2024 🙂 )
0 Kudos
Message 6 of 14
(3,069 Views)
AS I mentioned I am using lv 8.0 .
0 Kudos
Message 7 of 14
(3,056 Views)

Hi muks,

can you work with the vi from my second post?

 

Mike

0 Kudos
Message 8 of 14
(3,036 Views)

muks wrote:
AS I mentioned I am using lv 8.0 .

 

I think you did not... Smiley Happy

 

 


muks wrote:

Hi mike,

 

I tried it with the lv 8.0 version in the thread. Do you think my lv is corrupted? 


 

This is why I asked what your LV version is... Smiley Wink

- Partha ( CLD until Oct 2024 🙂 )
0 Kudos
Message 9 of 14
(3,009 Views)

errors.PNG

 

list.PNG

 

 

 

 

In all the subvis I get this error and when i try bypassing the error connection labVIEW crashes.

0 Kudos
Message 10 of 14
(2,963 Views)