From 12:00 PM - 8:00 PM CST on Thursday, October 18, ni.com will be undergoing system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Table Of Contents

Get Digital Waveform Attribute (G Dataflow)

Last Modified: January 9, 2017

Retrieves either the value of a single digital waveform attribute or the names and values of all digital 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 digital waveform for which you want to get an attribute.

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 Digital Waveform Attribute and select Get All Attributes in 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 Digital Waveform Attribute and select Get All Attributes in 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 digital waveform 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 containing the names of all the digital waveform attributes if you click Get Digital Waveform Attributes and select Get All Attributes on the Item tab.

datatype_icon

names

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

spd-note-note
Note  

This parameter is only available if you click Get Digital Waveform Attribute and select Get All Attributes on 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 value is replaced by a 1D array containing the values of all attributes if you click Get Digital Waveform Attribute and select Get All Attributes on the Item tab.

datatype_icon

values

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

spd-note-note
Note  

This parameter is only available if you click Get Digital Waveform Attribute and select Get All Attributes on 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