LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW - Activex Internet Explorer Communication - Question

Hi

I have a code which can generate a URL(https:\\.....) to talk to a server. The server in turn sends my code a response. I've used ActiveX to enable the communication over a secure network.When I make a change in the URL I send to the server, I expect a different response. However there is a delay in reading that response. If I use the same URL in the web browser I get the correct message. Looks like ActiveX is caching the data. Has anyone faced this problem before and what might be a potential solution ? Thanks for your help.

Thanks

Kudos are the best way to say thanks 🙂
0 Kudos
Message 1 of 4
(3,161 Views)
Hi Maximus,

First I just want to make sure that you understand that LabVIEW 7.1 and previous doesn't support SSL and "https". Check this link for more information:

Does the LabVIEW Web Server support SSL and https?

However, that is probably the reason you chose to use ActiveX to connect to the server. To get an idea of what is causing the issue, I would have to know what ActiveX object/control you are using to connect to the server. Are you sure that the delay is not caused by the ActiveX component itself? Please attach a simplified version of your code for better troubleshooting, thanks.
- Philip Courtois, Thinkbot Solutions

Thinkbot Solutions
0 Kudos
Message 2 of 4
(3,148 Views)
Attached is a snapshot of my program. I think activex might be cacheing. but i am not sure which component. probably the one which tries to navigate the IE - that's my best guess. Let me know if you have suggestions.

Thanks


Kudos are the best way to say thanks 🙂
0 Kudos
Message 3 of 4
(3,144 Views)
Hi Maximus,

This seems to be an issue purely related to the ActiveX object. Have you tried other browser objects than the IWebBrowser2? In case that you can use the IWebBrowser2 from another programming language and get different behavior than in LabVIEW, please let me know, thanks.

Does anyone have any experience with HTTPS through ActiveX?

Have Fun!
- Philip Courtois, Thinkbot Solutions

Thinkbot Solutions
0 Kudos
Message 4 of 4
(3,134 Views)