LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Load all website

Hello !
Tell me, please, how can I get the height of the columns?
If you open the chrome (PKM> look at the code (ctrl + shift + I)), then the height of the columns can be seen. (see 333.jpg)
But in labview I can not get this data.

Tried:
HTTP Client -> Get
DataSocket Read
But with the help of these two methods I get what in the chrome (PCM> view the page code (ctrl + U))

Thanks for any help!
0 Kudos
Message 1 of 11
(4,579 Views)

Hi Sergiv,

 

it seems you look at an entry in the CSS document to that HTML website.

When you want to read those information you need to load and parse the CSS too…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 11
(4,553 Views)
Thanks for your reply.
What tool can I use to load CSS?
0 Kudos
Message 3 of 11
(4,550 Views)

Hi Sergiv,

 

here's the HTML source code (image) of your last message:

check.png

Do you notice this "<link href=…" in line 21?

You can use HTTPGet to read that stylesheet too…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 11
(4,544 Views)

Yes, I noticed. I tried on my example. I looked through all the css, but in no one found information about the columns. Could you tell me how to find them?

site: https://yobit.net/ru/trade/LIZA/RUR

0 Kudos
Message 5 of 11
(4,535 Views)

Hi Sergiv,,

 

your website will load a ton of other resources:

check.png(just a small part of the main HTML)

I'm no expert in modern website design nor in JavaScript, so I guess you will have to look for a lot of files before finding the place of your rectangle definition…

(I guess it has to do with some of the JScript libraries because of the "highchart" description.)

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 6 of 11
(4,529 Views)
In general, the experiments led to the fact that if you save the page on the computer and open it via GET, for example, then the data of the columns is there)
Now just do not know how to save the entire page. Like it does the chrome, for example, through "save as ..."
Tell me how to save the document completely?
0 Kudos
Message 7 of 11
(4,506 Views)

Hi Sergiv,

 

the InternetExplorer allows remote control via ActiveX so you may try to load and save the website through ActiveX nodes…

 

(This will only work with IExplorer as other brwosers Edge or Firefox doesn't support ActiveX remote control.)

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 8 of 11
(4,502 Views)
Does activex have a property for saving the page? Or how conservation is implemented?
0 Kudos
Message 9 of 11
(4,495 Views)

Hi Sergiv,

 

Does activex have a property for saving the page? 

The question is "Does the IExplorer ActiveX interface expose such a method?"

I don't know as I don't use this interface (and never needed so far)…

 

Why do you need to read those style properties anyway?

What is all this good for?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 10 of 11
(4,491 Views)