# ATTR_DIGWAVEFORM_BUS_LABEL

Type: | Control attribute
Description: | The text that LabWindows/CVI displays along the y-axis for every digital graph plot if ATTR_DIGWAVEFORM_EXPAND_BUSES is set to FALSE. You can use the "[BUS]" token to enumerate the bus labels. When LabWindows/CVI plots data to the digital graph, it replaces "[BUS]" with the number of the current bus. Bus numbering is zero-based. For example, the string "Signal [BUS]" creates a bus label of "Signal 0" for the first bus. The string "Bus [BUS]-Line [LINE]" creates a bus label of "Bus 2-Line " for the third bus. Notice that LabWindows/CVI removes the "[LINE]" token from the bus label because this token is not used when buses are collapsed. If ATTR_DIGWAVEFORM_EXPAND_BUSES is set to TRUE, LabWindows/CVI displays instead the ATTR_DIGWAVEFORM_LINE_LABEL text along the y-axis.
Control Types: | Digital graphs.
Data Type: | string
Default Value: | "Bus [BUS]"