LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Waveform charts and graphs

Hello LabView experts,

 

I am trying to understand the basics of waveform charts and graphs.

I wrote a simple vi similar to that shown by  ni in youtube video.

my vi file is attached with this.

But, this vi does not work properly in my PC. The waveform charts works fine, but the waveform graph does not work.

Can someone explain why the graph is not updated even after stopping the vi and what is wrong with my vi?

Thank you

Moorthy

  

0 Kudos
Message 1 of 8
(3,580 Views)

It works fine for me.

0 Kudos
Message 2 of 8
(3,559 Views)

Hi Moorthy,

 

Can someone explain why the graph is not updated even after stopping the vi and what is wrong with my vi?

The VI works as expected! There's nothing "wrong" with your VI!

The graph follows the very basic THINK DATAFLOW! rule and shows its plot once you press the stop button…

Best regards,
GerdW


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

Hi,

 

Thanks for your reply.

It does not work in my PC in LabView 2012.

The chart shows data flow.

But, the waveform graph is not showing any data.

What will be the problem in my LabView2012?

How can I resolve this problem?

I would greatly appreciate your help.

 

Kind Regards

Moorthy

 

0 Kudos
Message 4 of 8
(3,526 Views)

Hi Moorthy,

 

The chart shows data flow. But, the waveform graph is not showing any data.

As soon as you press the stop button on your frontpanel the graph should show the data!

LV2012 behaves the same in regards to DATAFLOW as any other LabVIEW version…

Best regards,
GerdW


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

I'm going to take a stab in the dark on this one.

 

What do you mean by "stopping your VI"?  For us, it means when you press your stop button.

 

I sure hope you don't mean you are hitting the Abort button which is on the LabVIEW toolbar.  That is not the same as stopping your VI.  It is actually crashing your VI with an instantaneous break and should only be used if you are debugging and can't get your VI to stop.

0 Kudos
Message 6 of 8
(3,512 Views)

Hi Both experts,

Now, I realised the mistake. It is working now.

Yes, I was using the wrong red button, not the STOP button.

Now I learned the difference between red button on the tool bar and the STOP button on the VI.

It is an another learning for me.

Thank you very much both.

 

Kind regards

Moorthy

0 Kudos
Message 7 of 8
(3,509 Views)

Hi Moorthy,

 

to learn even more I suggest to go through the "Getting Started" links shown on top of the LabVIEW board! 😄

Best regards,
GerdW


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