Adds or replaces a digital waveform attribute. You can wire any data type for the value of the attribute.
The digital waveform for which you want to add or replace an attribute.
The name of the attribute. If the attribute in name already exists, the node overwrites the attribute with the new value and replaced is True. If the attribute in name does not exist already, the node creates a new attribute.
The value of the attribute. You can wire any data type to this input.
Error conditions that occur before this node runs.
The node responds to this input according to standard error behavior.
Standard Error Behavior
Many nodes provide an error in input and an error out output so that the node can respond to and communicate errors that occur while code is running. The value of error in specifies whether an error occurred before the node runs. Most nodes respond to values of error in in a standard, predictable way.
Default: No error
The resulting digital waveform.
Error information.
The node produces this output according to standard error behavior.
Standard Error Behavior
Many nodes provide an error in input and an error out output so that the node can respond to and communicate errors that occur while code is running. The value of error in specifies whether an error occurred before the node runs. Most nodes respond to values of error in in a standard, predictable way.
Waveform signals obtained from a DAQ device include specific waveform attributes whose data you can access in your program. The following table lists the waveform attributes set by DAQmx.
Attribute | Name | Data Type | Acceptable Values | Description |
---|---|---|---|---|
Name of Channel | NI_ChannelName | String | Any value | NI_ChannelName is the name of the virtual channel producing the waveform. |
Name of Digital Line(s) | NI_LineNames | String | Any value | NI_LineNames is the name of the digital line in the waveform. |
Unit for Data | NI_UnitDescription | String | Volts, PSI, etc. | NI_UnitDescription is the units of measure for the waveform. |
Decibel Reference | NI_dBReference | Double | Finite values greater than zero | NI_dBReference is the reference value to use when converting measurement levels to decibel. |
Where This Node Can Run:
Desktop OS: Windows
FPGA: This product does not support FPGA devices
Web Server: Not supported in VIs that run in a web application