@@ -49,6 +49,7 @@ def __init__(self, ctypes_library):
4949 self .niRFSG_ConfigureRefClock_cfunc = None
5050 self .niRFSG_ConfigureSoftwareScriptTrigger_cfunc = None
5151 self .niRFSG_ConfigureSoftwareStartTrigger_cfunc = None
52+ self .niRFSG_CreateDeembeddingSparameterTableArray_cfunc = None
5253 self .niRFSG_CreateDeembeddingSparameterTableS2PFile_cfunc = None
5354 self .niRFSG_DeleteAllDeembeddingTables_cfunc = None
5455 self .niRFSG_DeleteDeembeddingTable_cfunc = None
@@ -57,7 +58,6 @@ def __init__(self, ctypes_library):
5758 self .niRFSG_DisableStartTrigger_cfunc = None
5859 self .niRFSG_ErrorMessage_cfunc = None
5960 self .niRFSG_ErrorQuery_cfunc = None
60- self .niRFSG_ExportSignal_cfunc = None
6161 self .niRFSG_GetAllNamedWaveformNames_cfunc = None
6262 self .niRFSG_GetAllScriptNames_cfunc = None
6363 self .niRFSG_GetAttributeViBoolean_cfunc = None
@@ -67,6 +67,8 @@ def __init__(self, ctypes_library):
6767 self .niRFSG_GetAttributeViSession_cfunc = None
6868 self .niRFSG_GetAttributeViString_cfunc = None
6969 self .niRFSG_GetChannelName_cfunc = None
70+ self .niRFSG_GetDeembeddingSparameters_cfunc = None
71+ self .niRFSG_GetDeembeddingTableNumberOfPorts_cfunc = None
7072 self .niRFSG_GetError_cfunc = None
7173 self .niRFSG_GetExternalCalibrationLastDateAndTime_cfunc = None
7274 self .niRFSG_GetMaxSettablePower_cfunc = None
@@ -353,6 +355,14 @@ def niRFSG_ConfigureSoftwareStartTrigger(self, vi): # noqa: N802
353355 self .niRFSG_ConfigureSoftwareStartTrigger_cfunc .restype = ViStatus # noqa: F405
354356 return self .niRFSG_ConfigureSoftwareStartTrigger_cfunc (vi )
355357
358+ def niRFSG_CreateDeembeddingSparameterTableArray (self , vi , port , table_name , frequencies , frequencies_size , sparameter_table , sparameter_table_size , number_of_ports , sparameter_orientation ): # noqa: N802
359+ with self ._func_lock :
360+ if self .niRFSG_CreateDeembeddingSparameterTableArray_cfunc is None :
361+ self .niRFSG_CreateDeembeddingSparameterTableArray_cfunc = self ._get_library_function ('niRFSG_CreateDeembeddingSparameterTableArray' )
362+ self .niRFSG_CreateDeembeddingSparameterTableArray_cfunc .argtypes = [ViSession , ctypes .POINTER (ViChar ), ctypes .POINTER (ViChar ), ctypes .POINTER (ViReal64 ), ViInt32 , ctypes .POINTER (NIComplexNumber ), ViInt32 , ViInt32 , ViInt32 ] # noqa: F405
363+ self .niRFSG_CreateDeembeddingSparameterTableArray_cfunc .restype = ViStatus # noqa: F405
364+ return self .niRFSG_CreateDeembeddingSparameterTableArray_cfunc (vi , port , table_name , frequencies , frequencies_size , sparameter_table , sparameter_table_size , number_of_ports , sparameter_orientation )
365+
356366 def niRFSG_CreateDeembeddingSparameterTableS2PFile (self , vi , port , table_name , s2p_file_path , sparameter_orientation ): # noqa: N802
357367 with self ._func_lock :
358368 if self .niRFSG_CreateDeembeddingSparameterTableS2PFile_cfunc is None :
@@ -417,14 +427,6 @@ def niRFSG_ErrorQuery(self, vi, error_code, error_message): # noqa: N802
417427 self .niRFSG_ErrorQuery_cfunc .restype = ViStatus # noqa: F405
418428 return self .niRFSG_ErrorQuery_cfunc (vi , error_code , error_message )
419429
420- def niRFSG_ExportSignal (self , vi , signal , signal_identifier , output_terminal ): # noqa: N802
421- with self ._func_lock :
422- if self .niRFSG_ExportSignal_cfunc is None :
423- self .niRFSG_ExportSignal_cfunc = self ._get_library_function ('niRFSG_ExportSignal' )
424- self .niRFSG_ExportSignal_cfunc .argtypes = [ViSession , ViInt32 , ctypes .POINTER (ViChar ), ctypes .POINTER (ViChar )] # noqa: F405
425- self .niRFSG_ExportSignal_cfunc .restype = ViStatus # noqa: F405
426- return self .niRFSG_ExportSignal_cfunc (vi , signal , signal_identifier , output_terminal )
427-
428430 def niRFSG_GetAllNamedWaveformNames (self , vi , waveform_names , buffer_size , actual_buffer_size ): # noqa: N802
429431 with self ._func_lock :
430432 if self .niRFSG_GetAllNamedWaveformNames_cfunc is None :
@@ -497,6 +499,22 @@ def niRFSG_GetChannelName(self, vi, index, buffer_size, name): # noqa: N802
497499 self .niRFSG_GetChannelName_cfunc .restype = ViStatus # noqa: F405
498500 return self .niRFSG_GetChannelName_cfunc (vi , index , buffer_size , name )
499501
502+ def niRFSG_GetDeembeddingSparameters (self , vi , sparameters , sparameter_array_size , number_of_sparameters , number_of_ports ): # noqa: N802
503+ with self ._func_lock :
504+ if self .niRFSG_GetDeembeddingSparameters_cfunc is None :
505+ self .niRFSG_GetDeembeddingSparameters_cfunc = self ._get_library_function ('niRFSG_GetDeembeddingSparameters' )
506+ self .niRFSG_GetDeembeddingSparameters_cfunc .argtypes = [ViSession , ctypes .POINTER (NIComplexNumber ), ViInt32 , ctypes .POINTER (ViInt32 ), ctypes .POINTER (ViInt32 )] # noqa: F405
507+ self .niRFSG_GetDeembeddingSparameters_cfunc .restype = ViStatus # noqa: F405
508+ return self .niRFSG_GetDeembeddingSparameters_cfunc (vi , sparameters , sparameter_array_size , number_of_sparameters , number_of_ports )
509+
510+ def niRFSG_GetDeembeddingTableNumberOfPorts (self , vi , number_of_ports ): # noqa: N802
511+ with self ._func_lock :
512+ if self .niRFSG_GetDeembeddingTableNumberOfPorts_cfunc is None :
513+ self .niRFSG_GetDeembeddingTableNumberOfPorts_cfunc = self ._get_library_function ('niRFSG_GetDeembeddingTableNumberOfPorts' )
514+ self .niRFSG_GetDeembeddingTableNumberOfPorts_cfunc .argtypes = [ViSession , ctypes .POINTER (ViInt32 )] # noqa: F405
515+ self .niRFSG_GetDeembeddingTableNumberOfPorts_cfunc .restype = ViStatus # noqa: F405
516+ return self .niRFSG_GetDeembeddingTableNumberOfPorts_cfunc (vi , number_of_ports )
517+
500518 def niRFSG_GetError (self , vi , error_code , error_description_buffer_size , error_description ): # noqa: N802
501519 with self ._func_lock :
502520 if self .niRFSG_GetError_cfunc is None :
0 commit comments