Documentation

This is machine translation

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

modifyCursor

System object: dsp.LogicAnalyzer
Package: dsp

Modify properties of specified cursor

Syntax

modifyCursor(H,tag)
modifyCursor(H,'CursorTag',tag)
modifyCursor(H,tag,'Name',Value)
modifyCursor(H,'CursorTag',tag,'Name',Value)

Description

modifyCursor(H,tag) modifies the properties of the cursor specified by the input tag.

modifyCursor(H,'CursorTag',tag) modifies the properties of the cursor specified by the input tag.

modifyCursor(H,tag,'Name',Value) modifies the properties of the cursor specified by the input tag with each specified property Name set to the specified value. You can specify NameValue arguments in any order.

modifyCursor(H,'CursorTag',tag,'Name',Value) modifies the properties of the cursor specified by the input tag with each specified property Name set to the specified value. You can specify NameValue arguments in any order.

Input Arguments

expand all

The Logic Analyzer object for which you want to modify a cursor specified, as a handle to the dsp.LogicAnalyzer object.

The tag identifying which cursor to modify specified, as a randomly assigned character vector.

Example: 'modifyCursor(H,tag)' modifies a cursor in Logic Analyzer.

Example: 'H.modifyCursor(tag)' modifies a cursor in Logic Analyzer.

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: 'Location',2,'Color','Blue' specifies that a cursor should be moved to the 2-second mark and colored blue.

expand all

'Color' must be one of the following.

  • 'Black'

  • 'Blue'

  • 'Cyan'

  • 'Green'

  • 'Magenta'

  • 'Red'

  • 'White'

  • 'Yellow'

Example: 'Color','Blue'

Data Types: char

Specify as a numeric scalar value, in seconds, the cursor location.

Example: 'Location','1.0'

Data Types: double

Specify as a logical scalar whether the cursor location should be locked.

  • If you choose true, then the cursor's location cannot be changed. Logic Analyzer denotes this by assigning a default color of red.

  • If you choose false, then the cursor's location can be changed. Logic Analyzer denotes this by assigning a default color of yellow.

Example: 'Locked',true

Was this topic helpful?