12-13-2023 06:29 AM
Is it okay to pass a chart reference to a sub vi and write data to it? Why is it not working here? Are there any performance problems with it?
Thanks John
12-13-2023 06:35 AM
Hi John,
@john_or wrote:
Is it okay to pass a chart reference to a sub vi and write data to it?
Yes.
@john_or wrote:
Why is it not working here?
Your loop stops on error: which error do you get?
@john_or wrote:
Are there any performance problems with it?
Using references/property nodes to write data into indicators is considered slow (when compared to writing to the terminal).
12-13-2023 07:03 AM
@john_or wrote:
Is it okay to pass a chart reference to a sub vi and write data to it? Why is it not working here? Are there any performance problems with it?
Thanks John
Value is not the property you want to use. Read the Chart History array property, append the dequeued array to the Chart History array then write the appended array back to the Chart History property.
12-13-2023 07:13 AM