Interface InternalCalibration
Internal calibration settings.
Namespace: OmicronLab.VectorNetworkAnalysis.AutomationInterface.Interfaces.Calibration
Assembly: OmicronLab.VectorNetworkAnalysis.AutomationInterface.dll (3.50.2911.0)
Syntax
[Guid("8869BB07-BCC0-4386-8BA1-64B95BEF9174")]
[InterfaceType(ComInterfaceType.InterfaceIsDual)]
[ComVisible(true)]
public interface InternalCalibration
Properties
DateExecuted
Gets the date from the last internal calibration in UTC.
Declaration
DateTime DateExecuted { get; }
Property Value
Type | Description |
---|---|
System.DateTime | The date as DateTime. |
Remarks
NOT supported in LabWindows CVI and Delphi. Alternatively DateExecutedAsString(String) can be used.
DateExecutedTimeStamp
Gets the date from the last internal calibration.
Declaration
long DateExecutedTimeStamp { get; }
Property Value
Type | Description |
---|---|
System.Int64 | The date as Unix time stamp. |
Remarks
The Unix time stamp is the number of seconds between a particular date and the Unix Epoch 'January 1st, 1970 at UTC'.
LocalDateExecuted
Gets the date from the last internal calibration in local time.
Declaration
DateTime LocalDateExecuted { get; }
Property Value
Type | Description |
---|---|
System.DateTime | The date as DateTime. |
Remarks
NOT supported in LabWindows CVI and Delphi. Alternatively DateExecutedAsString(String) can be used.
Methods
DateExecutedAsString(String)
Converts the value of the execution date in UTC to its equivalent string representation using the specified format and the formatting conventions of the current culture.
Declaration
string DateExecutedAsString(string format)
Parameters
Type | Name | Description |
---|---|---|
System.String | format | The format. |
Returns
Type | Description |
---|---|
System.String |
Remarks
The format parameter should contain either a single format specifier character (see Standard Date and Time Format String (e.g. 'u' describing the Universal sortable date/time pattern)) or a custom format pattern (see Custom Date and Time Format Strings (e.g. 'yyyy-MM-dd HH:mm')) that defines the format of the returned string. If format is null or an empty string, the general format specifier, 'G', is used.
Execute()
Executes the internal calibration.
Declaration
ExecutionState Execute()
Returns
Type | Description |
---|---|
ExecutionState |
LocalDateExecutedAsString(String)
Converts the value of the execution date in local time to its equivalent string representation using the specified format and the formatting conventions of the current culture.
Declaration
string LocalDateExecutedAsString(string format)
Parameters
Type | Name | Description |
---|---|---|
System.String | format | The format. |
Returns
Type | Description |
---|---|
System.String |
Remarks
The format parameter should contain either a single format specifier character (see Standard Date and Time Format String (e.g. 'u' describing the Universal sortable date/time pattern)) or a custom format pattern (see Custom Date and Time Format Strings (e.g. 'yyyy-MM-dd HH:mm')) that defines the format of the returned string. If format is null or an empty string, the general format specifier, 'G', is used.