Category: Scope

Functions from the Scope category help working with Scope view functionality. They are shown in the following table:

Function

Description

openScope

Open the Scope.

closeScope

Close the Scope.

startRecord

Begin the record on the TwinCAT 3 Scope Server.

stopRecord

End the record on the TwinCAT 3 Scope Server.

startDisplay

Start to get the live data from scope record.

stopDisplay

Stop to get the live data from scope record.

zoomToDefault

Zoom to the default display width.

zoomOutMax

Zoom to the highest display width at this time.

goTo

Go to the valueNew start time.

Parameters:

  • valueNew: the new start time.
  • type: String
  • format: d,HH:mm:ss,fff:uuu (no break spaces) , where:
  • d – days;
  • HH – hours;
  • mm – minutes;
  • ss – seconds;
  • fff – milliseconds;
  • uuu – microseconds.

setDisplayWidth

Sets a valueNew for the display width.

Parameters:

  • valueNew : the new display width.
  • type: String
  • format: d,HH:mm:ss,fff:uuu (no break spaces) , where:
  • d – days;
  • HH – hours;
  • mm – minutes;
  • ss – seconds;
  • fff – milliseconds;
  • uuu – microseconds.

scroll

Scroll forward (or reverse).

Parameters:

  • valueNew : the direction of scrolling
  • Type: TcHmi.Controls.Beckhoff.TcHmiScopeControl.ScrollDirection.

scrollBig

Scroll big: (a full page) forward (or reverse) for the Scope Control.

Parameters:

  • valueNew : the direction of scrolling
  • type: TcHmi.Controls.Beckhoff.TcHmiScopeControl.ScrollDirection.

undo

Undo the last interaction.

redo

Redo the last interaction.

setOverviewMode

Toggle the overview.

setMouseMode

Set the mouse mode for interactions.

Parameters:

  • valueNew : the new mouseMode
  • type: TcHmi.Controls.Beckhoff.TcHmiScopeControl.MouseMode.

getMouseMode

get the mouse mode