<< Click to Display Table of Contents >>
CreateNewSession |
CreateNewSession([DefaultType], [DefaultMinRecTime], [DefaultMaxRecTime], [DefaultDeadBand], [DefaultDeadBandUnit], [DefaultScanTime])
Creates a Session capable of including data on a Storage, independent of normal acquisition. Optional parameters are used to configure Session Tags, if they are not informed during creation. They are, respectively:
•DefaultType: Data type (0: Double, 1: Bit, 2: String, or 3: Integer). If this parameter is omitted, uses the value 0: Double
•DefaultMinRecTime: Minimum time interval between recordings. If this parameter is omitted, uses the value 0 (zero)
•DefaultMaxRecTime: Maximum time interval without recordings. If this parameter is omitted, uses the value 3600
•DefaultDeadBand: Dead band. If this parameter is omitted, uses the value 1 (one)
•DefaultDeadBandUnit: Tag's dead band unit (0: Percentage or 1: Absolute). If this parameter is omitted, uses the value 1: Absolute
•DefaultScanTime: Scan time. If this parameter is omitted, uses the value 0 (zero)
This methods works even if there are no Fields configured in a Storage object.