I’m trying to make a program in LabVIEW to adjust the brightness of an image.
I’m increasing the brightness by adding a specific value to every red, green and blue value.
I get that value by my moving the slider.
I have made the program with the formula node but it always gives an error.
I hoped you can help me.
Block diagrams:


Error:
Error on line 6 is marked by a ‘#’ character: “…Blue; int truncate(#int value); new“
There’s a function for this shipped with LabVIEW it’s called hilite color:

(this image is a snippet that you drag and drop directly to your VI block diagram)
Ton