Reset Method

Measurement Studio User Interface

Reset Method

Syntax

CWData.Reset

Purpose

Clears value and all attributes.

Remarks

If the CWData object is owned by a CWDataSocket and the CWDataSocket is connected to a data target in a write access mode, resetting the CWData object triggers the CWDataSocket.Update method and sets the CWDataSocket.DataUpdated property to True.

Example

' Clear the current value and all attributes held by a CWDataSocket
CWDataSocket1.Data.Reset