DIAdem Help

Property: DoubleBuffered for Bode

  • Updated2024-09-12
  • 2 minute(s) read

Property: DoubleBuffered for Bode

Specifies whether DIAdem plots a Bode axis system without flickers during the update in DIAdem VIEW.

Object.DoubleBuffered
ObjectBode
Object with this property
Object.DoubleBufferedBoolean with read and write access
Note  DIAdem uses two buffers when plotting graphics. DIAdem displays the contents of the first buffer and plots the graphic into the second buffer that is in the background. When DIAdem has finished plotting the graphic, DIAdem exchanges the buffers. Because exchanging the buffers occurs faster than the plotting, DIAdem can ensure that the plotting is flicker free. Therefore DIAdem refreshes the display after the plotting process is complete. When a lot of data must be plotted, it might seem that DIAdem is not reacting. When you are working interactively in VIEW and want to display long channels, use the setting DoubleBuffered = FALSE. When you program events, use the setting DoubleBuffered = TRUE.

The following example creates a Bode axis system and prevents any flickering during the plotting process:

VBScriptPython

 

View.Sheets(1).Areas(1).DisplayObjType = "Bode"
Dim oMyChart: Set oMyChart = View.Sheets(1).Areas(1).DisplayObj
Call oMyChart.CurvesBode.Add("[1]/[1]","[1]/[2]","[1]/[3]")
oMyChart.DoubleBuffered = TRUE