Lets say one opens a datasocket connection before entering the while loop. The datasocket read VI has a polymorphic input as the current open connection or URL input. What if within the SAME connection I want to view different HTML page after each iteration of the while loop? You would think I could just pass a string input denoting the URL but the read VI wants a connection input with each iteration of the loop if opening a datasocket connection before entering the loop. So do I just use the read VI in the loop passing a different URL string input & assume LabVIEW is smart enough to close the connection after existing the VI so I don't get memory leak?
My app will have to read a web page & parse HTML contents continuosly. Do you folks suggest opening a datasocket session, reading the contents and explicity closing the datasocket connection with each loop iteration?
Thanks
Robert