ATTR_DIGWAVEFORM_LINE_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 TRUE. You can use the "[BUS]" and "[LINE]" tokens to enumerate the line labels. When LabWindows/CVI plots data to the digital graph, it replaces "[BUS]" with the number of the current bus and replaces "[LINE]" with the number of the current line. Line and bus numbering is zero-based. For example, the string "Signal [BUS]-[LINE]" creates a line label of "Signal 0-3" for the fourth digital line in the first bus. The string "[BUS]-Line [LINE]" creates a label of "2-Line 0" for the first line in the third bus. If ATTR_DIGWAVEFORM_EXPAND_BUSES is set to FALSE, LabWindows/CVI displays instead the ATTR_DIGWAVEFORM_BUS_LABEL text along the y-axis. To determine the size of the buffer to pass when you are obtaining the label, call GetCtrlAttribute and specify the ATTR_DIGWAVEFORM_LINE_LABEL_LENGTH attribute. |
Control Types: | Digital graphs. |
Data Type: | string |
Default Value: | "Line [BUS]-[LINE]" |
LabWindows/CVI Compatibility: |
LabWindows/CVI 7.1 and later |