Jump to content

Help needed for usb camera ​📸


Fotonic

Recommended Posts

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!!

Link to comment
Share on other sites

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
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...