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:

DataFiles
Variables

EvFileset methods and properties:

EndTime
GetCalibrationFileName
Name
Notes
SetCalibrationFile
SpecifiedStartTime
StartTime
TimeOffset
TimeOffsetMode

 

Description

EndTime

(read-only) DATE EndTime

Summary

Get the date1 and time of the last measurement in the fileset.

DataFiles

(read-only) DataFiles[]

Summary

Get access to the data files collection of the fileset.

GetCalibrationFileName

string GetCalibrationFileName()

Summary

Get 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.

Example

See EvCalibration.

Name

(read-write) string Name

Summary

Access or change the name of the fileset.

Notes

(read-write) string Notes

Summary

Access or change the notes of the fileset.

SetCalibrationFile

SetCalibrationFile(string Name)

Summary

Specifies and reads the ECS file.

Parameters
  • Name
  • Name of the ECS file to be used by the fileset for calibration.
Return

True, if successful.

Example

To remove an ECS file, enter an empty string for the Name.

See also EvCalibration.

SpecifiedStartTime

DATE SpecifiedStartTime

Summary

Sets the start time (yyyy-MM-dd HH:mm:ss). This corresponds to Specify start time in the Fileset Properties dialog box.

Example
Dim 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
oFileset.TimeOffSetMode = 1
MsgBox "Adjust fileset time is set to Specify start time " oEvApp.Quit

See also:

GoToPingRange Time snippet example for information about the Visual Basic function CDATE.

StartTime

(read-only) DATE StartTime

Summary

Get the date1 and time of the first measurement in the fileset.

TimeOffset

(read-write) double TimeOffset

Summary

Get or set the time offset as applied to data files in the fileset. The time offset is specified in seconds.

Example

See SpecifiedStartTime example

Variables

(read-only) Variables[]

Summary

Get access to the collection of all raw variables contained in this fileset.

TimeOffsetMode

EFilesetTimeOffsetType TimeOffsetMode

Summary

The 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

Example

See SpecifiedStartTime example

1Microsoft Office DATE

See also

Scripting with COM objects
EvFilesetsCollection
COM object hierarchy