Jump to content

Recommended Posts

Posted

Hi folks, I have an USB camera connected to a B10 unistream panel, I can successfully capture images and save them to SD card using ladder camera\capture image FB.

After acquisition I would like to show the image on HMI screen but I cannot find a solution.

I am using a fixed image element pointing to external image from SD card and using a string variable as filename. The string variable is populated previously by "capture image" FB.

What am I doing wrong? Is there an example to check for some ispiration?

 

Thanks for support!

 

P.S.: unistream has grown up lately and example programs start to be a bit outdated, it would be great if Unitronics team add some new examples about new functions!!

Posted

Ok, managed to find the problem, here's the solution if others will encounter my difficulty:

"capture image" FB only gives filename of the saved capture, to show the image in a fixed image element filename has to be completed with the folder structure in which it is contained (in this case "Media/Camera/").

  • Like 1
  • Thanks 2

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

This site uses cookies. By clicking I accept, you agree to their use.