Product Documentation
Virtuoso Visualization and Analysis XL User Guide
Product Version IC23.1, November 2023

A


Virtuoso Visualization and Analysis XL Tool Environment Variables

The variables and values that specify the basic behavior of the components of the Virtuoso Visualization and Analysis XL are part of the .cdsenv file. For information about the order in which the tool reads the .cdsenv file, see Creating the .cdsenv File in Chapter 10 of the Cadence Design FrameworkII User Guide.

This appendix describes the Virtuoso Visualization and Analysis XL tool variables in the .cdsenv file. In each entry, the first column is the tool, the second column is the variable, the third column is the data type, and the fourth column contains the value to be used.

In the SKILL mode, you can use the envGetVal and envSetVal functions to retrieve and set the .cdsenv variables in the CIW. For more information on the CIW or the envGetVal and envSetVal functions, see Chapter 2 in the Cadence User Interface SKILL Functions Reference.

The envSetVal settings work for the expressions that are plotted from ADE or from Virtuoso Visualization and Analysis XL when opened in the stand-alone mode. These settings also work for the signals that are plotted when Virtuoso Visualization and Analysis XL is opened in the stand-alone mode. On the other hand, the signals plotted from ADE follow the display.drf settings.

The environment variables for Results Browser and Calculator are included in the .cdsenv file at the following location:

./tools.lnx86/dfII/samples/wavescan/.cdsenv

The environment variables for graph are included in the .cdsenv file at the following location:

./tools.lnx86/dfII/samples/viva/.cdsenv

This chapter includes the following sections that decsribes the environement variable for Virtuoso Visualization and Analysis XL:

Graph Variables

This section describes the environment variables that are used to set the graph properties:

Font String

The font values for Virtuoso Visualization and Analysis XL is displayed in the following format:

Default,10,-1,5,50,0,0,0,0,0

The various fields in the font string are as follows:

<Font family>, <Point size>, <Pixel size>, <Style hint>, <Weight>, <Style>,  <Underline>, <Strikeout>, <Fixed pitch>, <Raw mode>

Point size—Specifies point size of the font. If the font size is specified using pixels, it should be -1.

Pixel size—Specifies pixel size of the font. The font size value is -1 if it is specified using pixels. The pixel size makes the font device dependent. If you want to set the size of the font in a device independent You can use Point size to set the size of the font in a device independent  manner.

Style hint—Specifies the style hint that is used by the font matching algorithm to find an appropriate default family if a selected font family is not available in the system. Style hints are not supported on X11 since this information is not provided by the window system. The value of '5' represents the enumeration:

QFont—Any Style. Any value other than 5 is ignored on X11 based systems, which means on(i.e., essentially on most unix systems).

Weight—Weighting scale for font rendering, which ranges from 0 to 99. This is similar to the scales used in Windows or CSS. A weight of 0 is ultralight and 99 is black.

Following values can be used for this aspect:

Enumeration Value

Light

25

Normal

50

DemiBold

63

Bold

75

Black

87

Style—This aspect describes the different styles of glyphs that are used to display text. Following values are supported for this aspect:

Enumeration Value Description

StyleNormal

0

Normal glyph used in text with no style.

StyleItalic

1

Italic glyph designed for representing the italicized text.

StyleOblique

2

Italic glyph that are typically based on the graphs with no style. However, these glyphs are not fine-tuned for representing italicized text.

Underline—Set the value to 1 if you want to underline the text. Set the value to 0 if you do not want to underline the text.

Strikeout—Set the value to 1 if you want to strikeout the text. Set the value to 0 if you do not want to strikeout the text.

Fixed pitch—Set the value to 1 if you want to set the for the fixed pitch preference. Set the value to 0 if you do not want to set the fixed pitch.

Raw mode—Set the value to 1 if you want to use raw mode for font name matching. Otherwise, set the value to 0. This option is applicable only for the X11 systems. If the raw mode is enabled, the X font with a complete font name that matches with the family name is searched and all other values set for QFont are ignored. If the font name matches multiple fonts, the first font returned by X window system is used.

When you set the font-related environment variables in the .cdsinit using the envSetVal command, you first need to load the viva context before setting the variable. For this, you can add the following command in your .cdsinit file:
loadContext(strcat(prependInstallPath("etc/context/") "viva.cxt"))
callInitProc("viva")

Now, you can use the envSetVal command to set the font variable in the .cdsinit file.

Graph Frame Variables

width

Controls the width of the Graph Window.

Syntax

viva.graphFrame width string "width_pixels"

Values

width_pixels

Width of the graph window

Default:

Valid values: A positive integer

Example

viva.graphFrame width string "1000"

height

Controls the height of the Graph Window.

Syntax

viva.graphFrame height string "height_pixels"

Values

height_pixels

Height of the graph window

Default:

Valid values: A positive integer

Example

viva.graphFrame height string "800"

autoTraceSelect

Specifies whether the tool selects the trace closest to the system cursor.

Syntax

viva.graphFrame autoTraceSelect string "true" | "false"

Values

true

The tool automatically selects the trace closest to the system cursor. This is the default value.

false

The tool does not select a trace automatically.

Example

viva.graphFrame autoTraceSelect string "true"

rightMouseZoom

Specifies whether you can use the right mouse button to zoom your graph.

Syntax

viva.graphFrame rightMouseZoom string "true" | "false"

Values

true

Use the right mouse button to zoom your graph.This is the default value.

false

Use the middle mouse button to zoom your graph. This enables the right mouse pop-up menu in the Graph Window.

Example

viva.graphFrame rightMouseZoom string "false"

selectBySweep

Specifies whether traces from parametric sweeps are selected by family or by individual leaf.

Syntax

viva.graphFrame selectBySweep string "true" | "false"

Values

true

The Trace – Select by Family command is selected.

false

The Trace – Select by Family command is not selected. This is the default value.

Example

viva.graphFrame selectBySweep string "false"

useSplitter

Syntax

viva.graphFrame useSplitter string "true" | "false"

Values

true

This is the default value.

false

Example

viva.graphFrame useSplitter string "true"

title

Specifies the title of the graph window.

viva.graphFrame title string "window_title"

Values

window_title

The title of the graph window.

Example

viva.graphFrame title string "Window"

graphLayoutType

Specifies the subwindow display layout type of the graph window.

viva.graphFrame graphLayoutType string "Auto"

Default Value

Auto

Valid Values

useSpacer

Adds an empty spacer widget to make the number of open subwindows even.


viva.graphFrame useSpacer 'string "
true
"

Default Value

true

Valid Values

background

Controls the background color of the window/subwindow.

viva.graphFrame background 'string "color_value"

Default Value

color_value

The title of the graph window.

Default: black

Valid values: A valid color name, Hex color code, or HTML color code.

Example

viva.graphFrame background string "black"

viva.graphFrame background string "#FFFFFF"

useGradient

Specifies whether the subwindow uses gradient color in the background.

viva.graphFrame useGradient 'string "true" | "false"

Default Value

false

Valid Values

Example

viva.graphFrame useGradient string "false"

linkDepAxes

viva.graphFrame linkDepAxes string {"true" | "false"}

Description

Specifies whether to link dependent axes (y axes) of graphs in the linked subwindows. The default value is true, which indicates that dependent axes (y axes) that have the same base unit are linked together.

GUI Equivalent

The Link Dependent (Y) Axes check box in the Link Options form.

Examples

