-
Notifications
You must be signed in to change notification settings - Fork 91
/
Copy pathconfig.py
78 lines (78 loc) · 2.21 KB
/
config.py
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
# -*- coding: utf-8 -*-
# This file is generated from NI-FAKE API metadata version 24.3.0f98
config = {
'api_version': '24.3.0f98',
'c_function_prefix': 'niFake_',
'close_function': 'close',
'context_manager_name': {
'abort_function': 'Abort',
'initiate_function': 'Initiate',
'task': 'acquisition'
},
'custom_types': [
{
'ctypes_type': 'struct_CustomStruct',
'file_name': 'custom_struct',
'grpc_name': 'FakeCustomStruct',
'python_name': 'CustomStruct'
},
{
'ctypes_type': 'struct_CustomStructTypedef',
'file_name': 'custom_struct_typedef',
'grpc_name': 'CustomStructTypedef',
'python_name': 'CustomStructTypedef'
},
{
'ctypes_type': 'struct_CustomStructNestedTypedef',
'file_name': 'custom_struct_nested_typedef',
'grpc_name': 'CustomStructNestedTypedef',
'python_name': 'CustomStructNestedTypedef'
}
],
'driver_name': 'NI-FAKE',
'enum_whitelist_suffix': [
'_POINT_FIVE'
],
'extra_errors_used': [
'InvalidRepeatedCapabilityError',
'SelfTestError'
],
'grpc_service_class_prefix': 'NiFake',
'init_function': 'InitWithOptions',
'library_info': {
'Linux': {
'64bit': {
'name': 'nifake',
'type': 'cdll'
}
},
'Windows': {
'32bit': {
'name': 'nifake_32.dll',
'type': 'windll'
},
'64bit': {
'name': 'nifake_64.dll',
'type': 'cdll'
}
}
},
'module_name': 'nifake',
'repeated_capabilities': [
{
'prefix': '',
'python_name': 'channels'
},
{
'prefix': 'site',
'python_name': 'sites'
},
{
'prefix': '',
'python_name': 'instruments'
}
],
'session_class_description': 'An NI-FAKE session to a fake MI driver whose sole purpose is to test nimi-python code generation',
'session_handle_parameter_name': 'vi',
'uses_nitclk': True
}