-
Notifications
You must be signed in to change notification settings - Fork 102
Expand file tree
/
Copy pathattributes.py
More file actions
133 lines (133 loc) · 4.56 KB
/
attributes.py
File metadata and controls
133 lines (133 loc) · 4.56 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
# -*- coding: utf-8 -*-
# This file is generated from NI-FAKE API metadata version 25.8.0d100
attributes = {
1000000: {
'access': 'read-write',
'documentation': {
'description': 'An attribute of type bool with read/write access.'
},
'lv_property': 'Fake attributes:Read Write Bool',
'name': 'READ_WRITE_BOOL',
'type': 'ViBoolean'
},
1000001: {
'access': 'read-write',
'documentation': {
'description': 'An attribute of type float with read/write access.'
},
'lv_property': 'Fake attributes:Read Write Float',
'name': 'READ_WRITE_DOUBLE',
'type': 'ViReal64'
},
1000002: {
'access': 'read-write',
'documentation': {
'description': 'An attribute of type string with read/write access.'
},
'lv_property': 'Fake attributes:Read Write String',
'name': 'READ_WRITE_STRING',
'type': 'ViString'
},
1000003: {
'access': 'read-write',
'documentation': {
'description': 'An attribute of type Color with read/write access.'
},
'enum': 'Color',
'lv_property': 'Fake attributes:Read Write Color',
'name': 'READ_WRITE_COLOR',
'type': 'ViInt32'
},
1000004: {
'access': 'read-write',
'documentation': {
'description': 'An attribute of type integer with read/write access.'
},
'lv_property': 'Fake attributes:Read Write Int',
'name': 'READ_WRITE_INTEGER',
'type': 'ViInt32'
},
1000005: {
'access': 'read-write',
'codegen_method': 'public',
'documentation': {
'description': 'An attribute with an enum that is also a float'
},
'enum': 'FloatEnum',
'lv_property': 'Fake attributes:Float enum',
'name': 'FLOAT_ENUM',
'type': 'ViReal64'
},
1000006: {
'access': 'read-write',
'documentation': {
'description': 'An attribute of type 64-bit integer with read/write access.'
},
'lv_property': 'Fake attributes:Read Write long long',
'name': 'READ_WRITE_INT64',
'type': 'ViInt64'
},
1000007: {
'access': 'read-write',
'attribute_class': 'AttributeViReal64TimeDeltaSeconds',
'documentation': {
'description': 'Attribute in seconds'
},
'lv_property': 'Fake attributes:Read Write Double with Converter',
'name': 'READ_WRITE_DOUBLE_WITH_CONVERTER',
'type': 'ViReal64',
'type_in_documentation': 'hightime.timedelta, datetime.timedelta, or float in seconds'
},
1000008: {
'access': 'read-write',
'attribute_class': 'AttributeViInt32TimeDeltaMilliseconds',
'documentation': {
'description': 'Attribute in milliseconds'
},
'lv_property': 'Fake attributes:Read Write Int with Converter',
'name': 'READ_WRITE_INTEGER_WITH_CONVERTER',
'type': 'ViInt32',
'type_in_documentation': 'hightime.timedelta, datetime.timedelta, or int in milliseconds'
},
1000009: {
'access': 'read-write',
'name': 'READ_WRITE_DOUBLE_WITH_REPEATED_CAPABILITY',
'supported_rep_caps': [
'channels'
],
'type': 'ViReal64'
},
1000010: {
'access': 'read-write',
'attribute_class': 'AttributeViStringRepeatedCapability',
'documentation': {
'description': 'An attribute with read/write access, that represents a repeated capability'
},
'lv_property': 'Fake attributes:Read Write String Repeated Capability',
'name': 'READ_WRITE_STRING_REPEATED_CAPABILITY',
'supported_rep_caps': [
'instruments'
],
'type': 'ViString',
'type_in_documentation': "Any repeated capability type, as defined in nimi-python:\n - str\n - str - Comma delimited list\n - str - Range (using '-' or ':')\n - int\n - Basic sequence types (list, tuple, range, slice) of other supported types"
},
1000011: {
'access': 'read-write',
'enum': 'EnumWithConverter',
'grpc_enum': None,
'name': 'READ_WRITE_ENUM_WITH_CONVERTER',
'type': 'ViInt32'
},
1000012: {
'access': 'read-write',
'grpc_enum': 'SampleCount',
'name': 'SAMPLE_COUNT',
'type': 'ViInt32'
},
1000013: {
'access': 'read-write',
'grpc_enum': 'SampleInterval',
'name': 'SAMPLE_INTERVAL',
'type': 'ViReal64'
}
}