-
Notifications
You must be signed in to change notification settings - Fork 102
Expand file tree
/
Copy pathfunctions_addon.py
More file actions
149 lines (144 loc) · 5.3 KB
/
functions_addon.py
File metadata and controls
149 lines (144 loc) · 5.3 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
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
# These dictionaries are merged with the extracted function metadata at build time.
# Changes to the metadata should be made here, because functions.py is generated thus any changes get overwritten.
functions_override_metadata = {
}
functions_additional_get_ext_cal_last_temp = {
'FancyGetExtCalLastTemp': {
'codegen_method': 'python-only',
'python_name': 'get_ext_cal_last_temp',
'documentation': {
'description': 'Returns the **Temperature** during the last external calibration procedure.',
},
'method_templates': [
{
'documentation_filename': 'default_method',
'method_python_name_suffix': '',
'session_filename': 'fancy_get_cal_last_temp'
}
],
'parameters': [
{
'direction': 'in',
'documentation': {
'description': '\nIdentifies a particular instrument session. You obtain the **vi**\nparameter from niDMM_init or niDMM_InitWithOptions. The default is\nNone.\n'
},
'name': 'vi',
'type': 'ViSession'
},
{
'direction': 'out',
'documentation': {
'description': 'Returns the **temperature** during the last external calibration.'
},
'name': 'temperature',
'type': 'ViReal64'
}
],
'returns': 'ViStatus'
}
}
functions_additional_get_self_cal_last_temp = {
'FancyGetSelfCalLastTemp': {
'codegen_method': 'python-only',
'python_name': 'get_self_cal_last_temp',
'documentation': {
'description': 'Returns the **Temperature** during the last self calibration procedure.',
},
'method_templates': [
{
'documentation_filename': 'default_method',
'method_python_name_suffix': '',
'session_filename': 'fancy_get_cal_last_temp'
}
],
'parameters': [
{
'direction': 'in',
'documentation': {
'description': '\nIdentifies a particular instrument session. You obtain the **vi**\nparameter from niDMM_init or niDMM_InitWithOptions. The default is\nNone.\n'
},
'name': 'vi',
'type': 'ViSession'
},
{
'direction': 'out',
'documentation': {
'description': 'Returns the **temperature** during the last self calibration.'
},
'name': 'temperature',
'type': 'ViReal64'
}
],
'returns': 'ViStatus'
}
}
functions_additional_get_ext_cal_last_date_and_time = {
'FancyGetExtCalLastDateAndTime': {
'codegen_method': 'python-only',
'python_name': 'get_ext_cal_last_date_and_time',
'documentation': {
'description': 'Returns the date and time of the last external calibration performed.',
},
'method_templates': [
{
'documentation_filename': 'default_method',
'method_python_name_suffix': '',
'session_filename': 'fancy_get_cal_last_date_and_time'
}
],
'parameters': [
{
'direction': 'in',
'documentation': {
'description': 'Identifies a particular instrument session. You obtain the **vi** parameter from niDMM_init or niDMM_InitWithOptions. The default is None.'
},
'name': 'vi',
'type': 'ViSession'
},
{
'direction': 'out',
'documentation': {
'description': 'Indicates date and time of the last external calibration.'
},
'name': 'last_cal_datetime',
'type': 'hightime.datetime'
}
],
'returns': 'ViStatus'
}
}
functions_additional_get_self_cal_last_date_and_time = {
'FancyGetSelfCalLastDateAndTime': {
'codegen_method': 'python-only',
'python_name': 'get_self_cal_last_date_and_time',
'documentation': {
'description': 'Returns the date and time of the last self calibration performed.',
},
'method_templates': [
{
'documentation_filename': 'default_method',
'method_python_name_suffix': '',
'session_filename': 'fancy_get_cal_last_date_and_time'
}
],
'parameters': [
{
'direction': 'in',
'documentation': {
'description': 'Identifies a particular instrument session. You obtain the **vi** parameter from niDMM_init or niDMM_InitWithOptions. The default is None.'
},
'name': 'vi',
'type': 'ViSession'
},
{
'direction': 'out',
'documentation': {
'description': 'Indicates date and time of the last self calibration.'
},
'name': 'last_cal_datetime',
'type': 'hightime.datetime'
}
],
'returns': 'ViStatus'
}
}