Skip to content

Commit a902d5e

Browse files
authored
Update nifgen metadata for nimi-python 1.4.4 release (#1929)
* update nifgen metadata * update nifgen.proto
1 parent e194029 commit a902d5e

File tree

7 files changed

+19
-18
lines changed

7 files changed

+19
-18
lines changed

docs/nifgen/enums.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ ReferenceClockSource
346346
347347
348348
349-
Specifies the PXI Clock is used as the Reference Clock source.
349+
Specifies that the PXI Clock is used as the Reference Clock source.
350350

351351

352352

@@ -395,7 +395,7 @@ SampleClockSource
395395
396396
397397
398-
Specifies that the Sample Clock from DDC connector is used as the Sample
398+
Specifies that the Sample Clock from the DDC connector is used as the Sample
399399
Clock source.
400400

401401

generated/nifgen/nifgen/enums.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ class ReferenceClockSource(Enum):
145145
'''
146146
PXI_CLOCK = 'PXI_Clk'
147147
r'''
148-
Specifies the PXI Clock is used as the Reference Clock source.
148+
Specifies that the PXI Clock is used as the Reference Clock source.
149149
'''
150150
RTSI_7 = 'RTSI7'
151151
r'''
@@ -166,7 +166,7 @@ class SampleClockSource(Enum):
166166
'''
167167
DDC_CLOCK_IN = 'DDC_ClkIn'
168168
r'''
169-
Specifies that the Sample Clock from DDC connector is used as the Sample
169+
Specifies that the Sample Clock from the DDC connector is used as the Sample
170170
Clock source.
171171
'''
172172
ONBOARD_CLOCK = 'OnboardClock'

src/nifgen/metadata/attributes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -*- coding: utf-8 -*-
2-
# This file is generated from NI-FGEN API metadata version 23.0.0d57
2+
# This file is generated from NI-FGEN API metadata version 23.5.0d28
33
attributes = {
44
1050005: {
55
'access': 'read-write',

src/nifgen/metadata/config.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# -*- coding: utf-8 -*-
2-
# This file is generated from NI-FGEN API metadata version 23.0.0d57
2+
# This file is generated from NI-FGEN API metadata version 23.5.0d28
33
config = {
4-
'api_version': '23.0.0d57',
4+
'api_version': '23.5.0d28',
55
'c_function_prefix': 'niFgen_',
66
'close_function': 'close',
77
'context_manager_name': {

src/nifgen/metadata/enums.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -*- coding: utf-8 -*-
2-
# This file is generated from NI-FGEN API metadata version 23.0.0d57
2+
# This file is generated from NI-FGEN API metadata version 23.5.0d28
33
enums = {
44
'AnalogPath': {
55
'values': [
@@ -577,7 +577,7 @@
577577
},
578578
{
579579
'documentation': {
580-
'description': 'Specifies the PXI Clock is used as the Reference Clock source.'
580+
'description': 'Specifies that the PXI Clock is used as the Reference Clock source.'
581581
},
582582
'name': 'NIFGEN_VAL_PXI_CLOCK_COLLISION_AVOIDANCE',
583583
'python_name': 'PXI_CLOCK',
@@ -616,7 +616,7 @@
616616
},
617617
{
618618
'documentation': {
619-
'description': '\nSpecifies that the Sample Clock from DDC connector is used as the Sample\nClock source.\n'
619+
'description': '\nSpecifies that the Sample Clock from the DDC connector is used as the Sample\nClock source.\n'
620620
},
621621
'name': 'NIFGEN_VAL_DDC_CLOCK_IN',
622622
'value': 'DDC_ClkIn'

src/nifgen/metadata/functions.py

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -*- coding: utf-8 -*-
2-
# This file is generated from NI-FGEN API metadata version 23.0.0d57
2+
# This file is generated from NI-FGEN API metadata version 23.5.0d28
33
functions = {
44
'AbortGeneration': {
55
'documentation': {
@@ -1284,11 +1284,12 @@
12841284
},
12851285
'name': 'configuration',
12861286
'python_api_converter_name': 'convert_to_bytes',
1287+
'python_type': 'bytes',
12871288
'size': {
12881289
'mechanism': 'ivi-dance',
12891290
'value': 'sizeInBytes'
12901291
},
1291-
'type': 'ViInt8[]',
1292+
'type': 'ViAddr[]',
12921293
'type_in_documentation': 'bytes',
12931294
'use_array': True
12941295
}
@@ -1983,11 +1984,12 @@
19831984
},
19841985
'name': 'configuration',
19851986
'python_api_converter_name': 'convert_to_bytes',
1987+
'python_type': 'bytes',
19861988
'size': {
19871989
'mechanism': 'len',
19881990
'value': 'sizeInBytes'
19891991
},
1990-
'type': 'ViInt8[]',
1992+
'type': 'ViAddr[]',
19911993
'type_in_documentation': 'bytes'
19921994
}
19931995
],
@@ -2091,7 +2093,7 @@
20912093
'is_repeated_capability': False,
20922094
'name': 'channelName',
20932095
'python_api_converter_name': 'convert_repeated_capabilities_without_prefix',
2094-
'type': 'ViString',
2096+
'type': 'ViConstString',
20952097
'type_in_documentation': 'str, list, range, tuple'
20962098
},
20972099
{
@@ -2148,7 +2150,7 @@
21482150
},
21492151
'name': 'optionString',
21502152
'python_api_converter_name': 'convert_init_with_options_dictionary',
2151-
'type': 'ViString',
2153+
'type': 'ViConstString',
21522154
'type_in_documentation': 'dict'
21532155
},
21542156
{
@@ -2543,7 +2545,7 @@
25432545
'description': 'Trigger ID specifies the Script Trigger to use for triggering.'
25442546
},
25452547
'name': 'triggerId',
2546-
'type': 'ViString'
2548+
'type': 'ViConstString'
25472549
}
25482550
],
25492551
'render_in_session_base': True,

src/nifgen/metadata/nifgen.proto

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22
//---------------------------------------------------------------------
3-
// This file is generated from NI-FGEN API metadata version 23.0.0d57
3+
// This file is generated from NI-FGEN API metadata version 23.0.0f157
44
//---------------------------------------------------------------------
55
// Proto file for the NI-FGEN Metadata
66
//---------------------------------------------------------------------
@@ -2147,4 +2147,3 @@ message WriteWaveformComplexF64Request {
21472147
message WriteWaveformComplexF64Response {
21482148
int32 status = 1;
21492149
}
2150-

0 commit comments

Comments
 (0)