LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

dynamic image on web service & web Ui bulider

How i can publicar a dynamic image on web service?

i wnt to use this image on UI bulider on NI.

thanks

0 Kudos
Message 1 of 6
(2,572 Views)

An option could be to use an image and media control (http://zone.ni.com/reference/en-XX/help/373286A-01/uibuilderenv/wuib_fp_image/) on the client (silverlight) side.

In your code you can reload periodically the image.

 

If the image file is updated on the server by a server-side application, I think you have what you are looking for.

 

Regards,

Marco

 

 

 

 

 

 

 

 

0 Kudos
Message 2 of 6
(2,552 Views)

thanks for your answer.

first the link not found 

second how i can define a dynamic image with labview web service? only option i see it is define a static file or functions write with labview.

my problem is i have a application with labview which control a camera (by changing the orientation and zoom ), i want to control this camera with internet explorer that the user change the parameter of camera when he change parameter of camera refresh the image.

0 Kudos
Message 3 of 6
(2,549 Views)

Sorry for the link: just remove the ")" to use it (anyhow there's not much in Labview Web UI Builder Manual),

 

The source file of an image object in Labview Web UI Builder can be accessed in the block diagram.

If you want,  you can retrieve the name of the file from a web-service and assign it as a file source to the object.

 

My proposal was to keep the file name fixed (e.g. lastpicture.png) and simply update the file on the server.

 

Regards,

Marco

0 Kudos
Message 4 of 6
(2,543 Views)

Safar,

 

What you are trying to do is a very common question and unfortunately not very well supported in LabVIEW.

 

You can, as Marco suggested, simply overwrite a static file that you display.  However, you will have to make sure that WebUI updates the picture display periodically or you will have to refresh the page yourself.

 

The way I've done this in the past (though I'm not proud of it) is by using Remote Front Panels.  If you create a Remote Front Panel with an IMAQ image display on it, you can view your camera's output in a supported web browser and also build in buttons to control the camera.

Chris
Certified LabVIEW Architect
Certified TestStand Architect
0 Kudos
Message 5 of 6
(2,531 Views)

Hoe i can configurate Web UI Bulider to refresh image periodically?

i am changing the pulish image periodically i can see this change on internet explorer when i select reload the page but i don´t know how i do it on web ui bulider

0 Kudos
Message 6 of 6
(2,500 Views)