@@ -44,14 +44,9 @@ def __init__(self, ctypes_library):
4444 self .niRFSG_ConfigureDigitalEdgeStartTrigger_cfunc = None
4545 self .niRFSG_ConfigureDigitalLevelScriptTrigger_cfunc = None
4646 self .niRFSG_ConfigureDigitalModulationUserDefinedWaveform_cfunc = None
47- self .niRFSG_ConfigureGenerationMode_cfunc = None
48- self .niRFSG_ConfigureOutputEnabled_cfunc = None
49- self .niRFSG_ConfigureP2PEndpointFullnessStartTrigger_cfunc = None
50- self .niRFSG_ConfigurePowerLevelType_cfunc = None
5147 self .niRFSG_ConfigurePxiChassisClk10_cfunc = None
5248 self .niRFSG_ConfigureRF_cfunc = None
5349 self .niRFSG_ConfigureRefClock_cfunc = None
54- self .niRFSG_ConfigureSignalBandwidth_cfunc = None
5550 self .niRFSG_ConfigureSoftwareScriptTrigger_cfunc = None
5651 self .niRFSG_ConfigureSoftwareStartTrigger_cfunc = None
5752 self .niRFSG_CreateDeembeddingSparameterTableS2PFile_cfunc = None
@@ -77,7 +72,6 @@ def __init__(self, ctypes_library):
7772 self .niRFSG_GetMaxSettablePower_cfunc = None
7873 self .niRFSG_GetSelfCalibrationDateAndTime_cfunc = None
7974 self .niRFSG_GetSelfCalibrationTemperature_cfunc = None
80- self .niRFSG_GetStreamEndpointHandle_cfunc = None
8175 self .niRFSG_GetTerminalName_cfunc = None
8276 self .niRFSG_GetWaveformBurstStartLocations_cfunc = None
8377 self .niRFSG_GetWaveformBurstStopLocations_cfunc = None
@@ -93,6 +87,7 @@ def __init__(self, ctypes_library):
9387 self .niRFSG_ResetAttribute_cfunc = None
9488 self .niRFSG_ResetDevice_cfunc = None
9589 self .niRFSG_ResetWithDefaults_cfunc = None
90+ self .niRFSG_ResetWithOptions_cfunc = None
9691 self .niRFSG_RevisionQuery_cfunc = None
9792 self .niRFSG_SaveConfigurationsToFile_cfunc = None
9893 self .niRFSG_SelectArbWaveform_cfunc = None
@@ -115,7 +110,6 @@ def __init__(self, ctypes_library):
115110 self .niRFSG_WriteArbWaveformComplexF32_cfunc = None
116111 self .niRFSG_WriteArbWaveformComplexF64_cfunc = None
117112 self .niRFSG_WriteArbWaveformComplexI16_cfunc = None
118- self .niRFSG_WriteP2PEndpointI16_cfunc = None
119113 self .niRFSG_WriteScript_cfunc = None
120114 self .niRFSG_close_cfunc = None
121115 self .niRFSG_reset_cfunc = None
@@ -319,38 +313,6 @@ def niRFSG_ConfigureDigitalModulationUserDefinedWaveform(self, vi, number_of_sam
319313 self .niRFSG_ConfigureDigitalModulationUserDefinedWaveform_cfunc .restype = ViStatus # noqa: F405
320314 return self .niRFSG_ConfigureDigitalModulationUserDefinedWaveform_cfunc (vi , number_of_samples , user_defined_waveform )
321315
322- def niRFSG_ConfigureGenerationMode (self , vi , generation_mode ): # noqa: N802
323- with self ._func_lock :
324- if self .niRFSG_ConfigureGenerationMode_cfunc is None :
325- self .niRFSG_ConfigureGenerationMode_cfunc = self ._get_library_function ('niRFSG_ConfigureGenerationMode' )
326- self .niRFSG_ConfigureGenerationMode_cfunc .argtypes = [ViSession , ViInt32 ] # noqa: F405
327- self .niRFSG_ConfigureGenerationMode_cfunc .restype = ViStatus # noqa: F405
328- return self .niRFSG_ConfigureGenerationMode_cfunc (vi , generation_mode )
329-
330- def niRFSG_ConfigureOutputEnabled (self , vi , output_enabled ): # noqa: N802
331- with self ._func_lock :
332- if self .niRFSG_ConfigureOutputEnabled_cfunc is None :
333- self .niRFSG_ConfigureOutputEnabled_cfunc = self ._get_library_function ('niRFSG_ConfigureOutputEnabled' )
334- self .niRFSG_ConfigureOutputEnabled_cfunc .argtypes = [ViSession , ViBoolean ] # noqa: F405
335- self .niRFSG_ConfigureOutputEnabled_cfunc .restype = ViStatus # noqa: F405
336- return self .niRFSG_ConfigureOutputEnabled_cfunc (vi , output_enabled )
337-
338- def niRFSG_ConfigureP2PEndpointFullnessStartTrigger (self , vi , p2p_endpoint_fullness_level ): # noqa: N802
339- with self ._func_lock :
340- if self .niRFSG_ConfigureP2PEndpointFullnessStartTrigger_cfunc is None :
341- self .niRFSG_ConfigureP2PEndpointFullnessStartTrigger_cfunc = self ._get_library_function ('niRFSG_ConfigureP2PEndpointFullnessStartTrigger' )
342- self .niRFSG_ConfigureP2PEndpointFullnessStartTrigger_cfunc .argtypes = [ViSession , ViInt64 ] # noqa: F405
343- self .niRFSG_ConfigureP2PEndpointFullnessStartTrigger_cfunc .restype = ViStatus # noqa: F405
344- return self .niRFSG_ConfigureP2PEndpointFullnessStartTrigger_cfunc (vi , p2p_endpoint_fullness_level )
345-
346- def niRFSG_ConfigurePowerLevelType (self , vi , power_level_type ): # noqa: N802
347- with self ._func_lock :
348- if self .niRFSG_ConfigurePowerLevelType_cfunc is None :
349- self .niRFSG_ConfigurePowerLevelType_cfunc = self ._get_library_function ('niRFSG_ConfigurePowerLevelType' )
350- self .niRFSG_ConfigurePowerLevelType_cfunc .argtypes = [ViSession , ViInt32 ] # noqa: F405
351- self .niRFSG_ConfigurePowerLevelType_cfunc .restype = ViStatus # noqa: F405
352- return self .niRFSG_ConfigurePowerLevelType_cfunc (vi , power_level_type )
353-
354316 def niRFSG_ConfigurePxiChassisClk10 (self , vi , pxi_clk10_source ): # noqa: N802
355317 with self ._func_lock :
356318 if self .niRFSG_ConfigurePxiChassisClk10_cfunc is None :
@@ -375,14 +337,6 @@ def niRFSG_ConfigureRefClock(self, vi, ref_clock_source, ref_clock_rate): # noq
375337 self .niRFSG_ConfigureRefClock_cfunc .restype = ViStatus # noqa: F405
376338 return self .niRFSG_ConfigureRefClock_cfunc (vi , ref_clock_source , ref_clock_rate )
377339
378- def niRFSG_ConfigureSignalBandwidth (self , vi , signal_bandwidth ): # noqa: N802
379- with self ._func_lock :
380- if self .niRFSG_ConfigureSignalBandwidth_cfunc is None :
381- self .niRFSG_ConfigureSignalBandwidth_cfunc = self ._get_library_function ('niRFSG_ConfigureSignalBandwidth' )
382- self .niRFSG_ConfigureSignalBandwidth_cfunc .argtypes = [ViSession , ViReal64 ] # noqa: F405
383- self .niRFSG_ConfigureSignalBandwidth_cfunc .restype = ViStatus # noqa: F405
384- return self .niRFSG_ConfigureSignalBandwidth_cfunc (vi , signal_bandwidth )
385-
386340 def niRFSG_ConfigureSoftwareScriptTrigger (self , vi , trigger_id ): # noqa: N802
387341 with self ._func_lock :
388342 if self .niRFSG_ConfigureSoftwareScriptTrigger_cfunc is None :
@@ -583,14 +537,6 @@ def niRFSG_GetSelfCalibrationTemperature(self, vi, module, temperature): # noqa
583537 self .niRFSG_GetSelfCalibrationTemperature_cfunc .restype = ViStatus # noqa: F405
584538 return self .niRFSG_GetSelfCalibrationTemperature_cfunc (vi , module , temperature )
585539
586- def niRFSG_GetStreamEndpointHandle (self , vi , stream_endpoint , reader_handle ): # noqa: N802
587- with self ._func_lock :
588- if self .niRFSG_GetStreamEndpointHandle_cfunc is None :
589- self .niRFSG_GetStreamEndpointHandle_cfunc = self ._get_library_function ('niRFSG_GetStreamEndpointHandle' )
590- self .niRFSG_GetStreamEndpointHandle_cfunc .argtypes = [ViSession , ctypes .POINTER (ViChar ), ctypes .POINTER (ViUInt32 )] # noqa: F405
591- self .niRFSG_GetStreamEndpointHandle_cfunc .restype = ViStatus # noqa: F405
592- return self .niRFSG_GetStreamEndpointHandle_cfunc (vi , stream_endpoint , reader_handle )
593-
594540 def niRFSG_GetTerminalName (self , vi , signal , signal_identifier , buffer_size , terminal_name ): # noqa: N802
595541 with self ._func_lock :
596542 if self .niRFSG_GetTerminalName_cfunc is None :
@@ -711,6 +657,14 @@ def niRFSG_ResetWithDefaults(self, vi): # noqa: N802
711657 self .niRFSG_ResetWithDefaults_cfunc .restype = ViStatus # noqa: F405
712658 return self .niRFSG_ResetWithDefaults_cfunc (vi )
713659
660+ def niRFSG_ResetWithOptions (self , vi , steps_to_omit ): # noqa: N802
661+ with self ._func_lock :
662+ if self .niRFSG_ResetWithOptions_cfunc is None :
663+ self .niRFSG_ResetWithOptions_cfunc = self ._get_library_function ('niRFSG_ResetWithOptions' )
664+ self .niRFSG_ResetWithOptions_cfunc .argtypes = [ViSession , ViUInt64 ] # noqa: F405
665+ self .niRFSG_ResetWithOptions_cfunc .restype = ViStatus # noqa: F405
666+ return self .niRFSG_ResetWithOptions_cfunc (vi , steps_to_omit )
667+
714668 def niRFSG_RevisionQuery (self , vi , instrument_driver_revision , firmware_revision ): # noqa: N802
715669 with self ._func_lock :
716670 if self .niRFSG_RevisionQuery_cfunc is None :
@@ -887,14 +841,6 @@ def niRFSG_WriteArbWaveformComplexI16(self, vi, waveform_name, number_of_samples
887841 self .niRFSG_WriteArbWaveformComplexI16_cfunc .restype = ViStatus # noqa: F405
888842 return self .niRFSG_WriteArbWaveformComplexI16_cfunc (vi , waveform_name , number_of_samples , waveform_data_array )
889843
890- def niRFSG_WriteP2PEndpointI16 (self , vi , stream_endpoint , number_of_samples , endpoint_data ): # noqa: N802
891- with self ._func_lock :
892- if self .niRFSG_WriteP2PEndpointI16_cfunc is None :
893- self .niRFSG_WriteP2PEndpointI16_cfunc = self ._get_library_function ('niRFSG_WriteP2PEndpointI16' )
894- self .niRFSG_WriteP2PEndpointI16_cfunc .argtypes = [ViSession , ctypes .POINTER (ViChar ), ViInt32 , ctypes .POINTER (ViInt16 )] # noqa: F405
895- self .niRFSG_WriteP2PEndpointI16_cfunc .restype = ViStatus # noqa: F405
896- return self .niRFSG_WriteP2PEndpointI16_cfunc (vi , stream_endpoint , number_of_samples , endpoint_data )
897-
898844 def niRFSG_WriteScript (self , vi , script ): # noqa: N802
899845 with self ._func_lock :
900846 if self .niRFSG_WriteScript_cfunc is None :
0 commit comments