COM object EvFileset
EvApplication > EvFileCollection > EvFile > EvFilesetsCollection > EvFileset
View the COM map and the COM summary. |
The EvFileset object enables you to get information about the fileset and change aspects of the fileset.
The EvFile.Filesets[] property lists all the filesets in an EV file and is an EvFilesetsCollection.
EvFileset collections:
EvFileset methods and properties:
EndTime
GetCalibrationFileName
Name
Notes
SetCalibrationFile
SpecifiedStartTime
StartTime
TimeOffset
TimeOffsetMode
|
Description |
(read-only) DATE EndTime SummaryGet the date1 and time of the last measurement in the fileset. |
|
(read-only) DataFiles[] SummaryGet access to the data files collection of the fileset. |
|
string GetCalibrationFileName() SummaryGet the name of the ECS file used by the fileset. An ECS file allows you to modify calibration settings for the data in a fileset of an EV file. ExampleSee EvCalibration. |
|
(read-write) string Name SummaryAccess or change the name of the fileset. |
|
(read-write) string Notes SummaryAccess or change the notes of the fileset. |
|
SetCalibrationFile(string Name) SummarySpecifies and reads the ECS file. Parameters
ReturnTrue, if successful. ExampleTo remove an ECS file, enter an empty string for the Name. See also EvCalibration. |
|
SpecifiedStartTime | DATE SpecifiedStartTime SummarySets the start time (yyyy-MM-dd HH:mm:ss). This corresponds to Specify start time in the Fileset Properties dialog box. ExampleDim oEvApp Set oEvApp = CreateObject("EchoviewCom.EvApplication") Dim oEvFile: Set oEvFile = oEvApp.OpenFile("YourEVFile.EV") Dim oFileset: Set oFileset = oEvFile.Filesets.FindByName("Yourfileset") Dim time time = oFileset.SpecifiedStartTime MsgBox "Start time is: " + cstr(time) oFileset.SpecifiedStartTime = CDate("2021-10-10 12:21:32") time = oFileset.SpecifiedStartTime MsgBox "Start time is: " + cstr(time) 'Specify Adjust fileset time behavior See also: GoToPingRange Time snippet example for information about the Visual Basic function CDATE. |
(read-only) DATE StartTime SummaryGet the date1 and time of the first measurement in the fileset. |
|
(read-write) double TimeOffset SummaryGet or set the time offset as applied to data files in the fileset. The time offset is specified in seconds. ExampleSee SpecifiedStartTime example |
|
Variables | (read-only) Variables[] SummaryGet access to the collection of all raw variables contained in this fileset. |
EFilesetTimeOffsetType TimeOffsetMode SummaryThe fileset time may be adjusted for a specified start time, or with a time offset, corresponding to the Adjust fileset time setting on the Fileset Properties dialog box. Indicate the adjustment type via the enum EFilesetTimeOffsetMode ExampleSee SpecifiedStartTime example |
See also
Scripting with COM objects
EvFilesetsCollection
COM object hierarchy