You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Specifies the size of the array that is returned by the :py:attr:`nirfsg.Session.SPARAMETERS` output.
1702
-
1703
-
1704
-
1705
-
.. note:: One or more of the referenced properties are not in the Python API for this driver.
1706
-
1707
-
1708
-
:type sparameters_array_size: int
1709
-
1710
-
:rtype: tuple (sparameters, number_of_ports)
1711
-
1712
-
WHERE
1713
-
1714
-
sparameters (list of NIComplexNumber):
1698
+
:rtype: numpy.array(dtype=numpy.complex128)
1699
+
:return:
1715
1700
1716
1701
1717
1702
Returns an array of S-parameters. The S-parameters are returned in the following order: s11, s12, s21, s22.
1718
1703
1719
1704
1720
1705
1721
1706
1722
-
number_of_ports (int):
1723
-
1724
-
1725
-
Returns the number of S-parameter ports. The **sparameter** array is always *n* x *n*, where span *n* is the number of ports.
1726
-
1727
-
1728
-
1729
-
1730
1707
1731
1708
get_error
1732
1709
---------
@@ -3108,7 +3085,7 @@ write_arb_waveform
3108
3085
3109
3086
Writes an arbitrary waveform to the NI-RFSG device starting at the position of the last data written in onboard memory.
3110
3087
3111
-
This method accepts the complex baseband data in the form of numpy array of numpy.complex64 or numpy.complex128 or interleaved numpy array of numpy.int16. If the waveform to write is already allocated using the :py:meth:`nirfsg.Session.allocate_arb_waveform`, the **:py:attr:`nirfsg.Session.MORE_DATA_PENDING`** parameter is ignored. The PXI-5670/5671 must be in the Configuration state before you call this method. When streaming is enabled, you can call this method when the PXIe-5672/5673/5673E or PXIe-5820/5830/5831/5832/5840/5841/5842/5860 is in the Generation state.
3088
+
This method accepts the complex baseband data in the form of numpy array of numpy.complex64 or numpy.complex128 or interleaved numpy array of numpy.int16. If the waveform to write is already allocated using the :py:meth:`nirfsg.Session.allocate_arb_waveform`, the more_data_pending parameter is ignored. The PXI-5670/5671 must be in the Configuration state before you call this method. When streaming is enabled, you can call this method when the PXIe-5672/5673/5673E or PXIe-5820/5830/5831/5832/5840/5841/5842/5860 is in the Generation state.
.. note:: On the PXIe-5644/5645/5646, PXIe-5672/5673/5673E, and PXIe-5820/5830/5831/5832/5840/5841/5842/5860, the **:py:attr:`nirfsg.Session.MORE_DATA_PENDING`** parameter is always ignored. To write data in blocks on these devices, you must allocate the waveform before writing it.
3100
+
.. note:: On the PXIe-5644/5645/5646, PXIe-5672/5673/5673E, and PXIe-5820/5830/5831/5832/5840/5841/5842/5860, the more_data_pending parameter is always ignored. To write data in blocks on these devices, you must allocate the waveform before writing it.
3124
3101
If you are writing interleaved numpy array of numpy.int16, then this method only supports :py:data:`~nirfsg.PowerLevelType.PEAK` mode as specified in the :py:attr:`nirfsg.Session.power_level_type` property. If you download a waveform as interleaved numpy array of numpy.int16 when using this method, you cannot set the :py:attr:`nirfsg.Session.power_level_type` to :py:data:`~nirfsg.PowerLevelType.AVERAGE` without causing error in the output.
3125
3102
3126
-
.. note:: One or more of the referenced properties are not in the Python API for this driver.
3127
-
3128
3103
3129
3104
3130
3105
:param waveform_name:
@@ -3148,12 +3123,10 @@ write_arb_waveform
3148
3123
:param more_data_pending:
3149
3124
3150
3125
3151
-
Specifies whether or not the data block contains the end of the waveform. Set this parameter to True to allow data to be appended later to the waveform. Splitting the waveform into multiple data blocks can reduce the memory requirements of the write operation. Append data to a previously written waveform by using the same waveform in the **name** parameter. Set **:py:attr:`nirfsg.Session.MORE_DATA_PENDING`** to False to indicate that this data block contains the end of the waveform. If the waveform is already allocated, this parameter is ignored.
3126
+
Specifies whether or not the data block contains the end of the waveform. Set this parameter to True to allow data to be appended later to the waveform. Splitting the waveform into multiple data blocks can reduce the memory requirements of the write operation. Append data to a previously written waveform by using the same waveform in the **name** parameter. Set more_data_pending to False to indicate that this data block contains the end of the waveform. If the waveform is already allocated, this parameter is ignored.
3152
3127
3153
3128
3154
3129
3155
-
.. note:: One or more of the referenced properties are not in the Python API for this driver.
0 commit comments