envGetVal("viva.graphFrame" "linkDepAxes")
envSetVal("viva.graphFrame" "linkDepAxes" 'string "false")

Related Topics

linkIndepAxes

useLinkAxesUnitFilter

linkAxesUnitFilterSet

Linking Graphs in Subwindows

Linking Axes in Subwindows

Unlinking Graphs in Subwindows

linkIndepAxes

viva.graphFrame linkIndepAxes string {"true" | "false"}

Description

Specifies whether to link independent (x) axes of graphs in the linked subwindows. The default value is true, which indicates that independent axes (x axes) that have the same base unit are linked together.

GUI Equivalent

The Link Independent (X) Axes check box in the Link Options form.

Examples

envGetVal("viva.graphFrame" "linkIndepAxes")
envSetVal("viva.graphFrame" "linkIndepAxes" 'string "false")

Related Topics

linkDepAxes

useLinkAxesUnitFilter

linkAxesUnitFilterSet

Linking Graphs in Subwindows

Linking Axes in Subwindows

Unlinking Graphs in Subwindows

useLinkAxesUnitFilter

viva.graphFrame useLinkAxesUnitFilter string {"true" | "false"}

Description

Specifies whether to link only those axes that have the base units specified by the environment variable linkAxesUnitFilterSet. The default value is false, which indicates that the selective linking of dependent and independent axes is disabled.

GUI Equivalent

The Only Link Axes with These Units check box in the Link Options form.

Examples

envGetVal("viva.graphFrame" "useLinkAxesUnitFilter")
envSetVal("viva.graphFrame" "useLinkAxesUnitFilter" 'string "true")

Related Topics

linkDepAxes

linkIndepAxes

linkAxesUnitFilterSet

Linking Graphs in Subwindows

Linking Axes in Subwindows

Unlinking Graphs in Subwindows

linkAxesUnitFilterSet

viva.graphFrame linkAxesUnitFilterSet string "listOfBaseUnits"

Description

Specifies base units of the axes that you want to link together. You can specify multiple base units as a list of comma-separated values. The default value is "".

This environment variable is considered only when the environment variable useLinkAxesUnitFilter is set to true.

GUI Equivalent

The text field below the Only Link Axes with These Units check box in the Link Options form.

Examples

envGetVal("viva.graphFrame" "linkAxesUnitFilterSet")
envSetVal("viva.graphFrame" "linkAxesUnitFilterSet" 'string "V,A,Hz,s")

Related Topics

linkDepAxes

linkIndepAxes

useLinkAxesUnitFilter

Linking Graphs in Subwindows

Linking Axes in Subwindows

Unlinking Graphs in Subwindows

graphMinWidth

viva.graphFrame graphMinWidth string "minimumWidthOfSubwindow"

Description

Specifies the minimum width of subwindows in a new graph window. The default value is 250.

GUI Equivalent

The Subwindow Minimum Size Width field in the Window Properties form.

Examples

envGetVal("viva.graphFrame" "graphMinWidth")
envSetVal("viva.graphFrame" "graphMinWidth" 'string "250")

Related Topics

The Window Properties Form

graphMinHeight

viva.graphFrame graphMinHeight string "minimumHeightOfSubwindow"

Description

Specifies the minimum height of subwindows in a new graph window. The default value is 250.

GUI Equivalent

The Subwindow Minimum Size Height field in the Window Properties form.

Examples

envGetVal("viva.graphFrame" "graphMinHeight")
envSetVal("viva.graphFrame" "graphMinHeight" 'string "300")

Related Topics

The Window Properties Form

Graph Environment Variables

Rectangular Graphs Environment Variables

Strip Environment Variables

Digital Strip Environment Variables

Circular Graph Environment Variables

legendPosition

viva.circGraph legendPosition string {"above" | "left" | "inside"}

Description

Specifies the position of the trace legend in a circular graph. The valid values are as follows:

GUI Equivalent

Command

The Graph Options tab of the Circular Graph Properties form.

Field

Legend Position

Examples

envGetVal("viva.circGraph" "legendPosition")
envSetVal("viva.circGraph" "legendPosition" 'string "above")
envSetVal("viva.circGraph" "legendPosition" 'string "inside")

Related Topics

Editing Circular Graph Properties

plotToSmithView

viva.circGraph plotToSmithView string {"true" | "false"}

Description

Specifies how a Smith chart is plotted initially. Valid values are as follows:

If a compressed Smith grid is required to show data, the initial plot shows the full extent of the compressed Smith regardless of the value of this environment variable.

GUI Equivalent

None

Examples

envGetVal("viva.circGraph" "plotToSmithView")
envSetVal("viva.circGraph" "plotToSmithView" 'string "false")

showFreqFilterBar

viva.circGraph showFreqFilterBar string {"false" | "true"}

Description

Specifies whether to show the frequency filter bar in a circular graph window or subwindow. The valid values are as follows:

GUI Equivalent

Command

The Graph Options tab of the Circular Graph Properties form.

Field

Show Frequency Filter

Examples

envGetVal("viva.circGraph" "showFreqFilterBar")
envSetVal("viva.circGraph" "showFreqFilterBar" 'string "true")

Related Topics

Editing Circular Graph Properties

Filtering Data Using the Frequency Slider Bar

traceMarkerDisplay

viva.circGraph traceMarkerDisplay string formatOfTraceMarker

Description

Specifies the format in which trace marker values are displayed. The possible values are as follows:

The default value is an empty string, which indicates that the information displayed in the label of a tracking marker depends upon the type of circular grid:

GUI Equivalent

Command

The Markers tab of the Graph Properties form for circular graph.

Field

Tracking Format (Trace)

Examples

envGetVal("viva.circGraph" "traceMarkerDisplay")
envSetVal("viva.circGraph" "traceMarkerDisplay" 'string "%Z, %P")
envSetVal("viva.circGraph" "traceMarkerDisplay" 'string "%Z %P")
envSetVal("viva.circGraph" "traceMarkerDisplay" 'string "(%Z) %P")

Related Topics

Editing Circular Graph Properties

Axis Environment Variables

Dependent Axis Environment Variables

labelAngle

Specifies the angle through which labels of the dependent axis are rotated.

In .cdsenv:

viva.depAxis labelAngle string "0"

In .cdsinit or the CIW:

envSetVal("viva.depAxis" "labelAngle" 'string "0")

Valid Values:

0360

A string value specifying the angle

Default Value:

"0"

GUI Equivalent:

Label Angle field on the Dependent Axis Properties form.

Independent Axis Environment Variables

labelAngle

Specifies the angle through which labels of the independent axis are rotated.

In .cdsenv:

viva.indepAxis labelAngle string "0"

In .cdsinit or the CIW:

envSetVal("viva.indepAxis" "labelAngle" 'string "0")

Valid Values:

0360

A string value specifying the angle

Default Value:

"0"

GUI Equivalent:

Label Angle field on the Independent Axis Properties form.

String Independent Axis Environment Variables

Trace Environment Variables

Trace Legend Environment Variables

showVisColumn

Controls the display of the column containing the visibility buttons for each signal plotted on the graph.

Syntax

viva.traceLegend showVisColumn string "true"

Default Value

true

Valid Values

font

Sets the font for the trace legend.

Syntax

viva.traceLegend font string ""

Default Value

The font currently in use.

Valid values

viva.traceLegend font string "Default,18,-1,5,55,0,0,0,0,0"

For more details, see Font String.

printSaveImageFont

Sets the font for saving and printing the graph image.

This environment variable does not work if you choose the Render exactly as screen option in the Save Image form.

Syntax

viva.traceLegend printSaveImageFont string ""

Default Value

The font currently in use.

Valid Values

Default,18,-1,5,55,0,0,0,0,0

For more details, see Font String.

showTraceTooltips

Determines whether to display tooltips when you move the mouse pointer over trace names in the trace legend.

Syntax

viva.traceLegend showTraceTooltips string "true"

Default Value

true

Valid Values

Digital Trace Environment Variables

Digital Bus Trace Environment Variables

font

viva.digitalBusTrace font string "fontProperties"

Description

Specifies the font properties of the bus values. The font string lists the following properties:

Font family, Point size, Pixel size, Style hint, Weight, Style, Underline, Strikeout, Fixed pitch, Raw mode

The default value is "Default,8,-1,5,50,0,0,0,0,0"

The description of these font properties are as follows:

GUI Equivalent

The Value Font field in the Digital Bus Trace Properties for nameOfBus form.

Examples

envGetVal("viva.digitalBusTrace" "font")
envSetVal("viva.digitalBusTrace" "font" 'string "Default,10,-1,5,50,0,1,1,0,0")

Histogram Environment Variables

Horizontal Marker Environment Variables

This section describes the environment variables for horizontal marker:

font

Specifies the font of the horizontal marker.

Syntax

viva.horizMarker font string "Default,10,-1,5,50,0,0,0,0,0" 

Valid Values

See Font String.

notation

Specifies the notation of the horizontal marker.

Syntax


viva.horizMarker notation string "
suffix
" 

Default Value

Suffix

Valid Values

defaultLabel

Specifies the default label of the horizontal marker.

Syntax


viva.horizMarker defaultLabel string "%M" 

Default Value

Valid Values

For information about valid values, see Adding a Point Marker.

foreground

Specifies the foreground color of the horizontal marker.

Syntax


viva.vertMarker foreground string "black" 

Default Value

black

Valid Values

All the values defined at the following location:

http://www.w3.org/TR/SVG/types.html#ColorKeywords

interceptStyle

Specifies the intercept style of the horizontal marker. This variable also controls the visibility of axes intercepts.

Syntax


viva.horizMarker interceptStyle string "OnWhenHover" 

Default Value

OnWhenHover

Displays the intercepts when you hover mouse pointer on the horizontal marker.

Valid Values

lineStyle

Specifies the line style of the horizontal marker.

Syntax


viva.horizMarker lineStyle string "dash" 

Default Value

dash

Valid Values

maxIntercepts

viva.horizMarker maxIntercepts string numberOfMaxIntercepts

Description

Specifies the maximum number of intercepts displayed by a horizontal marker. The default value is 20. You can specify any integer value between 0200.

GUI Equivalent

The Max Intercepts field in the Horizontal Marker Properties for markerName form.

Examples

envGetVal("viva.horizMarker" "maxIntercepts")
envSetVal("viva.horizMarker" "maxIntercepts" 'string "4")

significantDigits

Specifies the significant digits for the horizontal marker.

viva.horizMarker significantDigits string "4"

Default value

4

Valid Values

Any integer value.

sigDigitsMode

Sets the mode to be used to specify significant digits. When this variable is set to Manual, the settings defined in the significantDigits variable is applied. When it is set to Auto, the default value for significantDigits is used.

viva.horizMarker sigDigitsMode string "Auto"

Default Value

Auto

Valid Values

Manual

snapPoint

Specifies the snap data point of the horizontal marker.

Syntax


viva.horizMarker snapPoint string "Data Point" 

Default Value

Data Point: Shifts the marker to a specific data point on the curve.

Valid Values

Reference Line Marker Environment Variables

This section describes the environment variables for reference line marker:

font

Specifies the font of the Reference Line marker.

Syntax

viva.
referenceLineMarker
 font string "Default,10,-1,5,50,0,0,0,0,0" 

Valid Values

See Font String.

interceptStyle

Specifies the intercept style of the reference line marker.

Syntax


viva.referenceLineMarker interceptStyle string "off" 

Valid Values

lineStyle

Specifies the line style of the reference line marker.

Syntax


viva.referenceLineMarker lineStyle string "Dot" 

Default Value

Dot

Valid Values

foreground

Specifies the foreground color of the reference line marker.

Syntax


viva.referenceLineMarker foreground string "aquamarine" 

Default Value

aquamarine

Valid Values

All the values defined at the following location:

http://www.w3.org/TR/SVG/types.html#ColorKeywords

defaultLabel

Specifies the default label of the vertical marker.

Syntax


viva.referenceLineMarker defaultLabel string "%Y" 

Default Value

Valid Values

For information about valid values, see Adding a Point Marker.

significantDigits

Specifies the significant digits for the reference line marker.

viva.referenceLineMarker significantDigits string "4"

Default value

4

Valid Values

Any integer value

sigDigitsMode

Sets the mode to be used to specify significant digits. When this variable is set to Manual, the settings defined in the significantDigits variable is applied. When it is set to Auto, the default value for significantDigits is used.

viva.referenceLineMarker sigDigitsMode string "Auto"

Default Value

Auto

Valid Values

Manual

Vertical Marker Environment Variables

This section describes the environment variables for vertical marker:

font

Specifies the font of the Vertical marker.

Syntax

viva.
vertMarker
 font string "Default,10,-1,5,50,0,0,0,0,0" 

Valid Values

See Font String.

notation

Specifies the notation of the vertical marker.

Syntax


viva.vertMarker notation string "
suffix
" 

Default Value

Suffix

Valid Values

defaultLabel

Specifies the default label of the vertical marker.

Syntax


viva.vertMarker defaultLabel string "%M" 

Default Value

Valid Values

For information about valid values, see Adding a Point Marker.

foreground

Specifies the foreground color of the vertical marker.

Syntax


viva.vertMarker foreground string "black" 

Default Value

black

Valid Values

All the values defined at the following location:

http://www.w3.org/TR/SVG/types.html#ColorKeywords

interceptStyle

Specifies the intercept style of the vertical marker. This variable also controls the visibility of axes intercepts.

Syntax


viva.vertMarker interceptStyle string "OnWhenHover" 

Default Value

OnWhenHover: Displays the intercepts when you hover mouse pointer on the vertical marker.

Valid Values

lineStyle

Specifies the line style of the vertical marker.

Syntax


viva.vertMarker lineStyle string "dash" 

Default Value

dash

Valid Values

maxIntercepts

viva.vertMarker maxIntercepts string numberOfMaxIntercepts

Description

Specifies the maximum number of intercepts displayed by a vertical marker. The default value is 20. You can specify any integer value between 0200.

GUI Equivalent

The Max Intercepts field in the Vertical Marker Properties for markerName form.

Examples

envGetVal("viva.vertMarker" "maxIntercepts")
envSetVal("viva.vertMarker" "maxIntercepts" 'string "4")

significantDigits

Specifies the significant digits for the vertical marker.

viva.vertMarker significantDigits string "4"

Default value

4

Valid Values

Any integer value

sigDigitsMode

Sets the mode to be used to specify significant digits. When this variable is set to Manual, the settings defined in the significantDigits variable is applied. When it is set to Auto, the default value for significantDigits is used.

viva.vertMarker sigDigitsMode string "Auto"

Default Value

Auto

Valid Values

Manual

snapPoint

Specifies the snap data point of the vertical marker.

Syntax


viva.vertMarker snapPoint string "Data Point" 

Default Value

Data Point: Shifts the marker to a specific data point on the curve.

Valid Values

Point Marker Environment Variables

This section describes the environment variables for point marker:

font

Specifies the font of the point marker.

Syntax

viva.
pointMarker
 font string "Default,10,-1,5,50,0,0,0,0,0" 

Valid Values

See Font String.

notation

Specifies the notation of the point marker.

Syntax


viva.pointMarker notation string "suffix" 

Default Value

suffix

Valid Values

defaultLabel

Specifies the default label of the point marker.

Syntax


viva.pointMarker defaultLabel string "%M: %X %Y %D" 

Default Value

Valid Values

For information about valid values, see Adding a Point Marker.

foreground

Specifies the foreground color of the point marker.

Syntax


viva.pointMarker foreground string "black" 

Default Value

black

Valid Values

All the values defined at the following location:

http://www.w3.org/TR/SVG/types.html#ColorKeywords

significantDigits

Specifies the significant digits for the point marker.

viva.pointMarker significantDigits string "4"

Default value

4

Valid Values

Any integer value

sigDigitsMode

Sets the mode to be used to specify significant digits. When this variable is set to Manual, the settings defined in the significantDigits variable is applied. When it is set to Auto, the default value for significantDigits is used.

viva.pointMarker sigDigitsMode string "Auto"

Default Value

Auto

Valid Values

Manual

snapPoint

Specifies the snap point of the point marker.

Syntax


viva.pointMarker snapPoint string "Data Point" 

Default Value

Data Point    Shifts the marker to a specific data point on the curve.

Valid Values

drawCrossHairs

Specifies whether to display the X and Y intercepts for point markers in the graph.

Syntax


viva.pointMarker drawCrossHairs string "Dynamic" 

Default Value

Valid Values

circDefaultLabel

Specifies the default label of the point marker on a circular graph.

Syntax


viva.pointMarker circDefaultLabel string "%M: %F (%Z)" 

Default Value

An empty string, which indicates that the information displayed in the label of a point marker depends upon the type of circular grid:

Valid Values

For information about all the valid values, see Adding a Point Marker.

Reference Point Marker Environment Variables

This section describes the environment variables for reference point marker:

font

Specifies the font of the reference point marker.

Syntax

viva.
refPointMarker
 font string "Default,10,-1,5,50,0,0,0,0,0" 

Valid Values

See Font String.

notation

Specifies the notation of the reference point marker.

Syntax


viva.refPointMarker notation string "suffix" 

Default Value

suffix

Valid Values

foreground

Specifies the foreground color of the reference point marker.

Syntax


viva.refPointMarker foreground string "black" 

Default Value

black

Valid Values

All the values defined at the following location:

http://www.w3.org/TR/SVG/types.html#ColorKeywords

defaultLabel

Specifies the default label of the reference point marker.

Syntax


viva.refPointMarker defaultLabel string "%X %Y" 

Default Value

Valid Values

For information about valid values, see Adding a Point Marker.

circDefaultLabel

Specifies the circular default label of the reference point marker.

Syntax


viva.refPointMarker circDefaultLabel string "%F (%Z)" 

Default Value

%F (%Z)

Valid Values

For information about valid values, see Adding a Point Marker.

drawCrossHairs

Specifies whether to display the X and Y intercepts for reference point markers in the graph.

Syntax


viva.refPointMarker drawCrossHairs string "Dynamic" 

Default Value

Valid Values

significantDigits

Specifies the significant digits for the reference point marker.

viva.refPointMarker significantDigits string "4"

Default value

4

Valid Values

Any integer value

sigDigitsMode

Sets the mode to be used to specify significant digits. When this variable is set to Manual, the settings defined in the significantDigits variable is applied. When it is set to Auto, the default value for significantDigits is used.

viva.refPointMarker sigDigitsMode string "Auto"

Default Value

Auto

Valid Values

Manual

Specification Marker Environment Variables

This section describes the environment variables for specification marker:

font

Specifies the font of the spec marker.

Syntax

viva.
specMarker
 font string "Default,10,-1,5,50,0,0,0,0,0" 

Valid Values

See Font String.

passcolor

Specifies the color of the pass region of the spec marker.

Syntax


viva.specMarker passcolor string "#00CC00" 

Default Value

#00CC00

Valid Values

All values defined at the following location:

http://www.w3.org/TR/SVG/types.html#ColorKeywords

Color values are specified in the #RRGGBB format. For example, the cyan color in RGB format is (0,255, 255) and in hexadecimal format, it is written as #00FFFF.

failcolor

Specifies the color of the fail region of the spec marker.

Syntax


viva.specMarker failcolor string "#CC0000" 

Default Value

#CC0000

Valid Values

All values defined at the following location:

http://www.w3.org/TR/SVG/types.html#ColorKeywords

Color values are specified in the #RRGGBB format. For example, the cyan color in RGB format is (0,255, 255) and in hexadecimal format, it is written as #00FFFF.

lineStyle

Specifies the line style of the spec marker.

Syntax


viva.specMarker lineStyle string "solid" 

Default Value

solid

Valid Values

lineThickness

Specifies the line thickness of the spec marker.

Syntax


viva.specMarker lineThickness string "medium" 

Default Value

medium

Valid Values

lineColor

Specifies the line color of the spec marker.

Syntax


viva.specMarker lineColor string "white" 

Default Value

white

Valid Values

displayMode

Specifies the spec marker region display mode of the spec marker.

Syntax


viva.specMarker displayMode string "both" 

Default Value

both

Valid Values

significantDigits

Specifies the significant digits for the specification marker.

viva.specMarker significantDigits string "4"

Default value

4

Valid Values

Any integer value

showLabel

Displays the spec marker labels on the graph.

Syntax


viva.specMarker showLabel string "true" 

Default Value

true

Valid Values

rule

Sets the specifictaion type to be used for the spec marker.

Syntax


viva.specMarker rule string "range" 

Default Value

range

Valid Values

type

Specifies whether the specification type of spec waveform is drawn normally or in a sampleHold style.

Syntax


viva.specMarker type string "line" 

Default Value

line

Valid Values

visibility Mode

Specified whether to display specification markers on the graph.

Syntax

viva.specMarker visibilityMode string "OnWhenSelected"

Default Value

OnWhenSelected

Valid Values

Intercept Marker Environment Variables

This section describes the environment variables for Intercept marker:

foreground

Specifies the foreground color of the intercept marker.

Syntax


viva.interceptMarker foreground string "black" 

Default Value

black

Valid Values

All the values defined at the following location:

http://www.w3.org/TR/SVG/types.html#ColorKeywords

lineStyle

Specifies the line style of the intercept edge marker.

Syntax


viva.interceptMarker lineStyle string "solid" 

Default Value

solid

Valid Values

Circle Marker Environment Variables

This section describes the environment variables for circular marker:

font

Specifies the font of the circular marker.

Syntax

viva.
circleMarker
 font string "Default,10,-1,5,50,0,0,0,0,0" 

Valid Values

See Font String.

notation

Specifies the notation of the circular marker.

Syntax


viva.circleMarker notation string "suffix" 

Default Value

suffix

Valid Values

Engineering

defaultLabel

Specifies the mnemonic label for the circular markers.

Syntax


viva.circleMarker defaultLabel string "%M: %X %Y" 

Default Value

Valid Values

For information about valid values, see Adding a Point Marker.

foreground

Specifies the foreground color of the circular marker.

Syntax


viva.cicleMarker foreground string "red" 

Default Value

red

Valid Values

All the values defined at the following location:

http://www.w3.org/TR/SVG/types.html#ColorKeywords

background

Specifies the background color of the circular marker.

Syntax


viva.circleMarker background string "#8e8a8e" 

Default Values

#8e8a8e

Valid Values

All the values defined at the following location:

http://www.w3.org/TR/SVG/types.html#ColorKeywords

Delta Marker Environment Variables

This section describes the environment variables for delta markers:

foreground

Specifies the foreground color of the delta marker.

Syntax


viva.multiDeltaMarker foreground string "black" 

Default Value

black

Valid Values

All the values defined at the following location:

http://www.w3.org/TR/SVG/types.html#ColorKeywords

notation

Specifies the notation of the delta marker.

Syntax


viva.multiDeltaMarker notation string "suffix" 

Default Value

suffix

Valid Values

showChildLabels

Shows or hides marker labels for the delta markers.

Syntax


viva.multiDeltaMarker showChildLabels string "true" 

Values

defaultLabel

Specifies the mnemonic label for the delta markers.

Syntax


viva.multiDeltaMarker defaultLabel string "[dx:%W] [dy:%H] [s:%S]"

Default Value

[dx:%W] [dy:%H] [s:%S]

where,

Valid Values

For information about valid values, see Adding a Point Marker.

significantDigits

Specifies the significant digits for the delta marker.

viva.multiDeltaMarker significantDigits string "4"

Default value

4

Valid Values

Any integer value

sigDigitsMode

Sets the mode to be used to specify significant digits. When this variable is set to Manual, the settings defined in the significantDigits variable is applied. When it is set to Auto, the default value for significantDigits is used.

viva.multiDeltaMarker sigDigitsMode string "Auto"

Default Value

Auto

Valid Values

Manual

deltaMeasure

Determines the axis for which the delta measurement values are to be displayed in the delta marker label. Valid values of this variable include the change in X-axis value, Y-axis value, or both X- and Y-axes values. You can also use the delta marker properties form to control the display of these measurement values.

In addition, Virtuoso Visualization and Analysis XL controls the display of these measurement values depending on the markers between which the delta marker is created. For example, if a delta marker is created between two or more vertical markers, then only the change in X-axis value is displayed.

Syntax

viva.multiDeltaMarker deltaMeasure string "X Only"

Default Value

X Only

Valid Values

Transient Edge Markers Environment Variables

This section describes the environment variables for transient edge markers:

defaultLabel

viva.transEdgeMarker defaultLabel string defaultLabel

Description

Specifies the default label for the transient edge marker. The default value is "%M", which indicates that the default label for the transient edge marker is the shorthand name of the edge marker.

The shorthand name of an edge marker is E: edgeNumber. For example, if you apply a transient marker on the first edge of a trace, the default label is E:1. If you apply a transient marker on the fourth edge of a trace, the default label is E:4.

GUI Equivalent

None

Examples

envGetVal("viva.transEdgeMarker" "defaultLabel")
envSetVal("viva.transEdgeMarker" "defaultLabel" 'string "%M")

significantDigits

viva.transEdgeMarker significantDigits string numberOfSignificantDigits

Description

Specifies the number of significant digits for the transient edge marker. The default value is "4".

GUI Equivalent

The Significant Digits field on the Transient Edge Marker Properties for Edge edgeNumber form.

Examples

envGetVal("viva.transEdgeMarker" "significantDigits")
envSetVal("viva.transEdgeMarker" "significantDigits" 'string "3")

font

viva.transEdgeMarker font string fontProperties

Description

Specifies the font properties of the transient edge marker. The default value is "Default,10,-1,5,50,0,0,0,0,0".

For more information about the format of the font properties, see Font String.

GUI Equivalent

The Font/Color field on the Transient Edge Marker Properties for Edge edgeNumber form.

Examples

envGetVal("viva.transEdgeMarker" "font")
envSetVal("viva.transEdgeMarker" "font" 'string "Default,20,-1,5,50,0,0,0,0,0")

notation

viva.transEdgeMarker notation string {"suffix" | "engineering" | "scientific"}

Description

Specifies the notation to be used in the transient edge marker. The default value is "suffix".

Possible values are: suffix, engineering, and scientific.

GUI Equivalent

The Notation field on the Transient Edge Marker Properties for Edge edgeNumber form.

Examples

envGetVal("viva.transEdgeMarker" "notation")
envSetVal("viva.transEdgeMarker" "notation" 'string "scientific")

threshold

viva.transEdgeMarker threshold string {"10_90" | "20_80" | "30_70"}

Description

Specifies the threshold levels of signal where the transient edge marker is applied on the rising or the falling edge of the signal. The default value is "20_80".

GUI Equivalent

Examples

envGetVal("viva.transEdgeMarker" "threshold")
envSetVal("viva.transEdgeMarker" "threshold" 'string "10_90")
envSetVal("viva.transEdgeMarker" "threshold" 'string "30_70")

foreground

viva.transEdgeMarker foreground string foregroundColor

Description

Specifies the foreground color of the transient edge marker. The default value is "black".

GUI Equivalent

The Foreground field on the Transient Edge Marker Properties for Edge edgeNumber form.

Examples

envGetVal("viva.transEdgeMarker" "foreground")
envSetVal("viva.transEdgeMarker" "foreground" 'string "red")

lineStyle

viva.transEdgeMarker lineStyle string {"dash" | "solid" | "dot" | "dashdot" | "dashdotdot"}

Description

Specifies the line style of the transient edge marker. The default value is "solid".

Possible values are: dash, solid, dot, dashdot, and dashdotdot.

GUI Equivalent

None

Examples

envGetVal("viva.transEdgeMarker" "lineStyle")
envSetVal("viva.transEdgeMarker" "lineStyle" 'string "dashdotdot")

showMeasSummary

viva.transEdgeMarker showMeasSummary string {"on when hover" | "on" | "off"}

Description

Specifies when to show the measurement labels on the transient edge marker.

Possible values are:

GUI Equivalent

Examples

envGetVal("viva.transEdgeMarker" "showMeasSummary")
envSetVal("viva.transEdgeMarker" "showMeasSummary" 'string "on")

snapPoint

viva.transEdgeMarker snapPoint string snapPoint

Description

Specifies the snap point of the transient edge marker. The default value is "Data Point".

GUI Equivalent

None

Examples

envGetVal("viva.transEdgeMarker" "snapPoint")
envSetVal("viva.transEdgeMarker" "snapPoint" 'string "Data Point")

Graph Label Environment Variables

Probe Environment Variables

Polar Grid Environment Variables

Smith Grid Environment Variables

The Smith grid environment variables are used to define properties of the Smith grid. The Smith grid environment variables are identified by the partition name viva.smithGrid.

font

viva.smithGrid font string "fontProperties"

Description

Specifies the font properties for the labels on the Smith grid in a string format. The font string lists the following properties:

Font family, Point size, Pixel size, Style hint, Weight, Style, Underline, Strikeout, Fixed pitch, Raw mode

The description of these font properties are as follows:

GUI Equivalent

The Font field in the Labels section on the Grid tab of the Graph Properties form for the circular graphs. This field is not available for Polar grids.

Examples

envGetVal("viva.smithGrid" "font")
envSetVal("viva.smithGrid" "font" 'string "Default,10,-1,5,50,0,1,1,0,0")

autoSizeLabels

viva.smithGrid autoSizeLabels string {"true" | "false"}

Description

Specifies whether to automatically adjust the font size for the Smith grid labels.

Valid values are:

GUI Equivalent

The Text Size field in the Labels section on the Grid tab of the Graph Properties form for the circular graphs. This field is not available for Polar grids.

Examples

envGetVal("viva.smithGrid" "autoSizeLabels")
envSetVal("viva.smithGrid" "autoSizeLabels" 'string "false")

showDetailed

viva.smithGrid showDetailed string {"auto" | "off" | "on"}

Description

Specifies when to display detailed grid lines on the Smith chart. Possible values are:

GUI Equivalent

The Detailed Grid field in the Display section on the Grid tab of the Graph Properties form for a Smith chart. This field is not available for polar grids.

Examples

envGetVal("viva.smithGrid" "showDetailed")
envSetVal("viva.smithGrid" "showDetailed" 'string "off")

showLabels

viva.smithGrid showLabels string {"true" | "false"}

Description

Specifies whether to display labels on the Smith grid. The default value is true, which indicates that labels are displayed on the Smith grid.

GUI Equivalent

The Grid Labels field in the Display section on the Grid tab of the Graph Properties form for a Smith chart. This field is not available for polar grids.

Examples

envGetVal("viva.smithGrid" "showLabels")
envSetVal("viva.smithGrid" "showLabels" 'string "false")

showCompressed

viva.smithGrid showCompressed string {"true" | "false"}

Description

Specifies whether to display extra horizontal grid lines (arcs) outside the Smith chart boundary. The default value is false, which indicates that grid lines outside the Smith unit circle are not displayed.

GUI Equivalent

The Compressed Smith field in the Display section on the Grid tab of the Graph Properties form for a Smith chart. This field is not available for polar grids.

Examples

envGetVal("viva.smithGrid" "showCompressed")
envSetVal("viva.smithGrid" "showCompressed" 'string "true")

showCoefficientRing

viva.smithGrid showCoefficientRing string {"true" | "false"}

Description

Specifies whether to display the angles of reflection coefficient in the outer ring. The default value is false, which indicates that reflection coefficient and outer ring are not displayed on the Smith grid.

GUI Equivalent

The Coefficient Ring field in the Display section on the Grid tab of the Graph Properties form for a Smith chart. This field is not available for polar grids.

Examples

envGetVal("viva.smithGrid" "showCoefficientRing")
envSetVal("viva.smithGrid" "showCoefficientRing" 'string "true")

showVSWRCircles

viva.smithGrid showVSWRCircles string {"true" | "false"}

Description

Specifies whether to display VSWR circles for the specified VSWR values. The default value is false, which indicates that VSWR circles are not displayed on the Smith grid.

GUI Equivalent

The VSWR Circles field in the Smith Chart section on the Annotations tab of the Graph Properties form for a Smith chart. This field is not available for polar grids.

Examples

envGetVal("viva.smithGrid" "showVSWRCircles")
envSetVal("viva.smithGrid" "showVSWRCircles" 'string "true")

VSWRCircleValues

viva.smithGrid VSWRCircleValues string VSWRvalues

Description

Specifies the VSWR values for which you want to draw the VSWR circles on the Smith grid.

The default value is "", which indicates that no VSWR circles are drawn on the Smith grid.

VSWR circles for the specified VSWR values are drawn only when the showVSWRCircles environment variable is set to true.

GUI Equivalent

The VSWR field in the Smith Chart section on the Annotations tab of the Graph Properties form for a Smith chart. This field is not available for polar grids.

Examples

envGetVal("viva.smithGrid" "VSWRCircleValues")
envSetVal("viva.smithGrid" "VSWRCircleValues" 'string "6, 8")

VSWRCirclePenColor

viva.smithGrid VSWRCirclePenColor string hexColorCode

Description

Specifies the color of the VSWR circles.

The default value is #C0C000.

VSWR circles for the specified VSWR values are drawn only when the showVSWRCircles environment variable is set to true.

GUI Equivalent

The Color field in the VSWR Circles section on the Annotations tab of the Graph Properties form for a Smith chart. This field is not available for polar grids.

Examples

envGetVal("viva.smithGrid" "VSWRCirclePenColor")
envSetVal("viva.smithGrid" "VSWRCirclePenColor" 'string "#0000FF")

VSWRCirclePenWidth

viva.smithGrid VSWRCirclePenWidth string widthOfVSWRCircles

Description

Specifies the width of the VSWR circles.

Valid values are fine, medium, thick, extraThick, and extraFine. The default value is fine.

VSWR circles for the specified VSWR values are drawn only when the showVSWRCircles environment variable is set to true.

GUI Equivalent

The Width field in the VSWR Circles section on the Annotations tab of the Graph Properties form for a Smith chart. This field is not available for polar grids.

Examples

envGetVal("viva.smithGrid" "VSWRCirclePenWidth")
envSetVal("viva.smithGrid" "VSWRCirclePenWidth" 'string "extraThick")

VSWRCirclePenStyle

viva.smithGrid VSWRCirclePenStyle string widthOfVSWRCircles

Description

Specifies the style of the VSWR circles.

Valid values are solid, dot, dash, dashDot, and dashDotDot. The default value is solid.

VSWR circles for the specified VSWR values are drawn only when the showVSWRCircles environment variable is set to true.

GUI Equivalent

The Style field in the VSWR Circles section on the Annotations tab of the Graph Properties form for a Smith chart. This field is not available for polar grids.

Examples

envGetVal("viva.smithGrid" "VSWRCirclePenStyle")
envSetVal("viva.smithGrid" "VSWRCirclePenStyle" 'string "dashDotDot")

showQContours

viva.smithGrid showQContours string {"true" | "false"}

Description

Specifies whether to display Q contours for the specified Q values. The default value is false, which indicates that Q contours are not displayed on the Smith grid.

GUI Equivalent

The Q Contours field in the Smith Chart section on the Annotations tab of the Graph Properties form for a Smith chart. This field is not available for polar grids.

Examples

envGetVal("viva.smithGrid" "showQContours")
envSetVal("viva.smithGrid" "showQContours" 'string "true")

QContourValues

viva.smithGrid QContourValues string VSWRvalues

Description

Specifies the Q values for which you want to draw the Q contours on the Smith grid.

The default value is "", which indicates that no Q contours are drawn on the Smith grid.

Q contours for the specified Q values are drawn only when showQContours environment variable is set to true.

GUI Equivalent

The Q field in the Smith Chart section on the Annotations tab of the Graph Properties form for a Smith chart. This field is not available for polar grids.

Examples

envGetVal("viva.smithGrid" "QContourValues")
envSetVal("viva.smithGrid" "QContourValues" 'string "3, 5")

QContourPenColor

viva.smithGrid QContourPenColor string hexColorCode

Description

Specifies the color of the Q contours.

The default value is #C000C0.

Q contours for the specified Q values are drawn only when the showQContours environment variable is set to true.

GUI Equivalent

The Color field in the Q Contours section on the Annotations tab of the Graph Properties form for a Smith chart. This field is not available for polar grids.

Examples

envGetVal("viva.smithGrid" "QContourPenColor")
envSetVal("viva.smithGrid" "QContourPenColor" 'string "#0000FF")

QContourPenWidth

viva.smithGrid QContourPenWidth string widthOfVSWRCircles

Description

Specifies the width of the Q contours.

Valid values are fine, medium, thick, extraThick, and extraFine. The default value is fine.

Q contours for the specified Q values are drawn only when the showQContours environment variable is set to true.

GUI Equivalent

The Width field in the Q Contours section on the Annotations tab of the Graph Properties form for a Smith chart. This field is not available for polar grids.

Examples

envGetVal("viva.smithGrid" "QContourPenWidth")
envSetVal("viva.smithGrid" "QContourPenWidth" 'string "extraThick")

QContourPenStyle

viva.smithGrid QContourPenStyle string widthOfVSWRCircles

Description

Specifies the style of the Q contours.

Valid values are solid, dot, dash, dashDot, and dashDotDot. The default value is solid.

Q contours for the specified Q values are drawn only when the showQContours environment variable is set to true.

GUI Equivalent

The Style field in the Q Contours section on the Annotations tab of the Graph Properties form for a Smith chart. This field is not available for polar grids.

Examples

envGetVal("viva.smithGrid" "QContourPenStyle")
envSetVal("viva.smithGrid" "QContourPenStyle" 'string "dashDotDot")

impedanceStandardGridPenColor

viva.smithGrid impedanceStandardGridPenColor string colorOfImpedanceStandardGrid

Description

Specifies the color of standard grid lines in an Impedance (Z) Smith chart.

The default value is #000000.

GUI Equivalent

The Color field in the Standard Grid Lines section on the Grid tab of the Graph Properties form for an Impedance (Z) Smith chart. This field is available when Impedance is selected as the Grid Type.

Examples

envGetVal("viva.smithGrid" "impedanceStandardGridPenColor")
envSetVal("viva.smithGrid" "impedanceStandardGridPenColor" 'string "#FF0000")

impedanceStandardGridPenWidth

viva.smithGrid impedanceStandardGridPenWidth string widthOfImpedanceStandardGrid

Description

Specifies the width of standard grid lines in an Impedance (Z) Smith chart.

Valid values are fine, medium, thick, extraThick, and extraFine. The default value is extraFine.

GUI Equivalent

The Width field in the Standard Grid Lines section on the Grid tab of the Graph Properties form for an Impedance (Z) Smith chart. This field is available when Impedance is selected as the Grid Type.

Examples

envGetVal("viva.smithGrid" "impedanceStandardGridPenWidth")
envSetVal("viva.smithGrid" "impedanceStandardGridPenWidth" 'string "extraThick")

impedanceStandardGridPenStyle

viva.smithGrid impedanceStandardGridPenStyle string styleOfImpedanceStandardGrid

Description

Specifies the style of standard grid lines in an Impedance (Z) Smith chart.

Valid values are solid, dot, dash, dashDot, and dashDotDot. The default value is solid.

GUI Equivalent

The Style field in the Standard Grid Lines section on the Grid tab of the Graph Properties form for an Impedance (Z) Smith chart. This field is available when Impedance is selected as the Grid Type.

Examples

envGetVal("viva.smithGrid" "impedanceStandardGridPenStyle")
envSetVal("viva.smithGrid" "impedanceStandardGridPenStyle" 'string "dashDot")

impedanceDetailedGridPenColor

viva.smithGrid impedanceDetailedGridPenColor string colorOfImpedanceDetailedGrid

Description

Specifies the color of detailed grid lines in an Impedance (Z) Smith chart.

The default value is #000000.

GUI Equivalent

The Color field in the Detailed Grid Lines section on the Grid tab of the Graph Properties form for an Impedance (Z) Smith chart. This field is available when Impedance is selected as the Grid Type.

Examples

envGetVal("viva.smithGrid" "impedanceDetailedGridPenColor")
envSetVal("viva.smithGrid" "impedanceDetailedGridPenColor" 'string "#FF0000")

impedanceDetailedGridPenWidth

viva.smithGrid impedanceDetailedGridPenWidth string widthOfImpedanceDetailedGrid

Description

Specifies the width of detailed grid lines in an Impedance (Z) Smith chart.

Valid values are fine, medium, thick, extraThick, and extraFine. The default value is extraFine.

GUI Equivalent

The Width field in the Detailed Grid Lines section on the Grid tab of the Graph Properties form for an Impedance (Z) Smith chart. This field is available when Impedance is selected as the Grid Type.

Examples

envGetVal("viva.smithGrid" "impedanceDetailedGridPenWidth")
envSetVal("viva.smithGrid" "impedanceDetailedGridPenWidth" 'string "extraThick")

impedanceDetailedGridPenStyle

viva.smithGrid impedanceDetailedGridPenStyle string styleOfImpedanceDetailedGrid

Description

Specifies the style of detailed grid lines in an Impedance (Z) Smith chart.

Valid values are solid, dot, dash, dashDot, and dashDotDot. The default value is dot.

GUI Equivalent

The Style field in the Detailed Grid Lines section on the Grid tab of the Graph Properties form for an Impedance (Z) Smith chart. This field is available when Impedance is selected as the Grid Type.

Examples

envGetVal("viva.smithGrid" "impedanceDetailedGridPenStyle")
envSetVal("viva.smithGrid" "impedanceDetailedGridPenStyle" 'string "dashDot")

impedanceCompressedGridPenColor

viva.smithGrid impedanceCompressedGridPenColor string colorOfImpedanceCompressedGrid

Description

Specifies the color of the compressed grid lines in an Impedance (Z) Smith chart.

The default value is #000000.

This environment variable works only when the environment variable showCompressed is set to true.

GUI Equivalent

The Color field in the Compressed Grid Lines section on the Grid tab of the Graph Properties form for an Impedance (Z) Smith chart. This field is available when the Compressed Smith check box is selected and Impedance is selected as the Grid Type.

Examples

envGetVal("viva.smithGrid" "impedanceCompressedGridPenColor")
envSetVal("viva.smithGrid" "impedanceCompressedGridPenColor" 'string "#FF0000")

impedanceCompressedGridPenWidth

viva.smithGrid impedanceCompressedGridPenWidth string widthOfImpedanceCompressedGrid

Description

Specifies the width of compressed grid lines in an Impedance (Z) Smith chart.

Valid values are fine, medium, thick, extraThick, and extraFine. The default value is extraFine.

This environment variable works only when the environment variable showCompressed is set to true.

GUI Equivalent

The Width field in the Compressed Grid Lines section on the Grid tab of the Graph Properties form for an Impedance (Z) Smith chart. This field is available when the Compressed Smith check box is selected and Impedance is selected as the Grid Type.

Examples

envGetVal("viva.smithGrid" "impedanceCompressedGridPenWidth")
envSetVal("viva.smithGrid" "impedanceCompressedGridPenWidth" 'string "extraThick")

impedanceCompressedGridPenStyle

viva.smithGrid impedanceCompressedGridPenStyle string styleOfImpedanceCompressedGrid

Description

Specifies the style of compressed grid lines in an Impedance (Z) Smith chart.

Valid values are solid, dot, dash, dashDot, and dashDotDot. The default value is dot.

This environment variable works only when the environment variable showCompressed is set to true.

GUI Equivalent

The Style field in the Detailed Grid Lines section on the Grid tab of the Graph Properties form for an Impedance (Z) Smith chart. This field is available when the Compressed Smith check box is selected and Impedance is selected as the Grid Type.

Examples

envGetVal("viva.smithGrid" "impedanceCompressedGridPenStyle")
envSetVal("viva.smithGrid" "impedanceCompressedGridPenStyle" 'string "dashDot")

admittanceStandardGridPenColor

viva.smithGrid admittanceStandardGridPenColor string colorOfAdmittanceStandardGrid

Description

Specifies the color of standard grid lines in an Admittance (Y) Smith chart.

The default value is #000000.

GUI Equivalent

The Color field in the Standard Grid Lines section on the Grid tab of the Graph Properties form for an Admittance (Y) Smith chart. This field is available when Admittance is selected as the Grid Type.

Examples

envGetVal("viva.smithGrid" "admittanceStandardGridPenColor")
envSetVal("viva.smithGrid" "admittanceStandardGridPenColor" 'string "#FF0000")

admittanceStandardGridPenWidth

viva.smithGrid admittanceStandardGridPenWidth string widthOfAdmittanceStandardGrid

Description

Specifies the width of standard grid lines in an Admittance (Y) Smith chart.

Valid values are fine, medium, thick, extraThick, and extraFine. The default value is extraFine.

GUI Equivalent

The Width field in the Standard Grid Lines section on the Grid tab of the Graph Properties form for an Admittance (Y) Smith chart. This field is available when Admittance is selected as the Grid Type.

Examples

envGetVal("viva.smithGrid" "admittanceStandardGridPenWidth")
envSetVal("viva.smithGrid" "admittanceStandardGridPenWidth" 'string "extraThick")

admittanceStandardGridPenStyle

viva.smithGrid admittanceStandardGridPenStyle string styleOfAdmittanceStandardGrid

Description

Specifies the style of standard grid lines in an Admittance (Y) Smith chart.

Valid values are solid, dot, dash, dashDot, and dashDotDot. The default value is solid.

GUI Equivalent

The Style field in the Standard Grid Lines section on the Grid tab of the Graph Properties form for an Admittance (Y) Smith chart. This field is available when Admittance is selected as the Grid Type.

Examples

envGetVal("viva.smithGrid" "impedanceStandardGridPenStyle")
envSetVal("viva.smithGrid" "impedanceStandardGridPenStyle" 'string "dashDot")

admittanceDetailedGridPenColor

viva.smithGrid admittanceDetailedGridPenColor string colorOfAdmittanceDetailedGrid

Description

Specifies the color of detailed grid lines in an Admittance (Y) Smith chart.

The default value is #000000.

GUI Equivalent

The Color field in the Detailed Grid Lines section on the Grid tab of the Graph Properties form for an Admittance (Y) Smith chart. This field is available when Admittance is selected as the Grid Type.

Examples

envGetVal("viva.smithGrid" "admittanceDetailedGridPenColor")
envSetVal("viva.smithGrid" "admittanceDetailedGridPenColor" 'string "#FF0000")

admittanceDetailedGridPenWidth

viva.smithGrid admittanceDetailedGridPenWidth string widthOfAdmittanceDetailedGrid

Description

Specifies the width of detailed grid lines in an Admittance (Y) Smith chart.

Valid values are fine, medium, thick, extraThick, and extraFine. The default value is extraFine.

GUI Equivalent

The Width field in the Detailed Grid Lines section on the Grid tab of the Graph Properties form for an Admittance (Y) Smith chart. This field is available when Admittance is selected as the Grid Type.

Examples

envGetVal("viva.smithGrid" "admittanceDetailedGridPenWidth")
envSetVal("viva.smithGrid" "admittanceDetailedGridPenWidth" 'string "extraThick")

admittanceDetailedGridPenStyle

viva.smithGrid admittanceDetailedGridPenStyle string styleOfAdmittanceDetailedGrid

Description

Specifies the style of detailed grid lines in an Admittance (Y) Smith chart.

Valid values are solid, dot, dash, dashDot, and dashDotDot. The default value is dot.

GUI Equivalent

The Style field in the Detailed Grid Lines section on the Grid tab of the Graph Properties form for an Admittance (Y) Smith chart. This field is available when Admittance is selected as the Grid Type.

Examples

envGetVal("viva.smithGrid" "admittanceDetailedGridPenStyle")
envSetVal("viva.smithGrid" "admittanceDetailedGridPenStyle" 'string "dashDot")

admittanceCompressedGridPenColor

viva.smithGrid admittanceCompressedGridPenColor string colorOfAdmittanceCompressedGrid

Description

Specifies the color of the compressed grid lines in an Admittance (Y) Smith chart.

The default value is #000000.

This environment variable works only when the environment variable showCompressed is set to true.

GUI Equivalent

The Color field in the Compressed Grid Lines section on the Grid tab of the Graph Properties form for an Admittance (Y) Smith chart. This field is available when the Compressed Smith check box is selected and Admittance is selected as the Grid Type.

Examples

envGetVal("viva.smithGrid" "admittanceCompressedGridPenColor")
envSetVal("viva.smithGrid" "admittanceCompressedGridPenColor" 'string "#FF0000")

admittanceCompressedGridPenWidth

viva.smithGrid admittanceCompressedGridPenWidth string widthOfAdmittanceCompressedGrid

Description

Specifies the width of compressed grid lines in an Admittance (Y) Smith chart.

Valid values are fine, medium, thick, extraThick, and extraFine. The default value is extraFine.

This environment variable works only when the environment variable showCompressed is set to true.

GUI Equivalent

The Width field in the Compressed Grid Lines section on the Grid tab of the Graph Properties form for an Admittance (Y) Smith chart. This field is available when the Compressed Smith check box is selected and Admittance is selected as the Grid Type.

Examples

envGetVal("viva.smithGrid" "admittanceCompressedGridPenWidth")
envSetVal("viva.smithGrid" "admittanceCompressedGridPenWidth" 'string "extraThick")

admittanceCompressedGridPenStyle

viva.smithGrid admittanceCompressedGridPenStyle string styleOfAdmittanceCompressedGrid

Description

Specifies the style of compressed grid lines in an Admittance (Y) Smith chart.

Valid values are solid, dot, dash, dashDot, and dashDotDot. The default value is dot.

This environment variable works only when the environment variable showCompressed is set to true.

GUI Equivalent

The Style field in the Compressed Grid Lines section on the Grid tab of the Graph Properties form for an Admittance (Y) Smith chart. This field is available when the Compressed Smith check box is selected and Admittance is selected as the Grid Type.

Examples

envGetVal("viva.smithGrid" "admittanceCompressedGridPenStyle")
envSetVal("viva.smithGrid" "admittanceCompressedGridPenStyle" 'string "dashDot")

immittanceZStandardGridPenColor

viva.smithGrid immittanceZStandardGridPenColor string colorOfImmittanceZStandardGrid

Description

Specifies the color of standard Impedance (Z Smith) grid in an Immittance (ZY) Smith chart.

The default value is #C00000.

GUI Equivalent

The Color field in the Standard Impedance Grid Lines section on the Grid tab of the Graph Properties form for an Immittance (ZY) Smith chart. This field is available when Immittance is selected as the Grid Type.

Examples

envGetVal("viva.smithGrid" "immittanceZStandardGridPenColor")
envSetVal("viva.smithGrid" "immittanceZStandardGridPenColor" 'string "#FF0000")

immittanceZStandardGridPenWidth

viva.smithGrid immittanceZStandardGridPenWidth string widthOfImmittanceZStandardGrid

Description

Specifies the width of standard Impedance (Z Smith) grid in an Immittance (ZY) Smith chart.

Valid values are fine, medium, thick, extraThick, and extraFine. The default value is extraFine.

GUI Equivalent

The Width field in the Standard Impedance Grid Lines section on the Grid tab of the Graph Properties form for an Immittance (ZY) Smith chart. This field is available when Immittance is selected as the Grid Type.

Examples

envGetVal("viva.smithGrid" "immittanceZStandardGridPenWidth")
envSetVal("viva.smithGrid" "immittanceZStandardGridPenWidth" 'string "extraThick")

immittanceZStandardGridPenStyle

viva.smithGrid immittanceZStandardGridPenStyle string styleOfImmittanceZStandardGrid

Description

Specifies the style of standard Impedance (Z Smith) grid in an Immittance (ZY) Smith chart.

Valid values are solid, dot, dash, dashDot, and dashDotDot. The default value is dot.

GUI Equivalent

The Style field in the Standard Impedance Grid Lines section on the Grid tab of the Graph Properties form for an Immittance (ZY) Smith chart. This field is available when Immittance is selected as the Grid Type.

Examples

envGetVal("viva.smithGrid" "immittanceZStandardGridPenStyle")
envSetVal("viva.smithGrid" "immittanceZStandardGridPenStyle" 'string "dashDot")

immittanceZDetailedGridPenColor

viva.smithGrid immittanceZDetailedGridPenColor string colorOfImmittanceZDetailedGrid

Description

Specifies the color of detailed Impedance (Z Smith) grid in an Immittance (ZY) Smith chart.

The default value is #C00000.

GUI Equivalent

The Color field in the Detailed Impedance Grid Lines section on the Grid tab of the Graph Properties form for an Immittance (ZY) Smith chart. This field is available when Immittance is selected as the Grid Type.

Examples

envGetVal("viva.smithGrid" "immittanceZDetailedGridPenColor")
envSetVal("viva.smithGrid" "immittanceZDetailedGridPenColor" 'string "#FF0000")

immittanceZDetailedGridPenWidth

viva.smithGrid immittanceZDetailedGridPenWidth string widthOfImmittanceZDetailedGrid

Description

Specifies the width of detailed Impedance (Z Smith) grid in an Immittance (ZY) Smith chart.

Valid values are fine, medium, thick, extraThick, and extraFine. The default value is extraFine.

GUI Equivalent

The Width field in the Detailed Impedance Grid Lines section on the Grid tab of the Graph Properties form for an Immittance (ZY) Smith chart. This field is available when Immittance is selected as the Grid Type.

Examples

envGetVal("viva.smithGrid" "immittanceZDetailedGridPenWidth")
envSetVal("viva.smithGrid" "immittanceZDetailedGridPenWidth" 'string "extraThick")

immittanceZDetailedGridPenStyle

viva.smithGrid immittanceZDetailedGridPenStyle string styleOfImmittanceZDetailedGrid

Description

Specifies the style of detailed Impedance (Z Smith) grid in an Immittance (ZY) Smith chart.

Valid values are solid, dot, dash, dashDot, and dashDotDot. The default value is dot.

GUI Equivalent

The Style field in the Detailed Impedance Grid Lines section on the Grid tab of the Graph Properties form for an Immittance (ZY) Smith chart. This field is available when Immittance is selected as the Grid Type.

Examples

envGetVal("viva.smithGrid" "immittanceZDetailedGridPenStyle")
envSetVal("viva.smithGrid" "immittanceZDetailedGridPenStyle" 'string "dashDot")

immittanceZCompressedGridPenColor

viva.smithGrid immittanceZCompressedGridPenColor string colorOfImmittanceZCompressedGrid

Description

Specifies the color of the compressed Impedance (Z Smith) grid in an Immittance (ZY) Smith chart.

The default value is #C00000.

This environment variable works only when the environment variable showCompressed is set to true.

GUI Equivalent

The Color field in the Compressed Impedance Grid Lines section on the Grid tab of the Graph Properties form for an Immittance (ZY) Smith chart. This field is available when the Compressed Smith check box is selected and Immittance is selected as the Grid Type.

Examples

envGetVal("viva.smithGrid" "immittanceZCompressedGridPenColor")
envSetVal("viva.smithGrid" "immittanceZCompressedGridPenColor" 'string "#FF0000")

immittanceZCompressedGridPenWidth

viva.smithGrid immittanceZCompressedGridPenWidth string widthOfImmittanceZCompressedGrid

Description

Specifies the width of compressed Impedance (Z Smith) grid in an Immittance (ZY) Smith chart.

Valid values are fine, medium, thick, extraThick, and extraFine. The default value is extraFine.

This environment variable works only when the environment variable showCompressed is set to true.

GUI Equivalent

The Width field in the Compressed Impedance Grid Lines section on the Grid tab of the Graph Properties form for an Immittance (ZY) Smith chart. This field is available when the Compressed Smith check box is selected and Immittance is selected as the Grid Type.

Examples

envGetVal("viva.smithGrid" "immittanceZCompressedGridPenWidth")
envSetVal("viva.smithGrid" "immittanceZCompressedGridPenWidth" 'string "extraThick")

immittanceZCompressedGridPenStyle

viva.smithGrid immittanceZCompressedGridPenStyle string styleOfImmittanceZCompressedGrid

Description

Specifies the style of compressed Impedance (Z Smith) grid in an Immittance (ZY) Smith chart.

Valid values are solid, dot, dash, dashDot, and dashDotDot. The default value is dot.

This environment variable works only when the environment variable showCompressed is set to true.

GUI Equivalent

The Style field in the Compressed Impedance Grid Lines section on the Grid tab of the Graph Properties form for an Immittance (ZY) Smith chart. This field is available when the Compressed Smith check box is selected and Immittance is selected as the Grid Type.

Examples

envGetVal("viva.smithGrid" "immittanceZCompressedGridPenStyle")
envSetVal("viva.smithGrid" "immittanceZCompressedGridPenStyle" 'string "dashDot")

immittanceYStandardGridPenColor

viva.smithGrid immittanceYStandardGridPenColor string colorOfImmittanceYStandardGrid

Description

Specifies the color of standard Admittance (Y Smith) grid in an Immittance (ZY) Smith chart.

The default value is #00C000.

GUI Equivalent

The Color field in the Standard Admittance Grid Lines section on the Grid tab of the Graph Properties form for an Immittance (ZY) Smith chart. This field is available when Immittance is selected as the Grid Type.

Examples

envGetVal("viva.smithGrid" "immittanceYStandardGridPenColor")
envSetVal("viva.smithGrid" "immittanceYStandardGridPenColor" 'string "#FF0000")

immittanceYStandardGridPenWidth

viva.smithGrid immittanceYStandardGridPenWidth string widthOfImmittanceYStandardGrid

Description

Specifies the width of standard Admittance (Y Smith) grid in an Immittance (ZY) Smith chart.

Valid values are fine, medium, thick, extraThick, and extraFine. The default value is extraFine.

GUI Equivalent

The Width field in the Standard Admittance Grid Lines section on the Grid tab of the Graph Properties form for an Immittance (ZY) Smith chart. This field is available when Immittance is selected as the Grid Type.

Examples

envGetVal("viva.smithGrid" "immittanceYStandardGridPenWidth")
envSetVal("viva.smithGrid" "immittanceYStandardGridPenWidth" 'string "extraThick")

immittanceYStandardGridPenStyle

viva.smithGrid immittanceYStandardGridPenStyle string styleOfImmittanceYStandardGrid

Description

Specifies the style of standard Admittance (Y Smith) grid in an Immittance (ZY) Smith chart.

Valid values are solid, dot, dash, dashDot, and dashDotDot. The default value is dot.

GUI Equivalent

The Style field in the Standard Admittance Grid Lines section on the Grid tab of the Graph Properties form for an Immittance (ZY) Smith chart. This field is available when Immittance is selected as the Grid Type.

Examples

envGetVal("viva.smithGrid" "immittanceYStandardGridPenStyle")
envSetVal("viva.smithGrid" "immittanceYStandardGridPenStyle" 'string "dashDot")

immittanceYDetailedGridPenColor

viva.smithGrid immittanceYDetailedGridPenColor string colorOfImmittanceYDetailedGrid

Description

Specifies the color of detailed Admittance (Y Smith) grid in an Immittance (ZY) Smith chart.

The default value is #00C000.

GUI Equivalent

The Color field in the Detailed Admittance Grid Lines section on the Grid tab of the Graph Properties form for an Immittance (ZY) Smith chart. This field is available when Immittance is selected as the Grid Type.

Examples

envGetVal("viva.smithGrid" "immittanceYDetailedGridPenColor")
envSetVal("viva.smithGrid" "immittanceYDetailedGridPenColor" 'string "#FF0000")

immittanceYDetailedGridPenWidth

viva.smithGrid immittanceYDetailedGridPenWidth string widthOfImmittanceYDetailedGrid

Description

Specifies the width of detailed Admittance (Y Smith) grid in an Immittance (ZY) Smith chart.

Valid values are fine, medium, thick, extraThick, and extraFine. The default value is extraFine.

GUI Equivalent

The Width field in the Detailed Admittance Grid Lines section on the Grid tab of the Graph Properties form for an Immittance (ZY) Smith chart. This field is available when Immittance is selected as the Grid Type.

Examples

envGetVal("viva.smithGrid" "immittanceYDetailedGridPenWidth")
envSetVal("viva.smithGrid" "immittanceYDetailedGridPenWidth" 'string "extraThick")

immittanceYDetailedGridPenStyle

viva.smithGrid immittanceYDetailedGridPenStyle string styleOfImmittanceYDetailedGrid

Description

Specifies the style of detailed Admittance (Y Smith) grid in an Immittance (ZY) Smith chart.

Valid values are solid, dot, dash, dashDot, and dashDotDot. The default value is dot.

GUI Equivalent

The Style field in the Detailed Admittance Grid Lines section on the Grid tab of the Graph Properties form for an Immittance (ZY) Smith chart. This field is available when Immittance is selected as the Grid Type.

Examples

envGetVal("viva.smithGrid" "immittanceYDetailedGridPenStyle")
envSetVal("viva.smithGrid" "immittanceYDetailedGridPenStyle" 'string "dashDot")

immittanceYCompressedGridPenColor

viva.smithGrid immittanceYCompressedGridPenColor string colorOfImmittanceYCompressedGrid

Description

Specifies the color of the compressed Admittance (Y Smith) grid in an Immittance (ZY) Smith chart.

The default value is #00C000.

This environment variable works only when the environment variable showCompressed is set to true.

GUI Equivalent

The Color field in the Compressed Admittance Grid Lines section on the Grid tab of the Graph Properties form for an Immittance (ZY) Smith chart. This field is available when the Compressed Smith check box is selected and Immittance is selected as the Grid Type.

Examples

envGetVal("viva.smithGrid" "immittanceYCompressedGridPenColor")
envSetVal("viva.smithGrid" "immittanceYCompressedGridPenColor" 'string "#FF0000")

immittanceYCompressedGridPenWidth

viva.smithGrid immittanceYCompressedGridPenWidth string widthOfImmittanceYCompressedGrid

Description

Specifies the width of compressed Admittance (Y Smith) grid in an Immittance (ZY) Smith chart.

Valid values are fine, medium, thick, extraThick, and extraFine. The default value is extraFine.

This environment variable works only when the environment variable showCompressed is set to true.

GUI Equivalent

The Width field in the Compressed Admittance Grid Lines section on the Grid tab of the Graph Properties form for an Immittance (ZY) Smith chart. This field is available when the Compressed Smith check box is selected and Immittance is selected as the Grid Type.

Examples

envGetVal("viva.smithGrid" "immittanceYCompressedGridPenWidth")
envSetVal("viva.smithGrid" "immittanceYCompressedGridPenWidth" 'string "extraThick")

immittanceYCompressedGridPenStyle

viva.smithGrid immittanceYCompressedGridPenStyle string styleOfImmittanceYCompressedGrid

Description

Specifies the style of compressed Admittance (Y Smith) grid in an Immittance (ZY) Smith chart.

Valid values are solid, dot, dash, dashDot, and dashDotDot. The default value is dot.

This environment variable works only when the environment variable showCompressed is set to true.

GUI Equivalent

The Style field in the Compressed Admittance Grid Lines section on the Grid tab of the Graph Properties form for an Immittance (ZY) Smith chart. This field is available when the Compressed Smith check box is selected and Immittance is selected as the Grid Type.

Examples

envGetVal("viva.smithGrid" "immittanceYCompressedGridPenStyle")
envSetVal("viva.smithGrid" "immittanceYCompressedGridPenStyle" 'string "dashDot")

Application Environment Variables

enableFlexibleBind

Determines whether the graph or trace settings, such as graph title, trace zoom in, trace visibility, delta and AB markers are to be saved while loading a graph file. The default value of this variable is true, which means these settings will be saved.

Syntax

viva.application enableFlexibleBind string " true "

Valid Values

VIVALicenseCheckoutOrder

Specifies the license checkout order preference for Virtuoso Visualization and Analysis XL. By default, this variable is set to ViVA, ADE, which results in the following license check out tasks being performed:

If this variable is set to ADE, ViVA, the license check out tasks are performed in the following order:

The license is released when all the Virtuoso Visualization and Analysis XL windows are closed.

Syntax

The VIVALicenseCheckoutOrder environment variable can be set using viva.application and license tool partitions. However, the viva.application tool partition will be removed in a future release. It is recommended that you use the license tool partition to set this variable.
You must set this environment variable in the .cdsinit file or the .cdsenv file. Do not set this environment variable in the CIW.

license VIVALicenseCheckoutOrder string "VIVA,ADE,Verifier"

For more information, see VIVALicenseCheckoutOrder in the CheckoutOrder Variables section of Virtuoso Software Licensing and Configuration User Guide.

viva.application VIVALicenseCheckoutOrder string "VIVA,ADE"

Valid Values

Default Values

VIVA,ADE

VIVA_UseNextLicense

Controls whether the prompt is to be displayed to confirm the checkout of next specified license in the VIVALicenseCheckoutOrder variable when the first license checkout fails.

When this variable is set to prompt, which is the default value, if the first license specified in VIVALicenseCheckoutOrder is not available, a prompt message appears to confirm if you want to check out the next specified license.

If this variable is set to always, no prompt message is displayed when the first license checkout fails and the next specified license is automatically checked out if available.

Syntax

The VIVA_UseNextLicense environment variable can be set using viva.application and license tool partitions. However, the viva.application tool partition will be removed in a future release. It is recommended that you use the license tool partition to set this variable.

license VIVA_UseNextLicense string "prompt"

viva.application VIVA_UseNextLicense string "prompt"

Valid Values

Default Values

prompt

maxTraceAge

Controls the maximum number of waveforms that are to be displayed in an info-balloon during the RTT simulation run in ADE Explorer. By default, a maximum of 4 waveforms is displayed in the info-balloon. The most recent waveform is displayed at the top of the legend.

Syntax

viva.application maxTraceAge 'string "4"

Valid Values

Any integer value

Default Value

4

confirmCloseWindow

viva.application confirmCloseWindow string {"true" | "false"}

Description

Specifies whether to display a confirmation dialog box when deleting a graph window or a subwindow by:

Valid values are as follows:

GUI Equivalent

Edit – Delete (Del)

Examples

envGetVal("viva.application" "confirmCloseWindow")
envSetVal("viva.application" "confirmCloseWindow" 'string "false")

confirmDeleteAll

viva.application confirmDeleteAll string {"true" | "false"}

Description

Specifies whether to display a confirmation dialog box when the Edit – Delete All command is selected or the bindkey E is pressed. Valid values are as follows:

GUI Equivalent

Edit – Delete All (E)

Examples

envGetVal("viva.application" "confirmDeleteAll")
envSetVal("viva.application" "confirmDeleteAll" 'string "false")

confirmDeleteAllMarkers

viva.application confirmDeleteAllMarkers string {"true" | "false"}

Description

Specifies whether to display a confirmation dialog box when the Marker – Delete All command is selected or the bindkey Ctrl+E is pressed. Valid values are as follows:

GUI Equivalent

Marker – Delete All (Ctrl+E)

Examples

envGetVal("viva.application" "confirmDeleteAllMarkers")
envSetVal("viva.application" "confirmDeleteAllMarkers" 'string "true")

confirmDeleteAllTraces

viva.application confirmDeleteAllTraces string {"true" | "false"}

Description

Specifies whether to display a confirmation dialog box when the Trace – Delete All command is selected or the bindkey Shift+E is pressed. Valid values are as follows:

GUI Equivalent

Trace – Delete All (Shift+E)

Examples

envGetVal("viva.application" "confirmDeleteAllTraces")
envSetVal("viva.application" "confirmDeleteAllTraces" 'string "true")

XRange Bookmark Variables

defaultLabel

viva.xrangeBookmark defaultLabel string labelText

Description

Specifies the text to be displayed on the x-range bookmark label. The default value is "", which indicates that no text is displayed on the x-range bookmark label by default.

This environment variable works only when it is set in the .cdsinit file.

GUI Equivalent

The Label Text field on the XRange Bookmark Properties for bookmark form.

Examples

envGetVal("viva.xrangeBookmark" "defaultLabel")
envSetVal("viva.xrangeBookmark" "defaultLabel" 'string "myBookmark")

font

viva.xrangeBookmark font string fontProperties

Description

Specifies the font properties of the x-range bookmark. The default value is "Default,10,-1,5,50,0,0,0,0,0".

For more information about the format of the font properties, see Font String.

This environment variable works only when it is set in the .cdsinit file.

GUI Equivalent

The Font/Color field on the XRange Bookmark Properties for bookmark form.

Examples

envGetVal("viva.xrangeBookmark" "font")
envSetVal("viva.xrangeBookmark" "font" 'string "Default,20,-1,5,50,0,0,0,0,0"")

significantDigits

viva.xrangeBookmark significantDigits string numberOfSignificantDigits

Description

Specifies the number of significant digits for the x-range bookmark. The default value is "4".

This environment variable works only when it is set in the .cdsinit file.

GUI Equivalent

The Significant Digits field on the XRange Bookmark Properties for bookmark form.

Examples

envGetVal("viva.xrangeBookmark" "significantDigits")
envSetVal("viva.xrangeBookmark" "significantDigits" 'string "3")

sigDigitsMode

viva.xrangeBookmark sigDigitsMode string {"Auto" | "Manual"}

Description

Sets the mode to be used to specify the significant digits for the x-range bookmark.

Possible values are:

This environment variable works only when it is set in the .cdsinit file.

GUI Equivalent

The Significant Digits field on the XRange Bookmark Properties for bookmark form.

Examples

envGetVal("viva.xrangeBookmark" "sigDigitsMode")
envSetVal("viva.xrangeBookmark" "sigDigitsMode" 'string "Manual")

foreground

viva.xrangeBookmark foreground string foregroundColor

Description

Specifies the foreground color of the x-range bookmark. The default value is "lightblue".

This environment variable works only when it is set in the .cdsinit file.

GUI Equivalent

The Foreground field on the XRange Bookmark Properties for bookmark form.

Examples

envGetVal("viva.xrangeBookmark" "foreground")
envSetVal("viva.xrangeBookmark" "foreground" 'string "red")

background

viva.xrangeBookmark background string backgroundColor

Description

Specifies the background color of the x-range bookmark. The default value is "black".

This environment variable works only when it is set in the .cdsinit file.

GUI Equivalent

None

Examples

envGetVal("viva.xrangeBookmark" "background")
envSetVal("viva.xrangeBookmark" "background" 'string "yellow")

fillColor

viva.xrangeBookmark fillColor string fillColor

Description

Specifies the foreground color of the x-range bookmark. The default value is "blue".

All possible values are defined at the following location:

http://www.w3.org/TR/SVG/types.html#ColorKeywords

This environment variable works only when it is set in the .cdsinit file.

GUI Equivalent

The Foreground field on the XRange Bookmark Properties for bookmark form.

Examples

envGetVal("viva.xrangeBookmark" "fillColor")
envSetVal("viva.xrangeBookmark" "fillColor" 'string "red")

notation

viva.xrangeBookmark notation string {"suffix" | "engineering" | "scientific"}

Description

Specifies the notation to be used in the x-range bookmark. The default value is "suffix".

Possible values are: suffix, engineering, and scientific.

This environment variable works only when it is set in the .cdsinit file.

GUI Equivalent

The Notation field on the XRange Bookmark Properties for bookmark form.

Examples

envGetVal("viva.xrangeBookmark" "notation")
envSetVal("viva.xrangeBookmark" "notation" 'string "scientific")

lineStyle

viva.xrangeBookmark lineStyle string {"dash" | "solid" | "dot" | "dashdot" | "dashdotdot"}

Description

Specifies the line style of the x-range bookmark. The default value is "dash".

Possible values are: dash, solid, dot, dashdot, and dashdotdot.

This environment variable works only when it is set in the .cdsinit file.

GUI Equivalent

None

Examples

envGetVal("viva.xrangeBookmark" "lineStyle")
envSetVal("viva.xrangeBookmark" "lineStyle" 'string "dashdotdot")

showLabel

viva.xrangeBookmark showLabel string {"on when hover" | "on" | "off"}

Description

Specifies when to show bookmark label on the x-range bookmark.

Possible values are:

This environment variable works only when it is set in the .cdsinit file.

GUI Equivalent

The Annotation field on the XRange Bookmark Properties for bookmark form.

Examples

envGetVal("viva.xrangeBookmark" "showLabel")
envSetVal("viva.xrangeBookmark" "showLabel" 'string "on")

zoomScaleFactor

viva.xrangeBookmark zoomScaleFactor string zoomScaleFactor

Description

Specifies the scale factor to be used when zooming the x-range bookmark. The default value is "1.5".

This environment variable works only when it is set in the .cdsinit file.

GUI Equivalent

None

Examples

envGetVal("viva.xrangeBookmark" "zoomScaleFactor")
envSetVal("viva.xrangeBookmark" "zoomScaleFactor" 'string "2.0")

YRange Bookmark Variables

defaultLabel

viva.yrangeBookmark defaultLabel string labelText

Description

Specifies the text to be displayed on the y-range bookmark label. The default value is "", which indicates that no text is displayed on the y-range bookmark label by default.

This environment variable works only when it is set in the .cdsinit file.

GUI Equivalent

The Label Text field on the YRange Bookmark Properties for bookmark form.

Examples

envGetVal("viva.yrangeBookmark" "defaultLabel")
envSetVal("viva.yrangeBookmark" "defaultLabel" 'string "myBookmark")

font

viva.yrangeBookmark font string fontProperties

Description

Specifies the font properties of the y-range bookmark. The default value is "Default,10,-1,5,50,0,0,0,0,0".

For more information about the format of the font properties, see Font String.

This environment variable works only when it is set in the .cdsinit file.

GUI Equivalent

The Font/Color field on the YRange Bookmark Properties for bookmark form.

Examples

envGetVal("viva.yrangeBookmark" "font")
envSetVal("viva.yrangeBookmark" "font" 'string "Default,20,-1,5,50,0,0,0,0,0"")

significantDigits

viva.yrangeBookmark significantDigits string numberOfSignificantDigits

Description

Specifies the number of significant digits for the y-range bookmark. The default value is "4".

This environment variable works only when it is set in the .cdsinit file.

GUI Equivalent

The Significant Digits field on the YRange Bookmark Properties for bookmark form.

Examples

envGetVal("viva.yrangeBookmark" "significantDigits")
envSetVal("viva.yrangeBookmark" "significantDigits" 'string "3")

sigDigitsMode

viva.yrangeBookmark sigDigitsMode string {"Auto" | "Manual"}

Description

Sets the mode to be used to specify the significant digits for the y-range bookmark.

Possible values are:

This environment variable works only when it is set in the .cdsinit file.

GUI Equivalent

The Significant Digits field on the YRange Bookmark Properties for bookmark form.

Examples

envGetVal("viva.yrangeBookmark" "sigDigitsMode")
envSetVal("viva.yrangeBookmark" "sigDigitsMode" 'string "Manual")

foreground

viva.yrangeBookmark foreground string foregroundColor

Description

Specifies the foreground color of the y-range bookmark. The default value is "lightblue".

This environment variable works only when it is set in the .cdsinit file.

GUI Equivalent

The Foreground field on the YRange Bookmark Properties for bookmark form.

Examples

envGetVal("viva.yrangeBookmark" "foreground")
envSetVal("viva.yrangeBookmark" "foreground" 'string "red")

background

viva.yrangeBookmark background string backgroundColor

Description

Specifies the background color of the y-range bookmark. The default value is "black".

This environment variable works only when it is set in the .cdsinit file.

GUI Equivalent

None

Examples

envGetVal("viva.yrangeBookmark" "background")
envSetVal("viva.yrangeBookmark" "background" 'string "yellow")

fillColor

viva.yrangeBookmark fillColor string fillColor

Description

Specifies the foreground color of the y-range bookmark. The default value is "blue".

All possible values are defined at the following location:

http://www.w3.org/TR/SVG/types.html#ColorKeywords

This environment variable works only when it is set in the .cdsinit file.

GUI Equivalent

The Foreground field on the YRange Bookmark Properties for bookmark form.

Examples

envGetVal("viva.yrangeBookmark" "fillColor")
envSetVal("viva.yrangeBookmark" "fillColor" 'string "red")

notation

viva.yrangeBookmark notation string {"suffix" | "engineering" | "scientific"}

Description

Specifies the notation to be used in the y-range bookmark. The default value is "suffix".

Possible values are: suffix, engineering, and scientific.

This environment variable works only when it is set in the .cdsinit file.

GUI Equivalent

The Notation field on the YRange Bookmark Properties for bookmark form.

Examples

envGetVal("viva.yrangeBookmark" "notation")
envSetVal("viva.yrangeBookmark" "notation" 'string "scientific")

lineStyle

viva.yrangeBookmark lineStyle string {"dash" | "solid" | "dot" | "dashdot" | "dashdotdot"}

Description

Specifies the line style of the y-range bookmark. The default value is "dash".

Possible values are: dash, solid, dot, dashdot, and dashdotdot.

This environment variable works only when it is set in the .cdsinit file.

GUI Equivalent

None

Examples

envGetVal("viva.yrangeBookmark" "lineStyle")
envSetVal("viva.yrangeBookmark" "lineStyle" 'string "dashdotdot")

showLabel

viva.yrangeBookmark showLabel string {"on when hover" | "on" | "off"}

Description

Specifies when to show bookmark label on the y-range bookmark.

Possible values are:

This environment variable works only when it is set in the .cdsinit file.

GUI Equivalent

The Annotation field on the YRange Bookmark Properties for bookmark form.

Examples

envGetVal("viva.yrangeBookmark" "showLabel")
envSetVal("viva.yrangeBookmark" "showLabel" 'string "on")

zoomScaleFactor

viva.yrangeBookmark zoomScaleFactor string zoomScaleFactor

Description

Specifies the scale factor to be used when zooming the y-range bookmark. The default value is "1.5".

This environment variable works only when it is set in the .cdsinit file.

GUI Equivalent

None

Examples

envGetVal("viva.yrangeBookmark" "zoomScaleFactor")
envSetVal("viva.yrangeBookmark" "zoomScaleFactor" 'string "2.0")

Region Bookmark Variables

defaultLabel

viva.regionBookmark defaultLabel string labelText

Description

Specifies the text to be displayed on the region bookmark label. The default value is "", which indicates that no text is displayed on the region bookmark label by default.

This environment variable works only when it is set in the .cdsinit file.

GUI Equivalent

The Label Text field on the Region Bookmark Properties for bookmark form.

Examples

envGetVal("viva.regionBookmark" "defaultLabel")
envSetVal("viva.regionBookmark" "defaultLabel" 'string "myBookmark")

font

viva.regionBookmark font string fontProperties

Description

Specifies the font properties of the region bookmark. The default value is "Default,10,-1,5,50,0,0,0,0,0".

For more information about the format of the font properties, see Font String.

This environment variable works only when it is set in the .cdsinit file.

GUI Equivalent

The Font/Color field on the Region Bookmark Properties for bookmark form.

Examples

envGetVal("viva.regionBookmark" "font")
envSetVal("viva.regionBookmark" "font" 'string "Default,20,-1,5,50,0,0,0,0,0"")

significantDigits

viva.regionBookmark significantDigits string numberOfSignificantDigits

Description

Specifies the number of significant digits for the region bookmark. The default value is "4".

This environment variable works only when it is set in the .cdsinit file.

GUI Equivalent

The Significant Digits field on the Region Bookmark Properties for bookmark form.

Examples

envGetVal("viva.regionBookmark" "significantDigits")
envSetVal("viva.regionBookmark" "significantDigits" 'string "3")

sigDigitsMode

viva.regionBookmark sigDigitsMode string {"Auto" | "Manual"}

Description

Sets the mode to be used to specify the significant digits for the region bookmark.

Possible values are:

This environment variable works only when it is set in the .cdsinit file.

GUI Equivalent

The Significant Digits field on the Region Bookmark Properties for bookmark form.

Examples

envGetVal("viva.regionBookmark" "sigDigitsMode")
envSetVal("viva.regionBookmark" "sigDigitsMode" 'string "Manual")

foreground

viva.regionBookmark foreground string foregroundColor

Description

Specifies the foreground color of the region bookmark. The default value is "lightblue".

This environment variable works only when it is set in the .cdsinit file.

GUI Equivalent

The Foreground field on the Region Bookmark Properties for bookmark form.

Examples

envGetVal("viva.regionBookmark" "foreground")
envSetVal("viva.regionBookmark" "foreground" 'string "red")

background

viva.regionBookmark background string backgroundColor

Description

Specifies the background color of the region bookmark. The default value is "black".

This environment variable works only when it is set in the .cdsinit file.

GUI Equivalent

None

Examples

envGetVal("viva.regionBookmark" "background")
envSetVal("viva.regionBookmark" "background" 'string "yellow")

fillColor

viva.regionBookmark fillColor string fillColor

Description

Specifies the foreground color of the region bookmark. The default value is "blue".

All possible values are defined at the following location:

http://www.w3.org/TR/SVG/types.html#ColorKeywords

This environment variable works only when it is set in the .cdsinit file.

GUI Equivalent

The Foreground field on the Region Bookmark Properties for bookmark form.

Examples

envGetVal("viva.regionBookmark" "fillColor")
envSetVal("viva.regionBookmark" "fillColor" 'string "red")

notation

viva.regionBookmark notation string {"suffix" | "engineering" | "scientific"}

Description

Specifies the notation to be used in the region bookmark. The default value is "suffix".

Possible values are: suffix, engineering, and scientific.

This environment variable works only when it is set in the .cdsinit file.

GUI Equivalent

The Notation field on the Region Bookmark Properties for bookmark form.

Examples

envGetVal("viva.regionBookmark" "notation")
envSetVal("viva.regionBookmark" "notation" 'string "scientific")

lineStyle

viva.regionBookmark lineStyle string {"dash" | "solid" | "dot" | "dashdot" | "dashdotdot"}

Description

Specifies the line style of the region bookmark. The default value is "dash".

Possible values are: dash, solid, dot, dashdot, and dashdotdot.

This environment variable works only when it is set in the .cdsinit file.

GUI Equivalent

None

Examples

envGetVal("viva.regionBookmark" "lineStyle")
envSetVal("viva.regionBookmark" "lineStyle" 'string "dashdotdot")

showLabel

viva.regionBookmark showLabel string {"on when hover" | "on" | "off"}

Description

Specifies when to show bookmark label on the region bookmark.

Possible values are:

This environment variable works only when it is set in the .cdsinit file.

GUI Equivalent

The Annotation field on the Region Bookmark Properties for bookmark form.

Examples

envGetVal("viva.regionBookmark" "showLabel")
envSetVal("viva.regionBookmark" "showLabel" 'string "on")

zoomScaleFactor

viva.regionBookmark zoomScaleFactor string zoomScaleFactor

Description

Specifies the scale factor to be used when zooming the region bookmark. The default value is "1.5".

This environment variable works only when it is set in the .cdsinit file.

GUI Equivalent

None

Examples

envGetVal("viva.regionBookmark" "zoomScaleFactor")
envSetVal("viva.regionBookmark" "zoomScaleFactor" 'string "2.0")

Results Browser Variables

This section describes the following Results Browser environment variables:

historyLength

Specifies the maximum number of dataset paths saved in the Location pull-down in the Results Browser.

Syntax


viva.browser historyLength string "
maxDirectories
"

Values

maxDirectories

Maximum number of data directories that fit in the Location field.
Default: 10
Valid values: 0–20

plotstyle

Specifies the default plotting style for a new graph. This sets the default value for the plot style pull-down in the top right corner of the Results Browser.

Syntax


viva.browser plotStyle string "Append"
 | 
"Replace"
 | 
"New SubWin"
 | 
"New Win"

Values

append

Appends the new graph to the current graph.

replace

Replaces the current graph with the new graph. This is the default value.

newsub

Plots the graph in a new subwindow.

newwin

Plots the graph in a new window.

dataDirHome

Specifies the default directory for the Choose Data Directory dialog box.

Syntax


viva.browser dataDirHome string
 
"
directory
"

Values

directory

Directory which the Choose Data Directory dialog box defaults to. Default: ./

ignorePathsForDirValidityCheck

Specifies the results directory paths that are to be ignored by the Select Waveform database while checking the validity of results directories. This variable can help increase the performance of the Select Waveform Database form by not checking if the specified paths are valid simulation results directories or files.

Syntax

viva.browser ignorePathsForDirValidityCheck string "directoryPath" 

Values

directoryPath

Directory paths that are to be ignored.
Default value: /, /opt, /mnt, /home

ignoreDirLevelForDirValidityCheck

Specifies the hierarchy level below which the results directory or files are to be ignored by the Select Waveform Database form while checking the validity of results directories or files. This variable can help increase the performance of the Select Waveform Database.

For example, if you specify this variable as 3, then all the paths below /././. hierarchy level will be ignored for checking. The default value is 2.

Syntax

viva.browser ignoreDirLevelForDirValidityCheck string "hierarchy" 

Values

hierarchy

Hierarchy level below which paths are to be ignored
Default value: 2

Calculator Variables

This section describes the following Calculator environment variables:

usePreviousGuiSettings

Specifies whether the local defaults are to override the .cdsenv settings.

Syntax


viva.calculator usePreviousGuiSettings string "true"
 | 
"false"

Values

true

Local defaults for the following variables to override the .cdsenv settings: .showKeyPad, showStack, rpnMode, clipSelectionMode, signalSelection, plotStyle, defaultCategory, mathToolBar,TrigToolBar, schematicToolBar, schematicAnalyses, userButton, xLocation, yLocation, width, and height. This is the default value.

false

.cdsenv variable settings to override the local defaults.

rpnMode

Specifies whether the Calculator is in the rpn mode by default. You can change this setting through the Options menu in the Calculator window (Options–Set RPN).

Syntax


viva.calculator rpnMode string "true"
 | 
"false"

Values

true

Calculator is in rpn mode. This is the default value.

false

Calculator is in algebraic mode.

clipSelectionMode

Controls whether the Clip check box is selected by default in the Calculator window.

Syntax


viva.calculator clipSelectionMode string "true"
 |
"false"
 

Values

true

The Clip check box is selected, hence the calculator works on the visible X-axis of a zoomed in trace. This is the default value.

false

The Clip check box is not selected, hence the calculator works on the complete trace.

displayContext

Specifies whether the test or results directory is displayed.

Syntax


viva.calculator displayContext string "true"
 | 
"false"

Values

true

Test and Results Dir are displayed. If there is no current test, only the results directory is displayed.

false

Test and Results Dir are not displayed.

plotStyle

Controls the plot destination for graphs from the Calculator window.

Syntax


viva.calculator signalselection string "append"
 |
"replace"
 | 
"new Subwindow" 
|
"New Window"

Values

append

The trace is appended to an existing graph. This is the default value.

replace

The trace replaces the existing trace.

new Subwindow

The trace is plotted to a new subwindow.

new Window

The trace is plotted to a new window.

signalselection

Controls the Selection choices in the Calculator window.

Syntax


viva.calculator signalselection string "off"
 |
"wave"
 | 
"family"

Values

off

Selection choice in the Calculator window is set to off. This is the default value.

wave

Selection choice in the Calculator window is set to wave.

family

Selection choice in the Calculator window is set to family.

familyMode

Controls whether the Family button is selected by default in the Calculator window.

Syntax


viva.calculator familyMode string "true"
 | 
"false"

Values

true

The Family button is selected.

false

The Family button is not selected. This is the default value.

defaultCategory

Specifies the function category to be displayed.

Syntax


viva.calculator defaultCategory string "All"
 | 
"Favorites" 
| 
"Math" 
| 
"Modifier" 
| 
"Programmed Keys" 
| 
"RF Functions" 
| 
"Special Functions" 
| 
"Trigonometric" 
| 
"AWD Programmed Keys" 
| 
"SKILL Defined User Functions" 
| 
"Memories"

Values

All

Displays all the functions.

Favorites

Displays your favorite functions.

Math

Displays the math functions.

Modifier

Displays the modifier functions.

Programmed Keys

Displays the programmed keys.

RF Functions

Displays the RF functions.

Special Functions

Displays the special functions. This is the default value.

Trigonometric

Displays the trigonometric functions.

AWD Programmed Keys

Displays the AWD programmed keys.

SKILL Defined User Functions

Displays the SKILL defined functions.

Memories

Displays the memories you created.

sizeKeyPad

Controls the size of buttons of numeric keypad. It can be defined in small, medium or large sizes.

Syntax

viva.caculator sizeKeyPad string "small" "medium" "large"

Values

small

Button size will be small. This is default value

medium

Button size will be 1.5 times of small buttons.

large

Button size will be 2 times of small buttons.

stackSize

Controls the maximum number of expressions displayed in the Calculator stack. A scrollable list is displayed after this number is exceeded.

Syntax


viva.calculator stackSize string "
stack_number
"

Values

stack_number

Number of expressions displayed in the Calculator.
Default: 8
Valid values: Any positive integer

undoStackSize

Controls the maximum number of commands that can be undone.

Syntax


viva.calculator undoStackSize string "
undo_stack_number
"

Values

undo_stack_number

Number of commands that can be undone.
Default: 8
Valid values: 0–20

signalHistorySize

Controls the maximum number of items stored in the Signal field drop-down.

Syntax


viva.calculator signalHistorySize string "
signal_history_size
"

Values

signal_history_size

Number of items stored in the Signal field drop-down in the function panel of the Calculator.
Default: 8
Valid values: 0–20

xLocation

Controls the position where the Calculator window appears.

Syntax


viva.calculator xLocation string "
x_position
"

Values

x_position

Horizontal distance of the Calculator window from the left of the screen.
Default: 600
Valid values: A positive integer.

yLocation

Controls the position of the Calculator window.

Syntax


viva.calculator yLocation string "
y_position
"

Values

y_position

Vertical distance of the Calculator window from the top of the screen.
Default: 50
Valid values: A positive integer.

width

Controls the width of the calculator window.

Syntax


viva.calculator width string "
width_pixels
"

Values

width_pixels

Width of the Calculator window.
Default: 640
Valid values: A positive integer greater than 640.

height

Controls the height of the Calculator window.

Syntax


viva.calculator height string "
height_pixels
"

Values

height_pixels

Height of the Calculator window.
Default: 330
Valid values: A positive integer greater than 330.

showKeypad

Specifies whether the keypad is displayed.

Syntax


viva.calculator showKeypad string "true"
 | 
"false"

Values

true

Keypad is displayed. This is the default value.

false

Keypad is not displayed.

showStack

Specifies whether the stack (in RPN mode) or history (in Algebraic mode) is displayed.

Syntax


viva.calculator showStack string "true"
 | 
"false"

Values

true

Stack is displayed.

false

Stack is not displayed. This is the default value.

mathToolBar

Specifies whether the Math tool bar is displayed by default.

Syntax


viva.calculator schematicToolBar string "true"
 | 
"false"

Values

true

Math tool bar is displayed.

false

Math tool bar is not displayed. This is the default value.

trigToolBar

Specifies whether the trigonometric tool bar is displayed by default.

Syntax


viva.calculator schematicToolBar string "true"
 | 
"false"

Values

true

Trigonometric tool bar is displayed.

false

Trigonometric tool bar is not displayed. This is the default value.

schematicToolBar

Specifies whether the schematic access buttons are displayed.

Syntax


viva.calculator schematicToolBar string "true"
 | 
"false"

Values

true

Schematic access buttons are displayed. This is the default value

false

Schematic access buttons are not displayed.

schematicAnalyses

Controls the analyses for which the schematic access buttons are displayed. This variable is active only when the schematicToolBar variable is set to True.

Syntax


viva.calculator schematicAnalyses string "tran"
 | 
"ac" 
| 
"dc" 
| 
"sweptDc" 
| 
"info" 
| 
"noise" 
| 
"rf"

Values

tran

Displays the vt and i buttons.

ac

Displays vf and if buttons.

dc

Displays the vdc and idc buttons.

sweptDc

Displays the vs and is buttons.

info

Displays the op, var, opt, and mp buttons.

noise

Displays the vn and vn2 buttons.

rf

Displays the sp, zp, vswr, yp, hp, gd, zm, and data buttons.

userButton

Associates a function with the user button.

Syntax


viva.calculator userButton1 string "
abbreviation;function_name
" 

viva.calculator userButton2 string "
abbreviation;function_name
" 

viva.calculator userButton3 string "
abbreviation;function_name
" 

viva.calculator userButton4 string "
abbreviation;function_name
" 

viva.calculator userButton5 string "
abbreviation;function_name
" 

viva.calculator userButton6 string "
abbreviation;function_name
" 

viva.calculator userButton7 string "
abbreviation;function_name
" 

viva.calculator userButton8 string "
abbreviation;function_name
" 

viva.calculator userButton9 string "
abbreviation;function_name
" 

viva.calculator userButton10 string "
abbreviation;function_name
" 

viva.calculator userButton11 string "
abbreviation;function_name
" 

viva.calculator userButton12 string "
abbreviation;function_name
" 

Values

abbreviation

Name to be displayed on the user button. You can enter up to 6 characters for the abbreviation.

function_name

Function to be associated with the user button.

Example

viva.calculator userButton1 string "bw;bandwidth" 

restoreCustomCalcFunctions

viva.calculator restoreCustomCalcFunctions string {"true" | "false"}

Description

Specifies whether to disable loading of the custom functions from the customFunctions.ini file. Valid values are as follows:

Yo must set this environment variable in .cdsenv file for the settings to take effect.

GUI Equivalent

None

Examples

envGetVal("viva.calculator" "restoreCustomCalcFunctions")
envSetVal("viva.calculator" "restoreCustomCalcFunctions" 'string "false")

useD2A

Controls how the calculation results are represented for digital buses. When this variable is set to t, the digital to analog (D2A) method is used, in which the results are displayed as a number scaled between 0-5V. When this variable is set to nil (default value), the results are displayed as a string representing the bus value in binary format, for example 0b1z01.

Syntax

calculator.bus useD2A boolean nil

Values

t

Results are displayed as a number scaled between 0-5V.

nil

(Default value) Results are displayed as a string representing the bus value in binary format.

autoCorrectNoSpaceAfterMinus

Adds a space character after minus operator while evaluating the expressions of type a -b. By default, such expressions are automatically corrected and a warning message is displayed.

Syntax

viva.calculator autoCorrectNoSpaceAfterMinus string "true"

Values

true

(Default value) Space character is added automatically after the minus operator to autocorrect the expression.

nil

Space character is not added and evaluation of only first expression takes place. For example, only a is evaluated and plotted in the a -b expression.

This variable works only for single expressions containing the unary minus operator, such as a -b. If you have nested expressions, auto-correction using this variable does not work. For example, this variable will not work for the following expression: func1(func2(func1((VT("out1 -VT("out"))arg1)arg1 arg2)arg1 ar2 arg3)

maxEyePeriods

Specifies the maximum number of eye periods for the selected eye diagram. When the specified limit is reached, the eye diagram cannot be plotted and an error message is displayed.

Syntax

calculator.eyeDiagram maxEyePeriods string "1e6"

Default Value

1e6

Valid Values

Any string value

Example

calculator.eyeDiagram maxEyePeriods string "10e6"

Table Environment Variables

This section describes the following Table environment variables:

notation

Specifies the notation to be used for the table data. The Format Attributes form in the table still displays the default value for notation.

Syntax


viva.table notation string "suffix" 

Default Value

suffix

Valid Values

significantDigits

Specifies the significant digits to be used for the table data. The Format Attributes form in the table still displays the default value for significant digits.

viva.table significantDigits string "4"

Default value

4

Valid Values

Any integer value


Return to top
 ⠀
X