LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to search a string in all opened html report ?

Hey people .. Sorry to bother U again.. I have a problem again.. and thanks to solve my previous problems...

I want to make an application in which I want to search a result string in all opened Html reports... If I don't want to go to the all desination and search one by one.. Is there any method to search the result in all opened reports at that time..

I am very confulsed .. I have no Idea how I am gonna solve it... If anybody can help.. I would really appreciate that.. Thanks..

0 Kudos
Message 1 of 5
(2,967 Views)
Hi CYBORG,
 
I'm not entirely sure what you mean.  Do you want to search text in open browser windows (internet explorer, firefox...)?  If that's the case, if you know the URL that is currently being displayed in the browser, you can use this URL with the datasocket VIs to read in the html as a string.  You can then search this string with the standard string functions.  I don't think there's any way of getting around having to search the reports one by one though.
 
If this is not your problem, I apologize.  I haven't read your previous posts so I'm not sure what you are doing.
 
Regards,
Justin D
Message 2 of 5
(2,945 Views)

U got it right Justin..

I know where that html reports stored and I can search through it using that path.. with simple string function .. but path is not constantly same..

See.. If I have browsed my reports from many folders to show my boss..  and he wants me to show all the readings with 10.4 V .. I am supposed to search only in Open reports .. so I want that application..

Problem is..  I don't want to search one by one... is there any way that i can get that "10.4V" thing searched in opened contents of the report..

I even don't know that data socket thing.. I haven't been so much with the report thing

I hope u understand my problem..

Thanks for reply

Regards
CYBORG
0 Kudos
Message 3 of 5
(2,939 Views)

Hi CYBORG,

To answer your question, there is no pre-built VI to my knowledge that will search all open browser windows for a line of text.  You could implement this yourself though.  You can use the Windows API functions from our website (below) to get a handle to all open windows.

http://zone.ni.com/devzone/cda/epd/p/id/4935

I think you would be much better off with something like DIAdem though.  This is an application that is made for managing and searching large amounts of data.

Regards,
Justin D

Message 4 of 5
(2,923 Views)
Thanks Justin I have managed that problem..

I am stuck at another one.. If you can help.. I have also posted addressing you in another relavent Thread..

I have a spreadsheet data which has 286*516 Pixels data. Data is 16bit (from which only 12bit is usefull). Each data is a Level of a Pixel. I want to Display Grayscale Image.

I have used 3D Graph to display it and projection XY selected . I am getting My image as grayscale Image but somewhat slow display if I continously run it.

Second Method I tried is Directly "some 2D Graph" ( Sorry I forgot the Name.. I will get it next time) which directly display that 16 bit spreadsheet file. But it has only 255 levels so it didn't utilized my data and resolution is poor.

My doubts are..

1. Is 3D graph method I am using is Actually displaying my 16 bit image.
2. In 3D graph method : Because of that 12 bit format of my data and I had to convert it in 16 bit I am loosing any levels or       
    Resolution ?
3. Is there any way of increasing 255 level to 16bit level 2D Graph method.
4. Is there any method that can display my 16bit information as a image utilizing all my levels.

Please Do me a favor .. thank you
0 Kudos
Message 5 of 5
(2,820 Views)