Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

getDisplayChannelInfo

System object: dsp.LogicAnalyzer
Package: dsp

Return settings for specified display channel

Syntax

channelInfo = getDisplayChannelInfo(scope,'DisplayChannelTag',tag)

Description

channelInfo = getDisplayChannelInfo(scope,'DisplayChannelTag',tag) returns the settings for the display channel or channels, specified by the input tag.

Input Arguments

expand all

The Logic Analyzer object from which you want to return display channel settings, specified as a handle to the dsp.LogicAnalyzer object.

Name-Value Pair Arguments

Specify optional comma-separated pairs of Name,Value arguments. Name is the argument name and Value is the corresponding value. Name must appear inside single quotes (' '). You can specify several name and value pair arguments in any order as Name1,Value1,...,NameN,ValueN.

Example: 'DisplayChannelTag','W5' specifies to return display channel settings about the wave with tag 'W5'.

expand all

The tag or tags identifying the display channel or channels about which to get information, specified as a character vector or cell array of character vectors.

Example: 'DisplayChannelTag','W5'

Example: 'DisplayChannelTag',{'W4','W5'}

Data Types: char | cell

Output Arguments

expand all

The channelInfo struct contains the following fields:

  • Color — Color of the waves.

  • InputChannel — Channel on the display that corresponds to the specified waves.

  • Radix — Radix for the waves.

  • FontSize — Font size for values in the waves. A value of 0 indicates that the waves inherit FontSize from the global DisplayChannelColor property.

  • Name — The name or label for the waves.

  • Height — Height of the wave. A value of 0 indicates that the waves inherit Height from the global DisplayChannelHeight property.

  • Tag — Tag for the channel.

Was this topic helpful?