Hello Again;
I have attached a simplified VI, as per request. Please note that in this example, the PHP script I'm using will not work for you if you try to run it (internal use only), but the idea could be applied to any web page, I suppose. Also, the verification portion (i.e. Verify Snap Issued) is extremely simplistic - that is not the part to worry about.
The main issue is with the "Snapshot URL" page. I haven't tried a whole lot, since my experience with this is pretty much NIL, apart from the web browser examples that NI provides, or that I have found on the Discussion Forums. Things like taking a script specifying "navNoReadFromCache=0x04" (and so on), using the "to variant" converter.
Bottom line is, I need to ensure that when I load a script (or web page, for that matter), that the cache is not accessed, and the information is collected from the original source.
The purpose of this application is as follows:
(1) Send a snapshot command to a camera to take an image. The snapshot command is actually a web-based script that contains a sequence of operands which are delivered to the camera (how is not important, specifically, other than the fact that it is web-based).
(2) The camera sends a we-based reply that acknowledges the snap command has been received and processed. An html "OK" is returned. This is specifically where the problem is. If the web browser is not always updated (hence the Refresh), then whatever the original response was, that is only what is ever seen.
(3) Depending on if the reply was OK or an error, the result send some kind of message to the user.
Insofar as what I have found, the same knowledge base that is listed in an earlier post is what I actually found, which led me to the MSDN website telling me about the navNoReadFromCache flag. Since in the IWebBrowser2 node is a Flag input, I'm assuming that I can somehow wire this to get the effect I am looking for. Insofar as how to wire it up, no clue. Maybe this is the way to go; perhaps there is another method also.
Appreciate any assistance. Thanks!
DJH