Andrew,
I am unsure what you mean by merge cells. Could you please be
more specific? If you meant that you would like to combine cell
values with a math function, that is certainly no problem to do
programmatically. You would either reassign the values of each
cell, or create a new channel and combine each necessary cell into the
cell of the new channel.
Unfortunately, you cannot change the color of individual cells.
As a workaround, you can create a decoration box as a background
piece. The decoration box can be set to a solid fill color and
placed behind your cell. This is not an ideal solution, and is
probably only practical if you would like to highlight a small number
of cells. If you would like to create a Rectangle Object
programmatically, then set the color, this would be the code:
Call GraphObjNew("FreeFrame", "MyFrame")
Call GraphObjOpen("MyFrame")
AreaBackColor = "other colors"
AreaBackRGB = RGB(255, 255, 200)
Call GraphObjClose("MyFrame")
Call PICUPDATE()
Regards,
Tyler Tigue
Applications Engineer
National Instruments