LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
yipilipi

waveform chart pause

Status: Declined

Any idea that has received less than 5 kudos within 5 years after posting will be automatically declined.

I think it can be nice to have the same pause feature as implemented in Labwindows CVI  stripchart.

In CVI you can pause chart update , use the scrollbar to navigate trough historical buffer, during pause  data is filled in the buffer, as soon as pause is disabled, graph is updated with the new value

Labview waveform chart have the historical buffer but we don't have the ability to pause the graph update. Each time data is append to the chart, the new data will show. 

 

Regards

5 Comments
ThiCop
NI Employee (retired)

This feature request seems to be linked to the following one:

http://forums.ni.com/t5/LabVIEW-Idea-Exchange/Disable-front-panel-control-Update/idi-p/1978245

 

You could partially fulfill this task by temporarily Disabling all Front Panel Updates.

Once you enable them again, the chart should be correctly updated.

 

One work-around to get this to work correctly would be to work with a subpanel containing (only) the chart and disable the front panel updates of this subpanel.

Or of course you could always create an XControl. Maybe there even already exists one online.

Kind Regards,
Thierry C - CLA, CTA - Senior R&D Engineer (Former Support Engineer) - National Instruments
If someone helped you, let them know. Mark as solved and/or give a kudo. 😉
AristosQueue (NI)
NI Employee (retired)

ThiCop: If they disable panel updates, the panel is truly frozen... they wouldn't be able to interact with the strip chart. I don't think that's a solution at all for this user.

 

The XControl solution would work as a workaround until such time (if) NI added the feature to the chart.

Manzolli
Active Participant

Very useful and without a easy workaround. Kudos!

André Manzolli

Mechanical Engineer
Certified LabVIEW Developer - CLD
LabVIEW Champion
Curitiba - PR - Brazil
xl600
Active Participant

Better late than never, but I solve this in a generic way:

 

I have a "Plot Hold" button in which I detect rising and falling edges.  My chart data is based on waveforms.

 

  1. If hold goes true, I initialize a hold buffer with the latest chart update WFM and send a zero length WFM to the chart (Chart doesn't update and you can interact with it).
  2. While held, I append new updates to the buffer and continue to send zero length WFM updates to the chart.  Since the chart itself isn't actually disabled in any way, I can still interact with it.
  3. If hold goes false, I append the latest chart update WFM to the buffer and dump the entire buffer into the chart.  The chart jumps forward with all the held data showing.
  4. If hold is false, I just pass the latest update into the chart.

Watching the growth of the buffer is critical to prevent memory overflow.  If the buffer gets too big, I disable hold (Rather than trying to drop leading data from the buffer...).  In practice, I can hold my charts for hours but I never do.

 

Darren
Proven Zealot
Status changed to: Declined

Any idea that has received less than 5 kudos within 5 years after posting will be automatically declined.