Returns the current absolute time.
Namespace:
Quanser.Common
Assembly:
Quanser.Common (in Quanser.Common.dll)
Syntax
| Visual Basic (Declaration) |
|---|
Public Shared Function GetCurrentTime As Timeout |
| C# |
|---|
public static Timeout GetCurrentTime() |
| Visual C++ |
|---|
public:
static Timeout^ GetCurrentTime() |
| JavaScript |
|---|
Quanser.Common.Timeout.getCurrentTime = function(); |
Return Value
Returns the current time as an absolute
Timeout instance.
Remarks
Exceptions
| Exception | Condition |
|---|
| Quanser.Common..::.GenericException |
A GenericException is thrown if the absolute time cannot be retrieved
from the underlying operating system. Such an exception indicates an incompatible
hardware configuration or a catastrophic system failure. Both situations are highly
unlikely.
|
See Also