LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

labview ActiveX web browser

I attaching a little code snippet.  I've probably asked a similar question in another thread, but I'm not getting the reliability I'm looking for, so I'll ask again.  In my example, XML is returned to the windows shown, but the problem is still the same.   What happens in my system is that I send a message to a radio (via http) that I'm connected to (via ethernet to its IP address) and it responds with XML (usually).  The message POST goes out in one state (of my state machine), then I go to the attached code in another state (ProcessResponse).  I fairly reliably get the XML reponse in the Radio Response window, but sometimes the XML Response window is blank.  I added the 2500ms delay to ensure enough time for the radio to respond, but still the XML is blank sometimes.  I'm not sure if there's an event-driven way to tell me that there's data in the Radio Responses window - I just need a more reliable method of knowing when there is data to grab/parse.

 

 

0 Kudos
Message 1 of 2
(3,702 Views)
Is it possible to do a similar thing with .NET ?
0 Kudos
Message 2 of 2
(3,688 Views)