API Docs for:
Show:

dsoctrl Class

The class define all needed public properties and methods

Methods

Autoset

(
  • callback
)

The method belong to dsoctrl class used to set the device into autoset state

Parameters:

  • callback Function

    Called when finished setting

connect

(
  • callback
)

The method belong to dsoctrl class used to connect to device, connect method must be called and wait to complete before any dsoctrl method.

Parameters:

  • callback Function

    callback(e) Called when connection has been made

force

(
  • callback
)

The method belong to dsoctrl class used to set the device into force trigger state

Parameters:

  • callback Function

    Called when finished setting

getEdgeTrig

(
  • callback
)

The method belong to dsoctrl class used to get the edge trigger properties from device

Parameters:

  • callback Function

    callback(e, trigProperty) Called when finished loading

getHorizontal

(
  • callback
)

The method belong to dsoctrl class used to load horizontal properties from device, like time division, position .. etc.

Parameters:

  • callback Function

    callback(e, horProperty) Called when finished loading

getMeas

(
  • mCh
  • callback
)

The method belong to dsoctrl class used to get the measurment properties for the selected measure channel from device

Parameters:

  • mCh String

    Specify which measure channel wants to be loaded

  • callback Function

    callback(e, measProperty) Called when finished loading

getRawdata

(
  • ch
  • callback
)

The method belong to dsoctrl class used to get the data in acquisition memory for the selected channel form device

Parameters:

  • ch String

    Specify which channel wants to be loaded

  • callback Function

    callback(e, rawData) Called when finished loading

getSnapshot

(
  • callback
)

The method belong to dsoctrl class used to get the current screen from device,

Parameters:

  • callback Function

    callback(e, dsipData) Called when finished loading

getVertical

(
  • ch
  • callback
)

The method belong to dsoctrl class used to load vertical properties from device, like scale, position .. etc.

Parameters:

  • ch String

    Specify which channel wants to be loaded

  • callback Function

    callback(e, chProperty) Called when finished loading

reloadState

(
  • callback
)

The method belong to dsoctrl class used to load all properties from device, like trigger type, channel state .. etc.

Parameters:

  • callback Function

    callback(e) Called when finished loading

run

(
  • callback
)

The method belong to dsoctrl class used to set the device into run state

Parameters:

  • callback Function

    Called when finished setting

setMeas

(
  • measConf
  • callback
)

The method belong to dsoctrl class used to setup a periodical measure channel with specify measure type and source channel

Parameters:

  • measConf Object

    Config to setup a measure channel

  • callback Function

    Called when finished setting

single

(
  • callback
)

The method belong to dsoctrl class used to set the device into single state

Parameters:

  • callback Function

    Called when finished setting

statisticOff

(
  • callback
)

The method belong to dsoctrl class used to turn off statistics for all measure channels

Parameters:

  • callback Function

    Called when finished setting

statisticOn

(
  • callback
)

The method belong to dsoctrl class used to turn on statistics for all measure channels

Parameters:

  • callback Function

    Called when finished setting

statisticWeight

(
  • weight
  • callback
)

The method belong to dsoctrl class used to set the statistic weight all measure channels

Parameters:

  • weight Number

    Specify statistic weight

  • callback Function

    Called when finished setting

stop

(
  • callback
)

The method belong to dsoctrl class used to set the device into stop state

Parameters:

  • callback Function

    Called when finished setting

supportedMeasType

(
  • measureType
)

The method belong to dsoctrl class used to get the measurment type of device supported

Parameters:

  • measureType Array

Properties

chProperty

Unknown

Channel property of device.

Sub-properties:

  • coupling String

    Specify coupling on AC,DC or GND

  • impedance String

    Specify the impedance of the analog channel

  • invert String
  • bandwidth String
  • expand String
  • state String
  • position String
  • deskew String
  • rawdata String
  • probe.unit String
  • probe.atten String

horProperty

Unknown

Horizontal property of device.

Sub-properties:

  • position String

    Specify the distance with triggered pointer of the main window

  • zposition String

    Specify the distance with triggered pointer of the zoom window

  • scale String

    Specify the time divison of the main window

  • zscale String

    Specify the time divison of the zoom window

  • mode String

    Specify which mode device on

  • expand String

    Specify timebase expand by center or trigger position

measConf

Object

Object used to setup a measure channel

Sub-properties:

  • src1 String

    Specify first source channel for measurement

  • src2 String

    Specify second source channel for delay measure type

  • type String

    Specify measure type

measProperty

Unknown

Measurement property of device.

Sub-properties:

  • stdValue String
  • minValue String
  • meanValue String
  • value String
  • state String
  • source1 String
  • source2 String
  • type String
  • state String

trigProperty

Unknown

Trigger property of device.

Sub-properties:

  • type String
  • source String
  • mode String
  • holdoff String
  • noise_rej String
  • reject String
  • level String
  • alt String
  • state String
  • edge.coupling String
  • edge.slop String