StartAcquisition

<< Click to Display Table of Contents >>

 

StartAcquisition

StartAcquisition()

Enables a Historic to store its field values periodically, using a rate specified in the ScanTime property. This method can be used at any time after using the StopAcquisition method. Default behavior of this method is to start an application enabled, that is, this method is always executed internally when starting a Historic. The next script contains an example of using this method.

Sub Button1_Click()
  ' When clicking this button, enables Historic.
  Application.GetObject("Hist1").StartAcquisition()
End Sub

Was this page useful?