Admin Production ni-theme
Current Publication

ATTR_DATA_MODE

LabWindows/CVI

ATTR_DATA_MODE

Type: Control attribute
Description: Specifies whether plot data is retained after the plot is drawn. Discarding the data can save memory (especially when plotting multiple plots), but it causes the plots to disappear when the graph is rescaled or when ATTR_SMOOTH_UPDATE is FALSE and the graph is redrawn.
Control Types: Graphs.
Data Type: integer
Default Value: VAL_RETAIN
LabWindows/CVI
Compatibility:
LabWindows/CVI 3.0 and later

Values

VAL_RETAIN LabWindows/CVI retains plot data in memory and accesses the data when the plot is overlapped or hidden.
VAL_DISCARD LabWindows/CVI frees plot data as soon as the plot is drawn. This conserves memory, but plots are lost if the graph is rescaled, overlapped or hidden.