LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

web publishing tool: snapshot

When using the web publish tool in the screenshot mode, is there a way to manually locate the snapshot.vi file?

Is this file overwritten at the time interval that the web publish tool is told to update?

 

Thanks. 

0 Kudos
Message 1 of 5
(1,315 Views)

The snapshot feature of the web server can generate images either as png or jpg. In LabVIEW 8.6 and later, the default which is generated by the web publishing tool is the png format. In this mode everything happens in memory so there is no snapshot image file generated.

 

In the jpg mode there is a temporary file, however it is not always the same file and the file is deleted after it is uploaded to the client. I would not recommend trying to use this programmatically.

 

If you need more control over a snapshot of a front panel (and you are using 8.6), I would recommend making a custom web service that takes a picture of a VI's front panel and returns it to the client. Then you would have control over the image.

 

Let us know how it goes.

 

Nathan

Message 2 of 5
(1,307 Views)

Drat....I have version 8.5....but I believe version 8.6 is available to me.

I need labview to somehow to take a screenshot of itself at a regular interval, much the same way that the monitor option in the web  publsihing tool works.

I cant set up labview to run a webserver because the IT guy at the university wont allow it...so I just need the pictures. Any idea?

 

Thanks again. 

0 Kudos
Message 3 of 5
(1,301 Views)

 You can just write a simple VI that takes a snapshot of a VI at regular intervals and saves it to some location. Does it have to be web triggered?

 

Message Edited by NathanK on 03-31-2009 12:19 PM
0 Kudos
Message 4 of 5
(1,286 Views)
It doesnt need to be web triggered. If the VI you have shown can run at the same time as my other VI that I need the screenshots of, this would be perfect.

Thanks.
0 Kudos
Message 5 of 5
(1,276 Views)