Skip to content

Commit 3f4654b

Browse files
author
Utkarsh Tyagi
committed
limit scope of changes to grpc name mismatch
1 parent a085081 commit 3f4654b

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

src/nirfsg/metadata/functions.py

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,7 @@
237237
'description': 'Pass the value that you want to verify as a valid value for the attribute.',
238238
'note': 'Some of the values might not be valid depending on the current settings of the instrument session.'
239239
},
240+
'grpc_enum': 'NiRFSGInt32AttributeValues',
240241
'name': 'value',
241242
'type': 'ViInt32',
242243
'use_array': False,
@@ -297,6 +298,7 @@
297298
'description': 'Pass the value that you want to verify as a valid value for the attribute.',
298299
'note': 'Some of the values might not be valid depending on the current settings of the instrument session.'
299300
},
301+
'grpc_enum': 'NiRFSGInt64AttributeValues',
300302
'name': 'value',
301303
'type': 'ViInt64',
302304
'use_array': False,
@@ -357,6 +359,7 @@
357359
'description': 'Pass the value that you want to verify as a valid value for the attribute.',
358360
'note': 'Some of the values might not be valid depending on the current settings of the instrument session.'
359361
},
362+
'grpc_enum': 'NiRFSGReal64AttributeValues',
360363
'name': 'value',
361364
'type': 'ViReal64',
362365
'use_array': False,
@@ -477,6 +480,7 @@
477480
'description': 'Pass the value that you want to verify as a valid value for the attribute. The value must be a NULL-terminated string.',
478481
'note': 'Some of the values might not be valid depending on the current settings of the instrument session.'
479482
},
483+
'grpc_mapped_enum': 'NiRFSGStringAttributeValuesMapped',
480484
'name': 'value',
481485
'type': 'ViConstString',
482486
'use_array': False,
@@ -1022,7 +1026,6 @@
10221026
},
10231027
'is_repeated_capability': True,
10241028
'name': 'triggerId',
1025-
# 'grpc_enum': 'DigitalEdgeScriptTriggerIdentifier',
10261029
'repeated_capability_type': 'script_triggers',
10271030
'type': 'ViConstString',
10281031
'use_array': False,
@@ -1034,7 +1037,6 @@
10341037
'description': 'Specifies the source terminal for the digital edge Script Trigger. NI-RFSG sets the NIRFSG_ATTR_DIGITAL_EDGE_SCRIPT_TRIGGER_SOURCE attribute to this value.'
10351038
},
10361039
'name': 'source',
1037-
# 'grpc_enum': 'TriggerSource',
10381040
'type': 'ViConstString',
10391041
'use_array': False,
10401042
'use_in_python_api': True
@@ -1087,7 +1089,6 @@
10871089
'description': 'Specifies the source terminal for the digital edge trigger. NI-RFSG sets the NIRFSG_ATTR_DIGITAL_EDGE_START_TRIGGER_SOURCE attribute to this value.'
10881090
},
10891091
'name': 'source',
1090-
# 'grpc_enum': 'TriggerSource',
10911092
'type': 'ViConstString',
10921093
'use_array': False,
10931094
'use_in_python_api': True
@@ -1140,7 +1141,6 @@
11401141
},
11411142
'is_repeated_capability': True,
11421143
'name': 'triggerId',
1143-
# 'grpc_enum': 'DigitalEdgeScriptTriggerIdentifier',
11441144
'repeated_capability_type': 'script_triggers',
11451145
'type': 'ViConstString',
11461146
'use_array': False,
@@ -1419,7 +1419,6 @@
14191419
},
14201420
'is_repeated_capability': True,
14211421
'name': 'triggerId',
1422-
# 'grpc_enum': 'DigitalEdgeScriptTriggerIdentifier',
14231422
'repeated_capability_type': 'script_triggers',
14241423
'type': 'ViConstString',
14251424
'use_array': False,
@@ -1811,7 +1810,6 @@
18111810
},
18121811
'is_repeated_capability': True,
18131812
'name': 'triggerId',
1814-
# 'grpc_enum': 'DigitalEdgeScriptTriggerIdentifier',
18151813
'repeated_capability_type': 'script_triggers',
18161814
'type': 'ViConstString',
18171815
'use_array': False,
@@ -2701,7 +2699,6 @@
27012699
'name': 'sparameters',
27022700
'numpy': True,
27032701
'type': 'NIComplexNumber[]',
2704-
'type_in_documentation': 'numpy.array(dtype=numpy.complex128)',
27052702
'use_array': False,
27062703
'use_in_python_api': True
27072704
},
@@ -3309,7 +3306,6 @@
33093306
]
33103307
},
33113308
'name': 'signalIdentifier',
3312-
# 'grpc_enum': 'SignalIdentifier',
33133309
'type': 'ViConstString',
33143310
'use_array': False,
33153311
'use_in_python_api': True
@@ -4596,7 +4592,6 @@
45964592
]
45974593
},
45984594
'name': 'triggerIdentifier',
4599-
# 'grpc_enum': 'SignalIdentifier',
46004595
'type': 'ViConstString',
46014596
'use_array': False,
46024597
'use_in_python_api': True
@@ -4794,6 +4789,7 @@
47944789
'description': 'Specifies the value to which you want to set the attribute.',
47954790
'note': 'Some values may not be valid. The allowed values depend on the current settings of the instrument session.'
47964791
},
4792+
'grpc_enum': 'NiRFSGInt32AttributeValues',
47974793
'name': 'value',
47984794
'type': 'ViInt32',
47994795
'use_array': False,
@@ -4853,6 +4849,7 @@
48534849
'documentation': {
48544850
'description': 'Pass the value to which you want to set the attribute.\n\n<blockquote>\nSome values may not be valid. The allowed values depend on the current settings of the instrument session.\n</blockquote>'
48554851
},
4852+
'grpc_enum': 'NiRFSGInt64AttributeValues',
48564853
'name': 'value',
48574854
'type': 'ViInt64',
48584855
'use_array': False,
@@ -4913,6 +4910,7 @@
49134910
'description': 'Pass the value to which you want to set the attribute.',
49144911
'note': 'Some values may not be valid. The allowed values depend on the current settings of the instrument session.'
49154912
},
4913+
'grpc_enum': 'NiRFSGReal64AttributeValues',
49164914
'name': 'value',
49174915
'type': 'ViReal64',
49184916
'use_array': False,
@@ -5033,6 +5031,7 @@
50335031
'description': 'Pass the value to which you want to set the attribute.',
50345032
'note': 'Some values may not be valid. The allowed values depend on the current settings of the instrument session.'
50355033
},
5034+
'grpc_mapped_enum': 'NiRFSGStringAttributeValuesMapped',
50365035
'name': 'value',
50375036
'type': 'ViConstString',
50385037
'use_array': False,

0 commit comments

Comments
 (0)