2.2 KiB
source_files, generated_at, model, schema_version, sha256
| source_files | generated_at | model | schema_version | sha256 | |||||
|---|---|---|---|---|---|---|---|---|---|
|
2026-04-17T16:44:17.508414+00:00 | zai-org/GLM-5-FP8 | 1 | e72bc78b9ae7a008 |
DatabaseImport Enums Documentation
1. Purpose
This module defines a set of enumeration types used within the DatabaseImport namespace to configure hardware channel modes, export formats, and measurement parameters. These enums serve as configuration options for data acquisition hardware—specifically digital I/O channels, squib firing mechanisms, excitation voltage settings, and supported export file formats. The enums are designed primarily as bit flags to allow combination of multiple modes, and several employ DescriptionAttribute and custom attributes for UI display purposes.
2. Public Interface
DigitalInputModes
Signature: public enum DigitalInputModes
Defines input modes for digital data channels. Values are bit-shifted to enable bitwise combination.
| Member | Value | Description |
|---|---|---|
TLH |
1 << 1 (2) |
Transition low to high |
THL |
1 << 2 (4) |
Transition high to low |
CCNO |
1 << 3 (8) |
Contact closure normally open |
CCNC |
1 << 4 (16) |
Contact closure normally closed |
Decorated with [TypeConverter(typeof(EnumDescriptionTypeConverter))] and [DescriptionAttribute] on each member.
DigitalOutputModes
Signature: public enum DigitalOutputModes
Defines output modes for digital channels. Values are bit-shifted to enable bitwise combination.
| Member | Value | Description |
|---|---|---|
NONE |
0 |
Digital channel's mode not set |
FVLH |
1 << 0 (1) |
Five volt, low-to-high transition |
FVHL |
1 << 1 (2) |
Five volt, high-to-low transition |
CCNO |
1 << 2 (4) |
Contact closure normally open |
CCNC |
`1 << |