LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Custom Digital Watermark

Is there a way to add a custom digital watermark to a labview front panel?  Thanks.
0 Kudos
Message 1 of 6
(3,823 Views)
There is a way, but it won't be easy...

You can put a picture control (or a decoration) as top most object. Now,
there is your watermark! Problem is that this watermark will block all mouse
clicks, so everything behind it will be useless.

You'll have to catch mouse clicks on the picture control, and make the
controls behind it behave like they would if you'd clicked them directly.
This will be very difficult, unless you only have one or two boolean buttons
beneath it. For a numeric, you have to give it key focus when click in it,
but also calculate the text position of the cursor, increment and decrement
if that is where the user clicked, and don't forget about dragging the mouse
to select text!

Then you have the transparency problem... You can apply a mask to an image
in the picture control, but it is either on or off. So you have to make it
look transparent, by alpha blending everything behind the VI with the
picture... A hole new set of problems...

You might try to use GDI functions to draw a picture above the VI. In
general, this works poorly, since the objects disappear when LV updates it's
panel. But in this case, it could work. but if it doesn't, you're lost.

I'm not shy about hacking stuff like this, but in this case, I'll pass.

Perhaps if you explain more about your mmi, we could figure out another
clever scheme. For instance, a watermark over a graph area is a lot
easier...

Regards,

Wiebe.


Message 2 of 6
(3,796 Views)
It's not really a big deal.  I just thought it would be a nicer looking way of alerting a user that the software was special in some way (like it could say beta or trial or somethign like that.)  Thanks though.
0 Kudos
Message 3 of 6
(3,779 Views)

Branching from my partner Wiebe train of thought...

 

If you have a graph there is a plane available to slip a background image into.

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 4 of 6
(3,776 Views)

Here is something that I just found that may be what you are looking for.

 

Right-click on the  FP Scroll bar (either works)

Select properties

Browse for image

Now the FP has the  background image that you selected

 

This feature seems to be in LV 8.2 and newer.

 

I hesitate to post this as this feature will be abused to make ugly front panels.

 

Visualize the Solution

CLA

LabVIEW, LabVIEW FPGA
Message 5 of 6
(3,766 Views)

But this picture will come behind everything on the panel. So unless you
want to load this image dynamically (whichi is buggy) or you want to tile or
strech the image, you might as well use a decoration...

It will be easy for NI to modify this feature so it is an overlay. Or, so it
has an overlay and underlay, like the graphs. Perhaps someone should suggest
this to NI. (I start suggesting new stuff to NI when we can rotate control
text.)

Regards,

Wiebe.


0 Kudos
Message 6 of 6
(3,749 Views)