Hmi


Recommended Posts

HI,

With win paint I am modifying a conveyor image from the Symbol Library (i.e. to simulate an inclined conveyor). Then I save the file. After that I import the above file in the Symbol Library and I paste the image on my HMI. By evaluating an expression, I change the color of the inclined conveyor (from black to green). I am facing the following problem: when the expression is true, the inclined conveyor becomes green but the background of the image becomes white covering in that way other images nearby. The problem does not exist when i am using images (inclined conveyors) from DAQFactory Symbol Library.

How can I modify images from the Symbol Library and use them on my HMI?

Thanks

Sdk

Link to comment
Share on other sites

That's because the symbols in the symbol library are not bitmap images, but vector graphics.  DAQFactory doesn't support transparent in bitmaps.  You have two choices:

 

1) use the symbol directly.  If all you want to do is incline it, why not just set the rotation parameter in the symbol component?  It will rotate it for you.

2) export the symbol as a WMF, then edit it with a WMF editor instead of Paint.  Illustrator sometimes works as a WMF editor, though I'm not sure about support in the latest releases.  There are other WMF editors on the web for a lot cheaper or free.  WMF is a vector file format.

Link to comment
Share on other sites

  • 5 years later...

You can, technically, paste a WMF graphic directly into DAQFactory.  The problem is that many applications, such as Illustrator, will put both the vector and a bitmap representation in the clipboard, and DAQFactory will prioritize the bitmap.  As such, you'll need to find a WMF editor to run your vector graphic through, opening it in that program, then copying it to the clipboard and pasting into DAQFactory.  We will be enhancing vector support with SVG in a future release.

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.