Skip to content

Commit e4d39c7

Browse files
authored
NI-RFSG gRPC enum metadata cleanup (#2139)
1 parent be77b68 commit e4d39c7

1 file changed

Lines changed: 8 additions & 4 deletions

File tree

src/nirfsg/metadata/functions.py

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -633,6 +633,7 @@
633633
},
634634
'is_repeated_capability': True,
635635
'name': 'triggerId',
636+
'grpc_enum': 'DigitalEdgeScriptTriggerIdentifier',
636637
'repeated_capability_type': 'script_triggers',
637638
'type': 'ViConstString',
638639
'use_array': False,
@@ -644,6 +645,7 @@
644645
'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.'
645646
},
646647
'name': 'source',
648+
'grpc_enum': 'TriggerSource',
647649
'type': 'ViConstString',
648650
'use_array': False,
649651
'use_in_python_api': True
@@ -696,6 +698,7 @@
696698
'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.'
697699
},
698700
'name': 'source',
701+
'grpc_enum': 'TriggerSource',
699702
'type': 'ViConstString',
700703
'use_array': False,
701704
'use_in_python_api': True
@@ -748,6 +751,7 @@
748751
},
749752
'is_repeated_capability': True,
750753
'name': 'triggerId',
754+
'grpc_enum': 'DigitalEdgeScriptTriggerIdentifier',
751755
'repeated_capability_type': 'script_triggers',
752756
'type': 'ViConstString',
753757
'use_array': False,
@@ -936,6 +940,7 @@
936940
},
937941
'is_repeated_capability': True,
938942
'name': 'triggerId',
943+
'grpc_enum': 'DigitalEdgeScriptTriggerIdentifier',
939944
'repeated_capability_type': 'script_triggers',
940945
'type': 'ViConstString',
941946
'use_array': False,
@@ -1299,6 +1304,7 @@
12991304
},
13001305
'is_repeated_capability': True,
13011306
'name': 'triggerId',
1307+
'grpc_enum': 'DigitalEdgeScriptTriggerIdentifier',
13021308
'repeated_capability_type': 'script_triggers',
13031309
'type': 'ViConstString',
13041310
'use_array': False,
@@ -2683,6 +2689,7 @@
26832689
]
26842690
},
26852691
'name': 'signalIdentifier',
2692+
'grpc_enum': 'SignalIdentifier',
26862693
'type': 'ViConstString',
26872694
'use_array': False,
26882695
'use_in_python_api': True
@@ -3882,6 +3889,7 @@
38823889
},
38833890
'enum': 'TriggerIdentifier',
38843891
'name': 'triggerIdentifier',
3892+
'grpc_enum': 'SignalIdentifier',
38853893
'type': 'ViConstString',
38863894
'use_array': False,
38873895
'use_in_python_api': True
@@ -4079,7 +4087,6 @@
40794087
'description': 'Specifies the value to which you want to set the attribute.',
40804088
'note': 'Some values may not be valid. The allowed values depend on the current settings of the instrument session.'
40814089
},
4082-
'grpc_enum': 'NiRFSGInt32AttributeValues',
40834090
'name': 'value',
40844091
'type': 'ViInt32',
40854092
'use_array': False,
@@ -4139,7 +4146,6 @@
41394146
'documentation': {
41404147
'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>'
41414148
},
4142-
'grpc_enum': 'NiRFSGInt64AttributeValues',
41434149
'name': 'value',
41444150
'type': 'ViInt64',
41454151
'use_array': False,
@@ -4200,7 +4206,6 @@
42004206
'description': 'Pass the value to which you want to set the attribute.',
42014207
'note': 'Some values may not be valid. The allowed values depend on the current settings of the instrument session.'
42024208
},
4203-
'grpc_enum': 'NiRFSGReal64AttributeValues',
42044209
'name': 'value',
42054210
'type': 'ViReal64',
42064211
'use_array': False,
@@ -4321,7 +4326,6 @@
43214326
'description': 'Pass the value to which you want to set the attribute.',
43224327
'note': 'Some values may not be valid. The allowed values depend on the current settings of the instrument session.'
43234328
},
4324-
'grpc_mapped_enum': 'NiRFSGStringAttributeValuesMapped',
43254329
'name': 'value',
43264330
'type': 'ViConstString',
43274331
'use_array': False,

0 commit comments

Comments
 (0)