From c991239037f4fc24179187b9064c388e0cb2b25c Mon Sep 17 00:00:00 2001 From: mohit-emerson Date: Fri, 23 Oct 2026 15:03:17 +0000 Subject: [PATCH 1/3] NONE_STR changed back to NONE --- docs/nirfsa/class.rst | 20 ++++++++++---------- docs/nirfsa/enums.rst | 8 ++++---- generated/nirfsa/nirfsa/enums.py | 8 ++++---- generated/nirfsa/nirfsa/session.py | 20 ++++++++++---------- src/nirfsa/metadata/enums.py | 8 ++++---- 5 files changed, 32 insertions(+), 32 deletions(-) diff --git a/docs/nirfsa/class.rst b/docs/nirfsa/class.rst index 4e472127e..6fa49c909 100644 --- a/docs/nirfsa/class.rst +++ b/docs/nirfsa/class.rst @@ -4996,13 +4996,13 @@ exported_digitizer_sample_clock_output_terminal **Defined Values**: - +------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------+ - | Name | Description | - +==================================================================+==========================================================================================================================================================+ - | :py:data:`~nirfsa.DigitizerSampleClockExportedTerminal.NONE_STR` | The Reference Clock is not exported. This value is not valid for the PXIe-5644/5645/5646. | - +------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------+ - | :py:data:`~nirfsa.DigitizerSampleClockExportedTerminal.CLK_OUT` | Export the clock on the CLK OUT terminal on the IF digitizer. This value is not valid for the PXIe-5644/5645/5646 or PXIe-5820/5830/5831/5832/5840/5841. | - +------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------+ + +-----------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------+ + | Name | Description | + +=================================================================+==========================================================================================================================================================+ + | :py:data:`~nirfsa.NIRFSA_VAL_NONE_STR` | The Reference Clock is not exported. This value is not valid for the PXIe-5644/5645/5646. | + +-----------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------+ + | :py:data:`~nirfsa.DigitizerSampleClockExportedTerminal.CLK_OUT` | Export the clock on the CLK OUT terminal on the IF digitizer. This value is not valid for the PXIe-5644/5645/5646 or PXIe-5820/5830/5831/5832/5840/5841. | + +-----------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------+ .. note:: One or more of the referenced values are not in the Python API for this driver. Enums that only define values, or represent True/False, have been removed. @@ -5497,7 +5497,7 @@ exported_ref_clock_output_terminal +-------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | Name | Description | +===================================================================+=================================================================================================================================================================================================================+ - | :py:data:`~nirfsa.ReferenceClockExportedTerminal.NONE_STR` | The Reference Clock is not exported. This value is not valid for the PXIe-5644/5645/5646. | + | :py:data:`~nirfsa.NIRFSA_VAL_NONE_STR` | The Reference Clock is not exported. This value is not valid for the PXIe-5644/5645/5646. | +-------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :py:data:`~nirfsa.ReferenceClockExportedTerminal.REF_OUT` | Export the clock on the REF IN/OUT terminal on the PXI/PXIe-5652, the REF OUT terminals on the PXIe-5653, or the REF OUT terminal on the PXIe-5644/5645/5646, PXIe-5694, or PXIe-5820/5830/5831/5832/5840/5841. | +-------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ @@ -9179,7 +9179,7 @@ ref_clock_source ---- **Note** - For the PXIe-5694, if your application requires an external LO source, set this property to :py:data:`~nirfsa.ReferenceClockSource.NONE_STR`. + For the PXIe-5694, if your application requires an external LO source, set this property to :py:data:`~nirfsa.NIRFSA_VAL_NONE_STR`. ---- @@ -9200,7 +9200,7 @@ ref_clock_source +--------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | Name | Description | +========================================================+===============================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================+ - | :py:data:`~nirfsa.ReferenceClockSource.NONE_STR` | No Reference Clock is required for the current device configuration. This value is valid only for the PXIe-5694 or the PXIe-5668. | + | :py:data:`~nirfsa.NIRFSA_VAL_NONE_STR` | No Reference Clock is required for the current device configuration. This value is valid only for the PXIe-5694 or the PXIe-5668. | +--------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :py:data:`~nirfsa.ReferenceClockSource.ONBOARD_CLOCK` | **PXI-5661 **NI-RFSA locks the NI-RFSA device to the PXI-5600 RF downconverter onboard clock.**PXIe-5663/5663E **NI-RFSA locks the PXIe-5663/5663E to the PXI/PXIe-5652 LO source onboard clock. Connect the REF OUT2 connector (if it exists) on the PXI/PXIe-5652 to the CLK IN terminal on the PXIe-5622. On versions of the PXIe-5663/5663E that lack a REF OUT2 connector on the PXI/PXIe-5652, connect the REF IN/OUT connector on the PXI/PXIe-5652 to the CLK IN terminal on the PXI5622.**PXIe-5665 **NI-RFSA locks the PXIe-5665 to the PXIe-5653 LO source onboard clock. Connect the 100 MHz REF OUT terminal on the PXIe-5653 to the CLK IN terminal on the PXIe-5622.**PXIe-5667 **NI-RFSA locks the PXIe-5667 to the PXIe-5653 LO source onboard clock. Connect the 100 MHz REF OUT terminal on the PXIe-5653 to the CLK IN terminal on the PXIe-5622, and connect the 10 MHZ REF OUT terminal on the PXIe-5653 to the REF/LO IN connector on the PXIe-5694.**PXIe-5668 **Lock the PXIe-5668 to the PXIe-5653 LO SOURCE onboard clock. Connect the LO2 OUT connector on the PXIe-5606 to the CLK IN connector on the PXIe-5624.**PXIe-5830/5831 **For the PXIe-5830, connect the PXIe-5820 REF IN connector to the PXIe-3621 REF OUT connector. For the PXIe-5831/5832, connect the PXIe-5820 REF IN connector to the PXIe-3622 REF OUT connector.**PXIe-5831/5832 with PXIe-5653 **Connect the PXIe-5820 REF IN connector to the PXIe-3622 REF OUT connector. Connect the PXIe-5653 REF OUT (10 MHz) connector to the PXIe-3622 REF IN connector.**PXIe-5644/5645/5646, PXIe-5820/5840/5841 **Lock the NI-RFSA device to its onboard clock.**PXIe-5841 with PXIe-5655 **Lock to the PXIe-5655 onboard clock. Connect the REF OUT connector on the PXIe-5655 to the PXIe-5841 REF IN connector.**PXIe-5842 **Lock to the PXIe-5655 onboard clock. Cables between modules are required as shown in the User Manual for the instrument.**PXIe-5860 **Lock to the PXIe-5860 onboard clock. | +--------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ diff --git a/docs/nirfsa/enums.rst b/docs/nirfsa/enums.rst index 0270a87db..830ea32c0 100644 --- a/docs/nirfsa/enums.rst +++ b/docs/nirfsa/enums.rst @@ -486,7 +486,7 @@ DigitizerSampleClockExportedTerminal .. py:class:: DigitizerSampleClockExportedTerminal - .. py:attribute:: DigitizerSampleClockExportedTerminal.NONE_STR + .. py:attribute:: DigitizerSampleClockExportedTerminal.NONE @@ -2076,7 +2076,7 @@ PxiChassisClk10Source .. py:class:: PxiChassisClk10Source - .. py:attribute:: PxiChassisClk10Source.NONE_STR + .. py:attribute:: PxiChassisClk10Source.NONE @@ -2146,7 +2146,7 @@ ReferenceClockExportedTerminal .. py:class:: ReferenceClockExportedTerminal - .. py:attribute:: ReferenceClockExportedTerminal.NONE_STR + .. py:attribute:: ReferenceClockExportedTerminal.NONE @@ -2201,7 +2201,7 @@ ReferenceClockSource .. py:class:: ReferenceClockSource - .. py:attribute:: ReferenceClockSource.NONE_STR + .. py:attribute:: ReferenceClockSource.NONE diff --git a/generated/nirfsa/nirfsa/enums.py b/generated/nirfsa/nirfsa/enums.py index 9a89e035d..d16310aa5 100644 --- a/generated/nirfsa/nirfsa/enums.py +++ b/generated/nirfsa/nirfsa/enums.py @@ -209,7 +209,7 @@ class DigitizerDitherEnabled(Enum): class DigitizerSampleClockExportedTerminal(Enum): - NONE_STR = 'None' + NONE = 'None' r''' The Reference Clock is not exported. This value is not valid for the PXIe-5644/5645/5646. ''' @@ -877,7 +877,7 @@ class PowerSpectrumUnits(Enum): class PxiChassisClk10Source(Enum): - NONE_STR = 'None' + NONE = 'None' r''' The device does not drive the PXI 10 MHz backplane Reference Clock. ''' @@ -907,7 +907,7 @@ class ReferenceClockExportedRate(Enum): class ReferenceClockExportedTerminal(Enum): - NONE_STR = 'None' + NONE = 'None' r''' The Reference Clock is not exported. This value is not valid for the PXIe-5644/5645/5646. ''' @@ -930,7 +930,7 @@ class ReferenceClockExportedTerminal(Enum): class ReferenceClockSource(Enum): - NONE_STR = 'None' + NONE = 'None' r''' No Reference Clock is required for the current device configuration. This value is valid only for the PXIe-5694 or the PXIe-5668. ''' diff --git a/generated/nirfsa/nirfsa/session.py b/generated/nirfsa/nirfsa/session.py index 8dbdd8dac..7ff693535 100644 --- a/generated/nirfsa/nirfsa/session.py +++ b/generated/nirfsa/nirfsa/session.py @@ -1579,13 +1579,13 @@ class _SessionBase(object): **Defined Values**: - +-----------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------+ - | Name | Description | - +===============================================+==========================================================================================================================================================+ - | DigitizerSampleClockExportedTerminal.NONE_STR | The Reference Clock is not exported. This value is not valid for the PXIe-5644/5645/5646. | - +-----------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------+ - | DigitizerSampleClockExportedTerminal.CLK_OUT | Export the clock on the CLK OUT terminal on the IF digitizer. This value is not valid for the PXIe-5644/5645/5646 or PXIe-5820/5830/5831/5832/5840/5841. | - +-----------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------+ + +----------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------+ + | Name | Description | + +==============================================+==========================================================================================================================================================+ + | NIRFSA_VAL_NONE_STR | The Reference Clock is not exported. This value is not valid for the PXIe-5644/5645/5646. | + +----------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------+ + | DigitizerSampleClockExportedTerminal.CLK_OUT | Export the clock on the CLK OUT terminal on the IF digitizer. This value is not valid for the PXIe-5644/5645/5646 or PXIe-5820/5830/5831/5832/5840/5841. | + +----------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------+ Note: One or more of the referenced values are not in the Python API for this driver. Enums that only define values, or represent True/False, have been removed. @@ -1966,7 +1966,7 @@ class _SessionBase(object): +------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | Name | Description | +================================================+=================================================================================================================================================================================================================+ - | ReferenceClockExportedTerminal.NONE_STR | The Reference Clock is not exported. This value is not valid for the PXIe-5644/5645/5646. | + | NIRFSA_VAL_NONE_STR | The Reference Clock is not exported. This value is not valid for the PXIe-5644/5645/5646. | +------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | ReferenceClockExportedTerminal.REF_OUT | Export the clock on the REF IN/OUT terminal on the PXI/PXIe-5652, the REF OUT terminals on the PXIe-5653, or the REF OUT terminal on the PXIe-5644/5645/5646, PXIe-5694, or PXIe-5820/5830/5831/5832/5840/5841. | +------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ @@ -4013,7 +4013,7 @@ class _SessionBase(object): ---- **Note** - For the PXIe-5694, if your application requires an external LO source, set this property to ReferenceClockSource.NONE_STR. + For the PXIe-5694, if your application requires an external LO source, set this property to NIRFSA_VAL_NONE_STR. ---- @@ -4034,7 +4034,7 @@ class _SessionBase(object): +-------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | Name | Description | +=====================================+===========================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================+ - | ReferenceClockSource.NONE_STR | No Reference Clock is required for the current device configuration. This value is valid only for the PXIe-5694 or the PXIe-5668. | + | NIRFSA_VAL_NONE_STR | No Reference Clock is required for the current device configuration. This value is valid only for the PXIe-5694 or the PXIe-5668. | +-------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | ReferenceClockSource.ONBOARD_CLOCK | **PXI-5661 **NI-RFSA locks the NI-RFSA device to the PXI-5600 RF downconverter onboard clock.**PXIe-5663/5663E **NI-RFSA locks the PXIe-5663/5663E to the PXI/PXIe-5652 LO source onboard clock. Connect the REF OUT2 connector (if it exists) on the PXI/PXIe-5652 to the CLK IN terminal on the PXIe-5622. On versions of the PXIe-5663/5663E that lack a REF OUT2 connector on the PXI/PXIe-5652, connect the REF IN/OUT connector on the PXI/PXIe-5652 to the CLK IN terminal on the PXI5622.**PXIe-5665 **NI-RFSA locks the PXIe-5665 to the PXIe-5653 LO source onboard clock. Connect the 100 MHz REF OUT terminal on the PXIe-5653 to the CLK IN terminal on the PXIe-5622.**PXIe-5667 **NI-RFSA locks the PXIe-5667 to the PXIe-5653 LO source onboard clock. Connect the 100 MHz REF OUT terminal on the PXIe-5653 to the CLK IN terminal on the PXIe-5622, and connect the 10 MHZ REF OUT terminal on the PXIe-5653 to the REF/LO IN connector on the PXIe-5694.**PXIe-5668 **Lock the PXIe-5668 to the PXIe-5653 LO SOURCE onboard clock. Connect the LO2 OUT connector on the PXIe-5606 to the CLK IN connector on the PXIe-5624.**PXIe-5830/5831 **For the PXIe-5830, connect the PXIe-5820 REF IN connector to the PXIe-3621 REF OUT connector. For the PXIe-5831/5832, connect the PXIe-5820 REF IN connector to the PXIe-3622 REF OUT connector.**PXIe-5831/5832 with PXIe-5653 **Connect the PXIe-5820 REF IN connector to the PXIe-3622 REF OUT connector. Connect the PXIe-5653 REF OUT (10 MHz) connector to the PXIe-3622 REF IN connector.**PXIe-5644/5645/5646, PXIe-5820/5840/5841 **Lock the NI-RFSA device to its onboard clock.**PXIe-5841 with PXIe-5655 **Lock to the PXIe-5655 onboard clock. Connect the REF OUT connector on the PXIe-5655 to the PXIe-5841 REF IN connector.**PXIe-5842 **Lock to the PXIe-5655 onboard clock. Cables between modules are required as shown in the User Manual for the instrument.**PXIe-5860 **Lock to the PXIe-5860 onboard clock. | +-------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ diff --git a/src/nirfsa/metadata/enums.py b/src/nirfsa/metadata/enums.py index e677306ce..d00e133cd 100644 --- a/src/nirfsa/metadata/enums.py +++ b/src/nirfsa/metadata/enums.py @@ -360,7 +360,7 @@ 'documentation': { 'description': 'The Reference Clock is not exported. This value is not valid for the PXIe-5644/5645/5646.' }, - 'name': 'NIRFSA_VAL_NONE_STR', + 'name': 'NIRFSA_VAL_NONE', 'value': 'None' }, { @@ -1600,7 +1600,7 @@ 'documentation': { 'description': 'The device does not drive the PXI 10 MHz backplane Reference Clock.' }, - 'name': 'NIRFSA_VAL_NONE_STR', + 'name': 'NIRFSA_VAL_NONE', 'value': 'None' }, { @@ -1657,7 +1657,7 @@ 'documentation': { 'description': 'The Reference Clock is not exported. This value is not valid for the PXIe-5644/5645/5646.' }, - 'name': 'NIRFSA_VAL_NONE_STR', + 'name': 'NIRFSA_VAL_NONE', 'value': 'None' }, { @@ -1700,7 +1700,7 @@ 'documentation': { 'description': 'No Reference Clock is required for the current device configuration. This value is valid only for the PXIe-5694 or the PXIe-5668.' }, - 'name': 'NIRFSA_VAL_NONE_STR', + 'name': 'NIRFSA_VAL_NONE', 'value': 'None' }, { From f56d5d4a4bb40ded8f048ec6f56335fd45f452c1 Mon Sep 17 00:00:00 2001 From: mohit-emerson Date: Fri, 23 Oct 2026 15:03:34 +0000 Subject: [PATCH 2/3] changelog updated --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3556fcb1b..fb994baaf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1744,6 +1744,7 @@ - (Common) Added `nitlsconfig[grpc]>=1.0.0a2` to the optional gRPC dependencies. - Changed - Removed + - Removed enum value `None` from enum `LoSource` #### [nirfsa] 1.0.0 - 2026-08-20 - Added From b975c0088c9c408e0fb40a0fd4bdc3efb2fa34f5 Mon Sep 17 00:00:00 2001 From: mohit-emerson Date: Fri, 23 Oct 2026 15:33:19 +0000 Subject: [PATCH 3/3] PR comments addresssed --- CHANGELOG.md | 2 +- docs/nirfsa/class.rst | 8 ++++---- generated/nirfsa/nirfsa/session.py | 8 ++++---- src/nirfsa/metadata/enums.py | 12 ++++++++---- 4 files changed, 17 insertions(+), 13 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fb994baaf..cfa7540d4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1744,7 +1744,7 @@ - (Common) Added `nitlsconfig[grpc]>=1.0.0a2` to the optional gRPC dependencies. - Changed - Removed - - Removed enum value `None` from enum `LoSource` + - Removed invalid enum value `None` from enum `LoSource` #### [nirfsa] 1.0.0 - 2026-08-20 - Added diff --git a/docs/nirfsa/class.rst b/docs/nirfsa/class.rst index 6fa49c909..f2b59ed34 100644 --- a/docs/nirfsa/class.rst +++ b/docs/nirfsa/class.rst @@ -4999,7 +4999,7 @@ exported_digitizer_sample_clock_output_terminal +-----------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------+ | Name | Description | +=================================================================+==========================================================================================================================================================+ - | :py:data:`~nirfsa.NIRFSA_VAL_NONE_STR` | The Reference Clock is not exported. This value is not valid for the PXIe-5644/5645/5646. | + | :py:data:`~nirfsa.DigitizerSampleClockExportedTerminal.NONE` | The Reference Clock is not exported. This value is not valid for the PXIe-5644/5645/5646. | +-----------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------+ | :py:data:`~nirfsa.DigitizerSampleClockExportedTerminal.CLK_OUT` | Export the clock on the CLK OUT terminal on the IF digitizer. This value is not valid for the PXIe-5644/5645/5646 or PXIe-5820/5830/5831/5832/5840/5841. | +-----------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------+ @@ -5497,7 +5497,7 @@ exported_ref_clock_output_terminal +-------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | Name | Description | +===================================================================+=================================================================================================================================================================================================================+ - | :py:data:`~nirfsa.NIRFSA_VAL_NONE_STR` | The Reference Clock is not exported. This value is not valid for the PXIe-5644/5645/5646. | + | :py:data:`~nirfsa.ReferenceClockExportedTerminal.NONE` | The Reference Clock is not exported. This value is not valid for the PXIe-5644/5645/5646. | +-------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :py:data:`~nirfsa.ReferenceClockExportedTerminal.REF_OUT` | Export the clock on the REF IN/OUT terminal on the PXI/PXIe-5652, the REF OUT terminals on the PXIe-5653, or the REF OUT terminal on the PXIe-5644/5645/5646, PXIe-5694, or PXIe-5820/5830/5831/5832/5840/5841. | +-------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ @@ -9179,7 +9179,7 @@ ref_clock_source ---- **Note** - For the PXIe-5694, if your application requires an external LO source, set this property to :py:data:`~nirfsa.NIRFSA_VAL_NONE_STR`. + For the PXIe-5694, if your application requires an external LO source, set this property to :py:data:`~nirfsa.ReferenceClockSource.NONE`. ---- @@ -9200,7 +9200,7 @@ ref_clock_source +--------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | Name | Description | +========================================================+===============================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================+ - | :py:data:`~nirfsa.NIRFSA_VAL_NONE_STR` | No Reference Clock is required for the current device configuration. This value is valid only for the PXIe-5694 or the PXIe-5668. | + | :py:data:`~nirfsa.ReferenceClockSource.NONE` | No Reference Clock is required for the current device configuration. This value is valid only for the PXIe-5694 or the PXIe-5668. | +--------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :py:data:`~nirfsa.ReferenceClockSource.ONBOARD_CLOCK` | **PXI-5661 **NI-RFSA locks the NI-RFSA device to the PXI-5600 RF downconverter onboard clock.**PXIe-5663/5663E **NI-RFSA locks the PXIe-5663/5663E to the PXI/PXIe-5652 LO source onboard clock. Connect the REF OUT2 connector (if it exists) on the PXI/PXIe-5652 to the CLK IN terminal on the PXIe-5622. On versions of the PXIe-5663/5663E that lack a REF OUT2 connector on the PXI/PXIe-5652, connect the REF IN/OUT connector on the PXI/PXIe-5652 to the CLK IN terminal on the PXI5622.**PXIe-5665 **NI-RFSA locks the PXIe-5665 to the PXIe-5653 LO source onboard clock. Connect the 100 MHz REF OUT terminal on the PXIe-5653 to the CLK IN terminal on the PXIe-5622.**PXIe-5667 **NI-RFSA locks the PXIe-5667 to the PXIe-5653 LO source onboard clock. Connect the 100 MHz REF OUT terminal on the PXIe-5653 to the CLK IN terminal on the PXIe-5622, and connect the 10 MHZ REF OUT terminal on the PXIe-5653 to the REF/LO IN connector on the PXIe-5694.**PXIe-5668 **Lock the PXIe-5668 to the PXIe-5653 LO SOURCE onboard clock. Connect the LO2 OUT connector on the PXIe-5606 to the CLK IN connector on the PXIe-5624.**PXIe-5830/5831 **For the PXIe-5830, connect the PXIe-5820 REF IN connector to the PXIe-3621 REF OUT connector. For the PXIe-5831/5832, connect the PXIe-5820 REF IN connector to the PXIe-3622 REF OUT connector.**PXIe-5831/5832 with PXIe-5653 **Connect the PXIe-5820 REF IN connector to the PXIe-3622 REF OUT connector. Connect the PXIe-5653 REF OUT (10 MHz) connector to the PXIe-3622 REF IN connector.**PXIe-5644/5645/5646, PXIe-5820/5840/5841 **Lock the NI-RFSA device to its onboard clock.**PXIe-5841 with PXIe-5655 **Lock to the PXIe-5655 onboard clock. Connect the REF OUT connector on the PXIe-5655 to the PXIe-5841 REF IN connector.**PXIe-5842 **Lock to the PXIe-5655 onboard clock. Cables between modules are required as shown in the User Manual for the instrument.**PXIe-5860 **Lock to the PXIe-5860 onboard clock. | +--------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ diff --git a/generated/nirfsa/nirfsa/session.py b/generated/nirfsa/nirfsa/session.py index 7ff693535..4ca713878 100644 --- a/generated/nirfsa/nirfsa/session.py +++ b/generated/nirfsa/nirfsa/session.py @@ -1582,7 +1582,7 @@ class _SessionBase(object): +----------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------+ | Name | Description | +==============================================+==========================================================================================================================================================+ - | NIRFSA_VAL_NONE_STR | The Reference Clock is not exported. This value is not valid for the PXIe-5644/5645/5646. | + | DigitizerSampleClockExportedTerminal.NONE | The Reference Clock is not exported. This value is not valid for the PXIe-5644/5645/5646. | +----------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------+ | DigitizerSampleClockExportedTerminal.CLK_OUT | Export the clock on the CLK OUT terminal on the IF digitizer. This value is not valid for the PXIe-5644/5645/5646 or PXIe-5820/5830/5831/5832/5840/5841. | +----------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------+ @@ -1966,7 +1966,7 @@ class _SessionBase(object): +------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | Name | Description | +================================================+=================================================================================================================================================================================================================+ - | NIRFSA_VAL_NONE_STR | The Reference Clock is not exported. This value is not valid for the PXIe-5644/5645/5646. | + | ReferenceClockExportedTerminal.NONE | The Reference Clock is not exported. This value is not valid for the PXIe-5644/5645/5646. | +------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | ReferenceClockExportedTerminal.REF_OUT | Export the clock on the REF IN/OUT terminal on the PXI/PXIe-5652, the REF OUT terminals on the PXIe-5653, or the REF OUT terminal on the PXIe-5644/5645/5646, PXIe-5694, or PXIe-5820/5830/5831/5832/5840/5841. | +------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ @@ -4013,7 +4013,7 @@ class _SessionBase(object): ---- **Note** - For the PXIe-5694, if your application requires an external LO source, set this property to NIRFSA_VAL_NONE_STR. + For the PXIe-5694, if your application requires an external LO source, set this property to ReferenceClockSource.NONE. ---- @@ -4034,7 +4034,7 @@ class _SessionBase(object): +-------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | Name | Description | +=====================================+===========================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================+ - | NIRFSA_VAL_NONE_STR | No Reference Clock is required for the current device configuration. This value is valid only for the PXIe-5694 or the PXIe-5668. | + | ReferenceClockSource.NONE | No Reference Clock is required for the current device configuration. This value is valid only for the PXIe-5694 or the PXIe-5668. | +-------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | ReferenceClockSource.ONBOARD_CLOCK | **PXI-5661 **NI-RFSA locks the NI-RFSA device to the PXI-5600 RF downconverter onboard clock.**PXIe-5663/5663E **NI-RFSA locks the PXIe-5663/5663E to the PXI/PXIe-5652 LO source onboard clock. Connect the REF OUT2 connector (if it exists) on the PXI/PXIe-5652 to the CLK IN terminal on the PXIe-5622. On versions of the PXIe-5663/5663E that lack a REF OUT2 connector on the PXI/PXIe-5652, connect the REF IN/OUT connector on the PXI/PXIe-5652 to the CLK IN terminal on the PXI5622.**PXIe-5665 **NI-RFSA locks the PXIe-5665 to the PXIe-5653 LO source onboard clock. Connect the 100 MHz REF OUT terminal on the PXIe-5653 to the CLK IN terminal on the PXIe-5622.**PXIe-5667 **NI-RFSA locks the PXIe-5667 to the PXIe-5653 LO source onboard clock. Connect the 100 MHz REF OUT terminal on the PXIe-5653 to the CLK IN terminal on the PXIe-5622, and connect the 10 MHZ REF OUT terminal on the PXIe-5653 to the REF/LO IN connector on the PXIe-5694.**PXIe-5668 **Lock the PXIe-5668 to the PXIe-5653 LO SOURCE onboard clock. Connect the LO2 OUT connector on the PXIe-5606 to the CLK IN connector on the PXIe-5624.**PXIe-5830/5831 **For the PXIe-5830, connect the PXIe-5820 REF IN connector to the PXIe-3621 REF OUT connector. For the PXIe-5831/5832, connect the PXIe-5820 REF IN connector to the PXIe-3622 REF OUT connector.**PXIe-5831/5832 with PXIe-5653 **Connect the PXIe-5820 REF IN connector to the PXIe-3622 REF OUT connector. Connect the PXIe-5653 REF OUT (10 MHz) connector to the PXIe-3622 REF IN connector.**PXIe-5644/5645/5646, PXIe-5820/5840/5841 **Lock the NI-RFSA device to its onboard clock.**PXIe-5841 with PXIe-5655 **Lock to the PXIe-5655 onboard clock. Connect the REF OUT connector on the PXIe-5655 to the PXIe-5841 REF IN connector.**PXIe-5842 **Lock to the PXIe-5655 onboard clock. Cables between modules are required as shown in the User Manual for the instrument.**PXIe-5860 **Lock to the PXIe-5860 onboard clock. | +-------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ diff --git a/src/nirfsa/metadata/enums.py b/src/nirfsa/metadata/enums.py index d00e133cd..6cd57f144 100644 --- a/src/nirfsa/metadata/enums.py +++ b/src/nirfsa/metadata/enums.py @@ -360,7 +360,8 @@ 'documentation': { 'description': 'The Reference Clock is not exported. This value is not valid for the PXIe-5644/5645/5646.' }, - 'name': 'NIRFSA_VAL_NONE', + 'name': 'NIRFSA_VAL_NONE_STR', + 'python_name': 'NONE', 'value': 'None' }, { @@ -1600,7 +1601,8 @@ 'documentation': { 'description': 'The device does not drive the PXI 10 MHz backplane Reference Clock.' }, - 'name': 'NIRFSA_VAL_NONE', + 'name': 'NIRFSA_VAL_NONE_STR', + 'python_name': 'NONE', 'value': 'None' }, { @@ -1657,7 +1659,8 @@ 'documentation': { 'description': 'The Reference Clock is not exported. This value is not valid for the PXIe-5644/5645/5646.' }, - 'name': 'NIRFSA_VAL_NONE', + 'name': 'NIRFSA_VAL_NONE_STR', + 'python_name': 'NONE', 'value': 'None' }, { @@ -1700,7 +1703,8 @@ 'documentation': { 'description': 'No Reference Clock is required for the current device configuration. This value is valid only for the PXIe-5694 or the PXIe-5668.' }, - 'name': 'NIRFSA_VAL_NONE', + 'name': 'NIRFSA_VAL_NONE_STR', + 'python_name': 'NONE', 'value': 'None' }, {