LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

LabWINDOWS - Secure communication with internet possible ?

All

Would it be possible to write a labwindows code to communicate securely with the web server ? I want to write a labwindows code to send an URL to a server and read the server response through its HTML or inner text. This is not possible with ActiveX in LabView which was the only way I could do it in LabVIEW. LEt me know if this can be done in LAbwindows or C. IF so, please give me tips on how to accomplish this. Any help would be appreciated.

Thanks

Kudos are the best way to say thanks 🙂
0 Kudos
Message 1 of 3
(3,055 Views)
Hello Maximus,
 
Were you able to get this procedure working with ActiveX in LabVIEW?  If so, you will be able to do the same thing in CVI.  You will have to create an ActiveX Controller and use the various functions in the resulting ActiveX controller that map to the properties/methods you used in LabVIEW.  On the other hand, if ActiveX does not work, you could set up your system to communicate via TCP/IP.  The following tutorial documents how to do this in CVI.  Also, I would suggest taking a look at the various TCP shipping examples in the <cvi directory>/samples/tcp folder.
 
Thanks.
Wendy L
LabWindows/CVI Developer Newsletter
0 Kudos
Message 2 of 3
(3,028 Views)
I finally got it working with LabVIEW. Using ActiveX was easy but there was cacheing and hence a delay between the server and my code. I finally had to loop continuously till the browser was in "Ready state". I used activex only cuz I can do a https. TCP and data socket do not support https.
 
Thanks
 

Kudos are the best way to say thanks 🙂
0 Kudos
Message 3 of 3
(3,025 Views)