Type

<< Click to Display Table of Contents >>

 

Type

Enum Determines the Tag's wave type. Change this property according to the next table. When the Type property is set to 3 (CurrentTime), the Value property contains the current server's date and time.

Available options for Type

Value

Waveform

0

Random

1

Sine (default)

2

Square

3

CurrentTime

4

RampUp

5

RampDown

6

RampUpDown

 

Example:

Sub Line1_Click()
  Application.GetObject("Data.DemoTag2").Type = 2
End Sub

Was this page useful?