12-15-2008 02:46 AM
Hi Ni,
I am using SetCellValue.vi from the excel.llb (examples) of NI.
But with some backend logic i am writng Pass to some cells and
Fail to some cells..
Can anybody please let me know how i can add colors for Pass/Fail
i/e Green/Red resp...
Any suggestions are welcomed.
-Suneel.V
12-16-2008 01:08 AM
Hello Suneel,
Yes, you can programmatically change the colors of the cell inside your excel application.
The attached example vi does the same by making ActiveX calls to the Excel Application.
I hope it solves your problem
Regards,
Karun
12-16-2008 01:10 AM
12-16-2008 02:08 AM
Thanks Karun,
I will try to implement the same in my VI's
And will keep updated.
Be in touch
-Suneel.V
12-17-2008 03:17 AM
I tried to implement the same logic in SetCellValue.vi
But i couldnt find an invoke node with name color...
So this is not working for me...
My req is
But the ZIP given by u would update a certail row and column range with either green or red color...
Please reply back ASAP
-Suneel.V
12-23-2008 03:18 AM
Hello Mr. Suneel,
To programatically change the colour in the above VI, you can use the "Value" Property Node of the Color Box.
Right Click the Color Box, choose <Create>, go to Property Node and then Choose Value.
Then after placing the terminal on the Block Diagram, right click it and select "Change to Write" and wire in a constant (Red or Green Colour)
We use Property Nodes to programmatically modify the appearance of front panel objects.
12-24-2008 05:08 AM
Hello Suneel,
Did you try the solution? Do get back to us if you face any other issue.
Thanks.
12-24-2008 05:42 AM
Hi Karun,
I m not working for that project right now.
Will def catch u for the same.
-Suneel.V