-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMeasureMode.cs
More file actions
46 lines (45 loc) · 1.48 KB
/
MeasureMode.cs
File metadata and controls
46 lines (45 loc) · 1.48 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
// ***********************************************************************
// Assembly : SCPI
// Author : Ed Paay
// Created : 06-30-2024
//
// Last Modified By : Ed Paay
// Last Modified On : 07-04-2024
// ***********************************************************************
// <summary>
// The MeasureMode enum is used to conveniently store the measurement mode
// the DMM is in. SCPI will return various strings like "VOLT", "VOLT:AC"
// these are better managed by converting them to an enumerated value.
// </summary>
// ***********************************************************************
namespace SCPI
{
/// <summary>Enum MeasureMode specifies the mode the DMM is in currently, like DC Voltage etc.</summary>
public enum MeasureMode
{
/// <summary>The None indicates the mode has not been setr yet.</summary>
None,
/// <summary>DC Voltage</summary>
DCV,
/// <summary>AC Voltage</summary>
ACV,
/// <summary>Resistance 2 Wire</summary>
R2W,
/// <summary>Resistance 4 Wire</summary>
R4W,
/// <summary>DC Current</summary>
DCI,
/// <summary>AC Current</summary>
ACI,
/// <summary>Frequency</summary>
FREQ,
/// <summary>Capacitance</summary>
CAP,
/// <summary>Continuity</summary>
CONT,
/// <summary>Diode</summary>
DIODE,
/// <summary>Temperature</summary>
TEMP
}
}