I found myself getting a little bit frustrated with some of the default colors that would come up in the VIVA waveform tool while I was plotting from the Analog Design Environment (ADE). After working with Kabir, the Product Engineer for VIVA, I discovered that the colors for the waveform defaults are actually being set by ADE. There are a set of probe layers or Y layers in the Display Resource File that ADE cycles through to match up highlighted nets on the schematic with traces in the waveform tool. Setting these colors and line types correctly will define the palette that VIVA will cycle through as it draws traces.
If you are interested in how to set these layer defaults, please watch this short video presentation.
is there a way to specify the number of waveform splits in the viewable window space such that each individual plots don't get squished. The function was present in the old waveform viewer but I haven't been able to find the function in VIVA.
Thank you very much for the information posted above. It helped me a lot in customizing my own viva environment. As a follow up, I want to describe the process that I used to initialize the viva background color. To be honest, I am not a big fan of black backgrounds as it is a little hard on my eyes. I usually prefer something softer like a dark gray so that the contrast between the axes and graph background is not too intrusive.
To set the default background of viva (not wavescan):
1) here is what I tried that did NOT work
a) First, I copied a default 'display.drf' to my cadence directory ~/cads/cadence
b) In the 'drDefineColor' section, I followed the syntax of other colors and created a custom color name called 'tfo1' and set the RGB value to 77,77,77
c) Then, I added a line in my .cdsenv file
viva.rectGraph background string "tfo1"
Everything loaded correctly but the background is still black! which is not what I wanted. Then, I changed the line to
viva.rectGraph background string "darkGray"
and the color changed to gray. This tells me that for some reason, viva does not recognize the custom color name that I set (perhaps due to loading order of the display.drf file compared to .cdsenv?? Your guess is probably better than mine.
I tried different color names listed above and the ones I've tried all works. But that still doesn't allow me to set the color that I wanted. Then it hit me that perhaps the color name can be replaced with HEX values instead.
2) So here is what I tired that did work
a) No need to modify the display.drf file.
b) Just add the following line to the .cdsenv file.
viva.rectGraph background string "#4D4D4D"
and that worked for me. 4Dh = 77d
Let me know if it works for you.
Tahnks! very useful!
Can somebody give an overview of all syntax to customize viva?
Setting the background is a little less complicated.
On an individual waveform basis, go to the menus and select:
Frame -> Edit -> Rect Color Scheme
The choices are Black, White and Gray.
If you want to get really fancy and change it on a permanent basis, you can edit or create a file called .cdsenv in the location where you start the software. Here is the setting for this file.
honeydew is a personal favorite... LOL...
Specifies the background color for the default color scheme in rectangular graphs (Graph-Color Schemes-Default). You can change this in the Graph Attributes dialog box.
wavescan.rectGraph background string "background_color"
Background color in rectangular graphs.
Valid values: Colors available on the palette below.
Thanx for the tip. Is there a way you can change the background to black rather than white? How do you do that?