Skip to content

Commit 2d89870

Browse files
committed
Added metadata for gRPC enums
1 parent 8da7fe7 commit 2d89870

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/nirfsg/metadata/functions.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1020,6 +1020,7 @@
10201020
},
10211021
'is_repeated_capability': True,
10221022
'name': 'triggerId',
1023+
'grpc_enum': 'DigitalEdgeScriptTriggerIdentifier',
10231024
'repeated_capability_type': 'script_triggers',
10241025
'type': 'ViConstString',
10251026
'use_array': False,
@@ -1031,6 +1032,7 @@
10311032
'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.'
10321033
},
10331034
'name': 'source',
1035+
'grpc_enum': 'TriggerSource',
10341036
'type': 'ViConstString',
10351037
'use_array': False,
10361038
'use_in_python_api': True
@@ -1083,6 +1085,7 @@
10831085
'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.'
10841086
},
10851087
'name': 'source',
1088+
'grpc_enum': 'TriggerSource',
10861089
'type': 'ViConstString',
10871090
'use_array': False,
10881091
'use_in_python_api': True
@@ -1135,6 +1138,7 @@
11351138
},
11361139
'is_repeated_capability': True,
11371140
'name': 'triggerId',
1141+
'grpc_enum': 'DigitalEdgeScriptTriggerIdentifier',
11381142
'repeated_capability_type': 'script_triggers',
11391143
'type': 'ViConstString',
11401144
'use_array': False,
@@ -1413,6 +1417,7 @@
14131417
},
14141418
'is_repeated_capability': True,
14151419
'name': 'triggerId',
1420+
'grpc_enum': 'DigitalEdgeScriptTriggerIdentifier',
14161421
'repeated_capability_type': 'script_triggers',
14171422
'type': 'ViConstString',
14181423
'use_array': False,
@@ -1804,6 +1809,7 @@
18041809
},
18051810
'is_repeated_capability': True,
18061811
'name': 'triggerId',
1812+
'grpc_enum': 'DigitalEdgeScriptTriggerIdentifier',
18071813
'repeated_capability_type': 'script_triggers',
18081814
'type': 'ViConstString',
18091815
'use_array': False,
@@ -3289,6 +3295,7 @@
32893295
]
32903296
},
32913297
'name': 'signalIdentifier',
3298+
'grpc_enum': 'SignalIdentifier',
32923299
'type': 'ViConstString',
32933300
'use_array': False,
32943301
'use_in_python_api': True
@@ -4574,6 +4581,7 @@
45744581
]
45754582
},
45764583
'name': 'triggerIdentifier',
4584+
'grpc_enum': 'SignalIdentifier'
45774585
'type': 'ViConstString',
45784586
'use_array': False,
45794587
'use_in_python_api': True

0 commit comments

Comments
 (0)