Table Of Contents

Get Waveform Attribute (G Dataflow)

Last Modified: January 9, 2017

Retrieves either the value of a single waveform attribute or the names and values of all waveform attributes.

To retrieve the names and values of all attributes of the waveform, select Get All Attributes in the Behavior section of the Item tab.

connector_pane_image
datatype_icon

waveform

The waveform for which you want to retrieve the attribute and value.

datatype_icon

name

The name of the attribute whose value you want to retrieve.

spd-note-note
Note  

This input is not available if you click Get Waveform Attribute and select Get All Attributes in the Behavior section of the Item tab.

datatype_icon

default value

A value and data type that you specify. If the node does not find the attribute specified in name, it returns the default value.

spd-note-note
Note  

This input is not available if you click Get Waveform Attribute and select Get All Attributes in the Behavior section of the Item tab.

datatype_icon

error in

Error conditions that occur before this node runs. The node responds to this input according to standard error behavior.

Default: No error

datatype_icon

duplicate waveform

The waveform data you input in waveform.

datatype_icon

found

A Boolean value that indicates whether the node found the attribute that is specified in name.

True The node found the attribute specified in name.
False The node did not find the attribute specified in name.
spd-note-note
Note  

This output is replaced by a 1D array output containing the names of all the waveform attributes if you click Get Waveform Attribute and select Get All Attributes in the Behavior section of the Item tab.

datatype_icon

names

A 1D array containing the names of all attributes associated with the waveform.

spd-note-note
Note  

This output is only available when you click Get Waveform Attribute and select Get All Attributes in the Behavior section of the Item tab.

datatype_icon

value

The value associated with the attribute you wire to name.

If the node does not find the attribute specified in name, it returns the value passed to default value.

spd-note-note
Note  

This output is replaced by a 1D array output containing the values of all the waveform attributes if you click Get Waveform Attribute and select Get All Attributes in the Behavior section of the Item tab.

datatype_icon

values

A 1D array containing the values associated with each attribute of the waveform.

spd-note-note
Note  

This output is only available when you click Get Waveform Attribute and select Get All Attributes in the Behavior section of the Item tab.

datatype_icon

error out

Error information. The node produces this output according to standard error behavior.

Where This Node Can Run:

Desktop OS: Windows

FPGA: Not supported


Recently Viewed Topics