Enumerates the different clocks available for buffered I/O and tasks.

Namespace:  Quanser.Hardware
Assembly:  Quanser.Hardware.Hil (in Quanser.Hardware.Hil.dll)

Syntax

Visual Basic (Declaration)
Public Enumeration Clock
C#
public enum Clock
Visual C++
public enum class Clock
JavaScript
Quanser.Hardware.Clock = function();
Quanser.Hardware.Clock.createEnum('Quanser.Hardware.Clock', false);

Members

Member nameDescription
Hardware0
Hardware clock 0
Hardware1
Hardware clock 1
Hardware10
Hardware clock 10
Hardware11
Hardware clock 11
Hardware12
Hardware clock 12
Hardware13
Hardware clock 13
Hardware14
Hardware clock 14
Hardware15
Hardware clock 15
Hardware16
Hardware clock 16
Hardware17
Hardware clock 17
Hardware18
Hardware clock 18
Hardware19
Hardware clock 19
Hardware2
Hardware clock 2
Hardware20
Hardware clock 20
Hardware21
Hardware clock 21
Hardware22
Hardware clock 22
Hardware23
Hardware clock 23
Hardware24
Hardware clock 24
Hardware25
Hardware clock 25
Hardware26
Hardware clock 26
Hardware27
Hardware clock 27
Hardware28
Hardware clock 28
Hardware29
Hardware clock 29
Hardware3
Hardware clock 3
Hardware30
Hardware clock 30
Hardware4
Hardware clock 4
Hardware5
Hardware clock 5
Hardware6
Hardware clock 6
Hardware7
Hardware clock 7
Hardware8
Hardware clock 8
Hardware9
Hardware clock 9
System1
System clock 1 (typically one millisecond minimum period)
System2
System clock 2 (generally not supported)
System3
System clock 3 (generally not supported)
System4
System clock 4 (generally not supported)

Remarks

Clocks in the Quanser .NET Class Library are divided into two broad categories: system clocks and hardware clocks.

System clocks are provided by the underlying operating system and are generally limited in their accuracy and minimum period. For example, on Windows, Clock.System1 has a minimum period of one millisecond. Its accuracy can be quite poor on some systems, exhibiting a fair amount of jitter. Most systems only support one system clock.

Hardware clocks are counters/timers on the data acquistion card itself. Hardware clocks are much more accurate and are generally faster, allowing sampling rates under one millisecond. Most data acquisition cards support more than one counter/timer if these hardware resources are provided.

See Also