LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

WaveformChart bug? (LV2014 SP1)

Solved!
Go to solution

Hi all,

 

Here's a VI in which I set plot properties on a chart and then plot values in it every 100ms.

When I run it I get a "not enough memory to complete this operation" message, after hitting "Ok" on the message I can see that this message was not blocking the execution of the VI.

My assumption is that LabVIEW doesn't really like the order in which I set the plot properties and instead a throwing an error out of the property node, it throws this "not enough memory" message.

 

Can anyone test this in a more recent version of LabVIEW please?


We have two ears and one mouth so that we can listen twice as much as we speak.

Epictetus

Antoine Chalons

0 Kudos
Message 1 of 17
(3,921 Views)

@TiTou wrote:

Can anyone test this in a more recent version of LabVIEW please?


I get no error with LabVIEW 2015 SP1.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 2 of 17
(3,918 Views)

... and here it is in LabVIEW 2016.

Chart Example.png

Bob Schor

0 Kudos
Message 3 of 17
(3,897 Views)

Ok, thank you both for trying.

So this issue doesn't appear in LV 2015 and 2016, that's good news.

 

Anyone can reproduce it in LV 2014 ?


We have two ears and one mouth so that we can listen twice as much as we speak.

Epictetus

Antoine Chalons

0 Kudos
Message 4 of 17
(3,886 Views)

Hi TiTou,

 

just run your VI with LV2014SP1 and encountered NO problems…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 5 of 17
(3,880 Views)

GerdW a écrit :

Hi TiTou,

 

just run your VI with LV2014SP1 and encountered NO problems…


Aha... are you running LV 2014.0f1 64b ?


We have two ears and one mouth so that we can listen twice as much as we speak.

Epictetus

Antoine Chalons

0 Kudos
Message 6 of 17
(3,878 Views)

Hi TiTou,

 

I'm running LV2014SP1-32bit (or "Version 14.0.1" in LabVIEW "About" window) on Win7-64bit:

check.png

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 7 of 17
(3,876 Views)

Can you please try one more thing :

- open the VI

- run it

- stop it by closing the FP

- then right clic on the chart > Data operation > Clear chart

- then save the VI

- run the VI again

 

Cheers


We have two ears and one mouth so that we can listen twice as much as we speak.

Epictetus

Antoine Chalons

0 Kudos
Message 8 of 17
(3,870 Views)

On LV2016 Mac evaluation version, the first time I run the VI, there is no issue, I stop it and re-run it an then I get a hang 😮


We have two ears and one mouth so that we can listen twice as much as we speak.

Epictetus

Antoine Chalons

0 Kudos
Message 9 of 17
(3,856 Views)

Hi TiTou,

 

Can you please try one more thing :

- open the VI

- run it

- stop it by closing the FP

- then right clic on the chart > Data operation > Clear chart

- then save the VI

- run the VI again

I did as you asked for: the VI runs in the 2nd run the same "flawless" way as in the 1st run…

 

See this result of VI properties -> Memory usage after the 2nd run:

check.png

 

I also attach your VI after saving it (before 2nd run)…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 10 of 17
(3,831 Views)