LabWindows/CVI

Content Type
Programming Language
Current manual
Table of Contents
Product DocumentationLabWindows/CVIATTR_COPY_ORIGINAL_DATACurrent page
Table of Contents

ATTR_COPY_ORIGINAL_DATA

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
In This Section
Was this information helpful?

Help us improve your future ni.com experience.

Did you find the documentation you were looking for?

Submit