Skip to content

Commit

Permalink
Update nifgen, niswitch metadata and protos (#2083)
Browse files Browse the repository at this point in the history
  • Loading branch information
ni-jfitzger authored Feb 24, 2025
1 parent 93b5c85 commit 4d22c69
Show file tree
Hide file tree
Showing 14 changed files with 4,407 additions and 4,479 deletions.
1,074 changes: 537 additions & 537 deletions generated/nifgen/nifgen/nifgen_pb2.py

Large diffs are not rendered by default.

3,140 changes: 1,570 additions & 1,570 deletions generated/nifgen/nifgen/nifgen_pb2_grpc.py

Large diffs are not rendered by default.

514 changes: 253 additions & 261 deletions generated/niswitch/niswitch/niswitch_pb2.py

Large diffs are not rendered by default.

1,404 changes: 669 additions & 735 deletions generated/niswitch/niswitch/niswitch_pb2_grpc.py

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/nifgen/metadata/attributes.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
# This file is generated from NI-FGEN API metadata version 24.5.0d52
# This file is generated from NI-FGEN API metadata version 25.0.0f114
attributes = {
1050005: {
'access': 'read-write',
Expand Down
4 changes: 2 additions & 2 deletions src/nifgen/metadata/config.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
# This file is generated from NI-FGEN API metadata version 24.5.0d52
# This file is generated from NI-FGEN API metadata version 25.0.0f114
config = {
'api_version': '24.5.0d52',
'api_version': '25.0.0f114',
'c_function_prefix': 'niFgen_',
'close_function': 'close',
'context_manager_name': {
Expand Down
2 changes: 1 addition & 1 deletion src/nifgen/metadata/enums.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
# This file is generated from NI-FGEN API metadata version 24.5.0d52
# This file is generated from NI-FGEN API metadata version 25.0.0f114
enums = {
'AnalogPath': {
'values': [
Expand Down
2 changes: 1 addition & 1 deletion src/nifgen/metadata/functions.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
# This file is generated from NI-FGEN API metadata version 24.5.0d52
# This file is generated from NI-FGEN API metadata version 25.0.0f114
functions = {
'AbortGeneration': {
'documentation': {
Expand Down
1,806 changes: 903 additions & 903 deletions src/nifgen/metadata/nifgen.proto

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/niswitch/metadata/attributes.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
# This file is generated from NI-SWITCH API metadata version 23.5.0d149
# This file is generated from NI-SWITCH API metadata version 25.0.0f94
attributes = {
1050005: {
'access': 'read-write',
Expand Down
4 changes: 2 additions & 2 deletions src/niswitch/metadata/config.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
# This file is generated from NI-SWITCH API metadata version 23.5.0d149
# This file is generated from NI-SWITCH API metadata version 25.0.0f94
config = {
'api_version': '23.5.0d149',
'api_version': '25.0.0f94',
'c_function_prefix': 'niSwitch_',
'close_function': 'close',
'context_manager_name': {
Expand Down
25 changes: 23 additions & 2 deletions src/niswitch/metadata/enums.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
# This file is generated from NI-SWITCH API metadata version 23.5.0d149
# This file is generated from NI-SWITCH API metadata version 25.0.0f94
enums = {
'CabledModuleScanAdvancedBus': {
'values': [
Expand Down Expand Up @@ -314,7 +314,8 @@
'documentation': {
'description': 'Resource in use'
},
'name': 'NISWITCH_VAL_RESOURCE_IN_USE',
'name': 'NISWITCH_VAL_RSRC_IN_USE',
'python_name': 'RESOURCE_IN_USE',
'value': 4
},
{
Expand Down Expand Up @@ -351,6 +352,26 @@
}
]
},
'RelayContact': {
'values': [
{
'name': 'NISWITCH_VAL_RELAYTEST_RELAY_CONTACT_0',
'value': 0
},
{
'name': 'NISWITCH_VAL_RELAYTEST_RELAY_CONTACT_1',
'value': 1
},
{
'name': 'NISWITCH_VAL_RELAYTEST_RELAY_CONTACT_2',
'value': 2
},
{
'name': 'NISWITCH_VAL_RELAYTEST_RELAY_CONTACT_3',
'value': 3
}
]
},
'RelayPosition': {
'values': [
{
Expand Down
4 changes: 2 additions & 2 deletions src/niswitch/metadata/functions.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
# This file is generated from NI-SWITCH API metadata version 23.5.0d149
# This file is generated from NI-SWITCH API metadata version 25.0.0f94
functions = {
'AbortScan': {
'documentation': {
Expand Down Expand Up @@ -52,7 +52,7 @@
{
'direction': 'out',
'documentation': {
'description': '\nIndicates whether a path is valid. Possible values include:\n\n- NISWITCH_VAL_PATH_AVAILABLE 1\n- NISWITCH_VAL_PATH_EXISTS 2\n- NISWITCH_VAL_PATH_UNSUPPORTED 3\n- NISWITCH_VAL_RESOURCE_IN_USE 4\n- NISWITCH_VAL_SOURCE_CONFLICT 5\n- NISWITCH_VAL_CHANNEL_NOT_AVAILABLE 6\n\nNotes: (1)\nNISWITCH_VAL_PATH_AVAILABLE indicates that the driver can create the\npath at this time. (2) NISWITCH_VAL_PATH_EXISTS indicates that the\npath already exists. (3) NISWITCH_VAL_PATH_UNSUPPORTED indicates that\nthe instrument is not capable of creating a path between the channels\nyou specify. (4) NISWITCH_VAL_RESOURCE_IN_USE indicates that although\nthe path is valid, the driver cannot create the path at this moment\nbecause the switch device is currently using one or more of the required\nchannels to create another path. You must destroy the other path before\ncreating this one. (5) NISWITCH_VAL_SOURCE_CONFLICT indicates that\nthe instrument cannot create a path because both channels are connected\nto a different source channel. (6)\nNISWITCH_VAL_CHANNEL_NOT_AVAILABLE indicates that the driver cannot\ncreate a path between the two channels because one of the channels is a\nconfiguration channel and thus unavailable for external connections.\n'
'description': '\nIndicates whether a path is valid. Possible values include:\n\n- NISWITCH_VAL_PATH_AVAILABLE 1\n- NISWITCH_VAL_PATH_EXISTS 2\n- NISWITCH_VAL_PATH_UNSUPPORTED 3\n- NISWITCH_VAL_RSRC_IN_USE 4\n- NISWITCH_VAL_SOURCE_CONFLICT 5\n- NISWITCH_VAL_CHANNEL_NOT_AVAILABLE 6\n\nNotes: (1)\nNISWITCH_VAL_PATH_AVAILABLE indicates that the driver can create the\npath at this time. (2) NISWITCH_VAL_PATH_EXISTS indicates that the\npath already exists. (3) NISWITCH_VAL_PATH_UNSUPPORTED indicates that\nthe instrument is not capable of creating a path between the channels\nyou specify. (4) NISWITCH_VAL_RSRC_IN_USE indicates that although\nthe path is valid, the driver cannot create the path at this moment\nbecause the switch device is currently using one or more of the required\nchannels to create another path. You must destroy the other path before\ncreating this one. (5) NISWITCH_VAL_SOURCE_CONFLICT indicates that\nthe instrument cannot create a path because both channels are connected\nto a different source channel. (6)\nNISWITCH_VAL_CHANNEL_NOT_AVAILABLE indicates that the driver cannot\ncreate a path between the two channels because one of the channels is a\nconfiguration channel and thus unavailable for external connections.\n'
},
'enum': 'PathCapability',
'name': 'pathCapability',
Expand Down
Loading

0 comments on commit 4d22c69

Please sign in to comment.