Admin Production ni-theme
Current Publication

ATTR_COPY_ORIGINAL_DATA

LabWindows/CVI

ATTR_COPY_ORIGINAL_DATA

Type: Control attribute
Description: Specifies whether a copy of your original plot data is kept for each new plot added to the graph, or whether CVI keeps only a reference to the data array that you pass to the plotting function. CVI needs to access the original plot data whenever the graph is rescaled, or the graph is printed.

If the graph keeps only a pointer to the data, erroneous results might occur if you change or deallocate the data. Copying the data prevents these problems but uses more memory and increases the plot time.

0 = Keep a reference to the original data

1 = Copy original data
Control Types: Graphs.
Data Type: integer
Default Value: 1
LabWindows/CVI
Compatibility:
LabWindows/CVI 3.0 and later

Values

0 False
1 True