diff --git a/generated/nirfmxbluetooth/nirfmxbluetooth.proto b/generated/nirfmxbluetooth/nirfmxbluetooth.proto index 2f529a555..57eaf34c0 100644 --- a/generated/nirfmxbluetooth/nirfmxbluetooth.proto +++ b/generated/nirfmxbluetooth/nirfmxbluetooth.proto @@ -1,6 +1,6 @@ //--------------------------------------------------------------------- -// This file is generated from NI-RFMXBLUETOOTH API metadata version 23.8.0 +// This file is generated from NI-RFMXBLUETOOTH API metadata version 24.0.0 //--------------------------------------------------------------------- // Proto file for the NI-RFMXBLUETOOTH Metadata //--------------------------------------------------------------------- @@ -113,6 +113,8 @@ service NiRFmxBluetooth { rpc ModAccFetchFrequencyErrorWiPlusW0TraceEDR(ModAccFetchFrequencyErrorWiPlusW0TraceEDRRequest) returns (ModAccFetchFrequencyErrorWiPlusW0TraceEDRResponse); rpc ModAccFetchFrequencyTrace(ModAccFetchFrequencyTraceRequest) returns (ModAccFetchFrequencyTraceResponse); rpc ModAccFetchRMSDEVMTrace(ModAccFetchRMSDEVMTraceRequest) returns (ModAccFetchRMSDEVMTraceResponse); + rpc PowerRampCfgAveraging(PowerRampCfgAveragingRequest) returns (PowerRampCfgAveragingResponse); + rpc PowerRampCfgBurstSynchronizationType(PowerRampCfgBurstSynchronizationTypeRequest) returns (PowerRampCfgBurstSynchronizationTypeResponse); rpc ResetAttribute(ResetAttributeRequest) returns (ResetAttributeResponse); rpc ResetToDefault(ResetToDefaultRequest) returns (ResetToDefaultResponse); rpc SelectMeasurements(SelectMeasurementsRequest) returns (SelectMeasurementsResponse); @@ -282,9 +284,19 @@ enum NiRFmxBluetoothAttribute { NIRFMXBLUETOOTH_ATTRIBUTE_ACP_RESULTS_UPPER_OFFSET_RELATIVE_POWER = 11554832; NIRFMXBLUETOOTH_ATTRIBUTE_ACP_RESULTS_UPPER_OFFSET_MARGIN = 11554833; NIRFMXBLUETOOTH_ATTRIBUTE_ACP_BURST_SYNCHRONIZATION_TYPE = 11554834; + NIRFMXBLUETOOTH_ATTRIBUTE_ACP_REFERENCE_CHANNEL_BANDWIDTH = 11554837; + NIRFMXBLUETOOTH_ATTRIBUTE_ACP_REFERENCE_CHANNEL_BANDWIDTH_MODE = 11554838; NIRFMXBLUETOOTH_ATTRIBUTE_RESULT_FETCH_TIMEOUT = 11583488; NIRFMXBLUETOOTH_ATTRIBUTE_LIMITED_CONFIGURATION_CHANGE = 11587584; NIRFMXBLUETOOTH_ATTRIBUTE_AUTO_LEVEL_INITIAL_REFERENCE_LEVEL = 11587585; + NIRFMXBLUETOOTH_ATTRIBUTE_POWERRAMP_MEASUREMENT_ENABLED = 11591680; + NIRFMXBLUETOOTH_ATTRIBUTE_POWERRAMP_BURST_SYNCHRONIZATION_TYPE = 11591682; + NIRFMXBLUETOOTH_ATTRIBUTE_POWERRAMP_AVERAGING_ENABLED = 11591685; + NIRFMXBLUETOOTH_ATTRIBUTE_POWERRAMP_AVERAGING_COUNT = 11591686; + NIRFMXBLUETOOTH_ATTRIBUTE_POWERRAMP_NUMBER_OF_ANALYSIS_THREADS = 11591687; + NIRFMXBLUETOOTH_ATTRIBUTE_POWERRAMP_RESULTS_RISE_TIME_MEAN = 11591689; + NIRFMXBLUETOOTH_ATTRIBUTE_POWERRAMP_RESULTS_FALL_TIME_MEAN = 11591690; + NIRFMXBLUETOOTH_ATTRIBUTE_POWERRAMP_RESULTS_40DB_FALL_TIME_MEAN = 11591691; } enum AcpAveragingEnabled { @@ -350,6 +362,7 @@ enum MeasurementTypes { MEASUREMENT_TYPES_TWENTY_DB_BANDWIDTH = 4; MEASUREMENT_TYPES_FREQUENCY_RANGE = 8; MEASUREMENT_TYPES_ACP = 16; + MEASUREMENT_TYPES_POWERRAMP = 32; } enum MechanicalAttenuationAuto { @@ -401,6 +414,17 @@ enum PayloadLengthMode { PAYLOAD_LENGTH_MODE_AUTO = 1; } +enum PowerRampAveragingEnabled { + POWERRAMP_AVERAGING_ENABLED_FALSE = 0; + POWERRAMP_AVERAGING_ENABLED_TRUE = 1; +} + +enum PowerRampBurstSynchronizationType { + POWERRAMP_BURST_SYNCHRONIZATION_TYPE_NONE = 0; + POWERRAMP_BURST_SYNCHRONIZATION_TYPE_PREAMBLE = 1; + POWERRAMP_BURST_SYNCHRONIZATION_TYPE_SYNC_WORD = 2; +} + enum RFAttenuationAuto { RF_ATTENUATION_AUTO_FALSE = 0; RF_ATTENUATION_AUTO_TRUE = 1; @@ -444,6 +468,8 @@ enum NiRFmxBluetoothInt32AttributeValues { NIRFMXBLUETOOTH_INT32_ACP_BURST_SYNCHRONIZATION_TYPE_SYNC_WORD = 2; NIRFMXBLUETOOTH_INT32_ACP_OFFSET_CHANNEL_MODE_SYMMETRIC = 0; NIRFMXBLUETOOTH_INT32_ACP_OFFSET_CHANNEL_MODE_INBAND = 1; + NIRFMXBLUETOOTH_INT32_ACP_REFERENCE_CHANNEL_BANDWIDTH_MODE_AUTO = 0; + NIRFMXBLUETOOTH_INT32_ACP_REFERENCE_CHANNEL_BANDWIDTH_MODE_MANUAL = 1; NIRFMXBLUETOOTH_INT32_ACP_RESULTS_MEASUREMENT_STATUS_FAIL = 0; NIRFMXBLUETOOTH_INT32_ACP_RESULTS_MEASUREMENT_STATUS_NOT_APPLICABLE = -1; NIRFMXBLUETOOTH_INT32_ACP_RESULTS_MEASUREMENT_STATUS_PASS = 1; @@ -504,6 +530,11 @@ enum NiRFmxBluetoothInt32AttributeValues { NIRFMXBLUETOOTH_INT32_PAYLOAD_BIT_PATTERN_10101010 = 2; NIRFMXBLUETOOTH_INT32_PAYLOAD_LENGTH_MODE_MANUAL = 0; NIRFMXBLUETOOTH_INT32_PAYLOAD_LENGTH_MODE_AUTO = 1; + NIRFMXBLUETOOTH_INT32_POWERRAMP_AVERAGING_ENABLED_FALSE = 0; + NIRFMXBLUETOOTH_INT32_POWERRAMP_AVERAGING_ENABLED_TRUE = 1; + NIRFMXBLUETOOTH_INT32_POWERRAMP_BURST_SYNCHRONIZATION_TYPE_NONE = 0; + NIRFMXBLUETOOTH_INT32_POWERRAMP_BURST_SYNCHRONIZATION_TYPE_PREAMBLE = 1; + NIRFMXBLUETOOTH_INT32_POWERRAMP_BURST_SYNCHRONIZATION_TYPE_SYNC_WORD = 2; NIRFMXBLUETOOTH_INT32_TRIGGER_MINIMUM_QUIET_TIME_MODE_MANUAL = 0; NIRFMXBLUETOOTH_INT32_TRIGGER_MINIMUM_QUIET_TIME_MODE_AUTO = 1; NIRFMXBLUETOOTH_INT32_TRIGGER_TYPE_NONE = 0; @@ -1704,6 +1735,33 @@ message ModAccFetchRMSDEVMTraceResponse { int32 actual_array_size = 3; } +message PowerRampCfgAveragingRequest { + nidevice_grpc.Session instrument = 1; + string selector_string = 2; + oneof averaging_enabled_enum { + PowerRampAveragingEnabled averaging_enabled = 3; + int32 averaging_enabled_raw = 4; + } + int32 averaging_count = 5; +} + +message PowerRampCfgAveragingResponse { + int32 status = 1; +} + +message PowerRampCfgBurstSynchronizationTypeRequest { + nidevice_grpc.Session instrument = 1; + string selector_string = 2; + oneof burst_synchronization_type_enum { + PowerRampBurstSynchronizationType burst_synchronization_type = 3; + int32 burst_synchronization_type_raw = 4; + } +} + +message PowerRampCfgBurstSynchronizationTypeResponse { + int32 status = 1; +} + message ResetAttributeRequest { nidevice_grpc.Session instrument = 1; string selector_string = 2; diff --git a/generated/nirfmxbluetooth/nirfmxbluetooth_client.cpp b/generated/nirfmxbluetooth/nirfmxbluetooth_client.cpp index 9d29636ac..44ada7ea8 100644 --- a/generated/nirfmxbluetooth/nirfmxbluetooth_client.cpp +++ b/generated/nirfmxbluetooth/nirfmxbluetooth_client.cpp @@ -1977,6 +1977,59 @@ mod_acc_fetch_rmsdevm_trace(const StubPtr& stub, const nidevice_grpc::Session& i return response; } +PowerRampCfgAveragingResponse +power_ramp_cfg_averaging(const StubPtr& stub, const nidevice_grpc::Session& instrument, const std::string& selector_string, const simple_variant& averaging_enabled, const pb::int32& averaging_count) +{ + ::grpc::ClientContext context; + + auto request = PowerRampCfgAveragingRequest{}; + request.mutable_instrument()->CopyFrom(instrument); + request.set_selector_string(selector_string); + const auto averaging_enabled_ptr = averaging_enabled.get_if(); + const auto averaging_enabled_raw_ptr = averaging_enabled.get_if(); + if (averaging_enabled_ptr) { + request.set_averaging_enabled(*averaging_enabled_ptr); + } + else if (averaging_enabled_raw_ptr) { + request.set_averaging_enabled_raw(*averaging_enabled_raw_ptr); + } + request.set_averaging_count(averaging_count); + + auto response = PowerRampCfgAveragingResponse{}; + + raise_if_error( + stub->PowerRampCfgAveraging(&context, request, &response), + context); + + return response; +} + +PowerRampCfgBurstSynchronizationTypeResponse +power_ramp_cfg_burst_synchronization_type(const StubPtr& stub, const nidevice_grpc::Session& instrument, const std::string& selector_string, const simple_variant& burst_synchronization_type) +{ + ::grpc::ClientContext context; + + auto request = PowerRampCfgBurstSynchronizationTypeRequest{}; + request.mutable_instrument()->CopyFrom(instrument); + request.set_selector_string(selector_string); + const auto burst_synchronization_type_ptr = burst_synchronization_type.get_if(); + const auto burst_synchronization_type_raw_ptr = burst_synchronization_type.get_if(); + if (burst_synchronization_type_ptr) { + request.set_burst_synchronization_type(*burst_synchronization_type_ptr); + } + else if (burst_synchronization_type_raw_ptr) { + request.set_burst_synchronization_type_raw(*burst_synchronization_type_raw_ptr); + } + + auto response = PowerRampCfgBurstSynchronizationTypeResponse{}; + + raise_if_error( + stub->PowerRampCfgBurstSynchronizationType(&context, request, &response), + context); + + return response; +} + ResetAttributeResponse reset_attribute(const StubPtr& stub, const nidevice_grpc::Session& instrument, const std::string& selector_string, const NiRFmxBluetoothAttribute& attribute_id) { diff --git a/generated/nirfmxbluetooth/nirfmxbluetooth_client.h b/generated/nirfmxbluetooth/nirfmxbluetooth_client.h index c2193ce97..78e365b58 100644 --- a/generated/nirfmxbluetooth/nirfmxbluetooth_client.h +++ b/generated/nirfmxbluetooth/nirfmxbluetooth_client.h @@ -118,6 +118,8 @@ ModAccFetchFrequencyErrorTraceLEResponse mod_acc_fetch_frequency_error_trace_le( ModAccFetchFrequencyErrorWiPlusW0TraceEDRResponse mod_acc_fetch_frequency_error_wi_plus_w0_trace_edr(const StubPtr& stub, const nidevice_grpc::Session& instrument, const std::string& selector_string, const double& timeout); ModAccFetchFrequencyTraceResponse mod_acc_fetch_frequency_trace(const StubPtr& stub, const nidevice_grpc::Session& instrument, const std::string& selector_string, const double& timeout); ModAccFetchRMSDEVMTraceResponse mod_acc_fetch_rmsdevm_trace(const StubPtr& stub, const nidevice_grpc::Session& instrument, const std::string& selector_string, const double& timeout); +PowerRampCfgAveragingResponse power_ramp_cfg_averaging(const StubPtr& stub, const nidevice_grpc::Session& instrument, const std::string& selector_string, const simple_variant& averaging_enabled, const pb::int32& averaging_count); +PowerRampCfgBurstSynchronizationTypeResponse power_ramp_cfg_burst_synchronization_type(const StubPtr& stub, const nidevice_grpc::Session& instrument, const std::string& selector_string, const simple_variant& burst_synchronization_type); ResetAttributeResponse reset_attribute(const StubPtr& stub, const nidevice_grpc::Session& instrument, const std::string& selector_string, const NiRFmxBluetoothAttribute& attribute_id); ResetToDefaultResponse reset_to_default(const StubPtr& stub, const nidevice_grpc::Session& instrument, const std::string& selector_string); SelectMeasurementsResponse select_measurements(const StubPtr& stub, const nidevice_grpc::Session& instrument, const std::string& selector_string, const simple_variant& measurements, const bool& enable_all_traces); diff --git a/generated/nirfmxbluetooth/nirfmxbluetooth_compilation_test.cpp b/generated/nirfmxbluetooth/nirfmxbluetooth_compilation_test.cpp index d1b6731fb..635d7fe82 100644 --- a/generated/nirfmxbluetooth/nirfmxbluetooth_compilation_test.cpp +++ b/generated/nirfmxbluetooth/nirfmxbluetooth_compilation_test.cpp @@ -487,6 +487,16 @@ int32 ModAccFetchRMSDEVMTrace(niRFmxInstrHandle instrumentHandle, char selectorS return RFmxBT_ModAccFetchRMSDEVMTrace(instrumentHandle, selectorString, timeout, rmsdevm, arraySize, actualArraySize); } +int32 PowerRampCfgAveraging(niRFmxInstrHandle instrumentHandle, char selectorString[], int32 averagingEnabled, int32 averagingCount) +{ + return RFmxBT_PowerRampCfgAveraging(instrumentHandle, selectorString, averagingEnabled, averagingCount); +} + +int32 PowerRampCfgBurstSynchronizationType(niRFmxInstrHandle instrumentHandle, char selectorString[], int32 burstSynchronizationType) +{ + return RFmxBT_PowerRampCfgBurstSynchronizationType(instrumentHandle, selectorString, burstSynchronizationType); +} + int32 ResetAttribute(niRFmxInstrHandle instrumentHandle, char selectorString[], int32 attributeID) { return RFmxBT_ResetAttribute(instrumentHandle, selectorString, attributeID); diff --git a/generated/nirfmxbluetooth/nirfmxbluetooth_library.cpp b/generated/nirfmxbluetooth/nirfmxbluetooth_library.cpp index 42fac5f0b..b29eca950 100644 --- a/generated/nirfmxbluetooth/nirfmxbluetooth_library.cpp +++ b/generated/nirfmxbluetooth/nirfmxbluetooth_library.cpp @@ -123,6 +123,8 @@ NiRFmxBluetoothLibrary::NiRFmxBluetoothLibrary(std::shared_ptr(shared_library_->get_function_pointer("RFmxBT_ModAccFetchFrequencyErrorWiPlusW0TraceEDR")); function_pointers_.ModAccFetchFrequencyTrace = reinterpret_cast(shared_library_->get_function_pointer("RFmxBT_ModAccFetchFrequencyTrace")); function_pointers_.ModAccFetchRMSDEVMTrace = reinterpret_cast(shared_library_->get_function_pointer("RFmxBT_ModAccFetchRMSDEVMTrace")); + function_pointers_.PowerRampCfgAveraging = reinterpret_cast(shared_library_->get_function_pointer("RFmxBT_PowerRampCfgAveraging")); + function_pointers_.PowerRampCfgBurstSynchronizationType = reinterpret_cast(shared_library_->get_function_pointer("RFmxBT_PowerRampCfgBurstSynchronizationType")); function_pointers_.ResetAttribute = reinterpret_cast(shared_library_->get_function_pointer("RFmxBT_ResetAttribute")); function_pointers_.ResetToDefault = reinterpret_cast(shared_library_->get_function_pointer("RFmxBT_ResetToDefault")); function_pointers_.SelectMeasurements = reinterpret_cast(shared_library_->get_function_pointer("RFmxBT_SelectMeasurements")); @@ -941,6 +943,22 @@ int32 NiRFmxBluetoothLibrary::ModAccFetchRMSDEVMTrace(niRFmxInstrHandle instrume return function_pointers_.ModAccFetchRMSDEVMTrace(instrumentHandle, selectorString, timeout, rmsdevm, arraySize, actualArraySize); } +int32 NiRFmxBluetoothLibrary::PowerRampCfgAveraging(niRFmxInstrHandle instrumentHandle, char selectorString[], int32 averagingEnabled, int32 averagingCount) +{ + if (!function_pointers_.PowerRampCfgAveraging) { + throw nidevice_grpc::LibraryLoadException("Could not find RFmxBT_PowerRampCfgAveraging."); + } + return function_pointers_.PowerRampCfgAveraging(instrumentHandle, selectorString, averagingEnabled, averagingCount); +} + +int32 NiRFmxBluetoothLibrary::PowerRampCfgBurstSynchronizationType(niRFmxInstrHandle instrumentHandle, char selectorString[], int32 burstSynchronizationType) +{ + if (!function_pointers_.PowerRampCfgBurstSynchronizationType) { + throw nidevice_grpc::LibraryLoadException("Could not find RFmxBT_PowerRampCfgBurstSynchronizationType."); + } + return function_pointers_.PowerRampCfgBurstSynchronizationType(instrumentHandle, selectorString, burstSynchronizationType); +} + int32 NiRFmxBluetoothLibrary::ResetAttribute(niRFmxInstrHandle instrumentHandle, char selectorString[], int32 attributeID) { if (!function_pointers_.ResetAttribute) { diff --git a/generated/nirfmxbluetooth/nirfmxbluetooth_library.h b/generated/nirfmxbluetooth/nirfmxbluetooth_library.h index 76560d332..405e0b171 100644 --- a/generated/nirfmxbluetooth/nirfmxbluetooth_library.h +++ b/generated/nirfmxbluetooth/nirfmxbluetooth_library.h @@ -117,6 +117,8 @@ class NiRFmxBluetoothLibrary : public nirfmxbluetooth_grpc::NiRFmxBluetoothLibra int32 ModAccFetchFrequencyErrorWiPlusW0TraceEDR(niRFmxInstrHandle instrumentHandle, char selectorString[], float64 timeout, float32 time[], float32 frequencyErrorWiPlusW0[], int32 arraySize, int32* actualArraySize) override; int32 ModAccFetchFrequencyTrace(niRFmxInstrHandle instrumentHandle, char selectorString[], float64 timeout, float64* x0, float64* dx, float32 frequency[], int32 arraySize, int32* actualArraySize) override; int32 ModAccFetchRMSDEVMTrace(niRFmxInstrHandle instrumentHandle, char selectorString[], float64 timeout, float32 rmsdevm[], int32 arraySize, int32* actualArraySize) override; + int32 PowerRampCfgAveraging(niRFmxInstrHandle instrumentHandle, char selectorString[], int32 averagingEnabled, int32 averagingCount) override; + int32 PowerRampCfgBurstSynchronizationType(niRFmxInstrHandle instrumentHandle, char selectorString[], int32 burstSynchronizationType) override; int32 ResetAttribute(niRFmxInstrHandle instrumentHandle, char selectorString[], int32 attributeID) override; int32 ResetToDefault(niRFmxInstrHandle instrumentHandle, char selectorString[]) override; int32 SelectMeasurements(niRFmxInstrHandle instrumentHandle, char selectorString[], uInt32 measurements, int32 enableAllTraces) override; @@ -252,6 +254,8 @@ class NiRFmxBluetoothLibrary : public nirfmxbluetooth_grpc::NiRFmxBluetoothLibra using ModAccFetchFrequencyErrorWiPlusW0TraceEDRPtr = decltype(&RFmxBT_ModAccFetchFrequencyErrorWiPlusW0TraceEDR); using ModAccFetchFrequencyTracePtr = decltype(&RFmxBT_ModAccFetchFrequencyTrace); using ModAccFetchRMSDEVMTracePtr = decltype(&RFmxBT_ModAccFetchRMSDEVMTrace); + using PowerRampCfgAveragingPtr = decltype(&RFmxBT_PowerRampCfgAveraging); + using PowerRampCfgBurstSynchronizationTypePtr = decltype(&RFmxBT_PowerRampCfgBurstSynchronizationType); using ResetAttributePtr = decltype(&RFmxBT_ResetAttribute); using ResetToDefaultPtr = decltype(&RFmxBT_ResetToDefault); using SelectMeasurementsPtr = decltype(&RFmxBT_SelectMeasurements); @@ -387,6 +391,8 @@ class NiRFmxBluetoothLibrary : public nirfmxbluetooth_grpc::NiRFmxBluetoothLibra ModAccFetchFrequencyErrorWiPlusW0TraceEDRPtr ModAccFetchFrequencyErrorWiPlusW0TraceEDR; ModAccFetchFrequencyTracePtr ModAccFetchFrequencyTrace; ModAccFetchRMSDEVMTracePtr ModAccFetchRMSDEVMTrace; + PowerRampCfgAveragingPtr PowerRampCfgAveraging; + PowerRampCfgBurstSynchronizationTypePtr PowerRampCfgBurstSynchronizationType; ResetAttributePtr ResetAttribute; ResetToDefaultPtr ResetToDefault; SelectMeasurementsPtr SelectMeasurements; diff --git a/generated/nirfmxbluetooth/nirfmxbluetooth_library_interface.h b/generated/nirfmxbluetooth/nirfmxbluetooth_library_interface.h index 03109f253..264d68023 100644 --- a/generated/nirfmxbluetooth/nirfmxbluetooth_library_interface.h +++ b/generated/nirfmxbluetooth/nirfmxbluetooth_library_interface.h @@ -111,6 +111,8 @@ class NiRFmxBluetoothLibraryInterface { virtual int32 ModAccFetchFrequencyErrorWiPlusW0TraceEDR(niRFmxInstrHandle instrumentHandle, char selectorString[], float64 timeout, float32 time[], float32 frequencyErrorWiPlusW0[], int32 arraySize, int32* actualArraySize) = 0; virtual int32 ModAccFetchFrequencyTrace(niRFmxInstrHandle instrumentHandle, char selectorString[], float64 timeout, float64* x0, float64* dx, float32 frequency[], int32 arraySize, int32* actualArraySize) = 0; virtual int32 ModAccFetchRMSDEVMTrace(niRFmxInstrHandle instrumentHandle, char selectorString[], float64 timeout, float32 rmsdevm[], int32 arraySize, int32* actualArraySize) = 0; + virtual int32 PowerRampCfgAveraging(niRFmxInstrHandle instrumentHandle, char selectorString[], int32 averagingEnabled, int32 averagingCount) = 0; + virtual int32 PowerRampCfgBurstSynchronizationType(niRFmxInstrHandle instrumentHandle, char selectorString[], int32 burstSynchronizationType) = 0; virtual int32 ResetAttribute(niRFmxInstrHandle instrumentHandle, char selectorString[], int32 attributeID) = 0; virtual int32 ResetToDefault(niRFmxInstrHandle instrumentHandle, char selectorString[]) = 0; virtual int32 SelectMeasurements(niRFmxInstrHandle instrumentHandle, char selectorString[], uInt32 measurements, int32 enableAllTraces) = 0; diff --git a/generated/nirfmxbluetooth/nirfmxbluetooth_mock_library.h b/generated/nirfmxbluetooth/nirfmxbluetooth_mock_library.h index 3a6ae7e4f..1c0cb817e 100644 --- a/generated/nirfmxbluetooth/nirfmxbluetooth_mock_library.h +++ b/generated/nirfmxbluetooth/nirfmxbluetooth_mock_library.h @@ -113,6 +113,8 @@ class NiRFmxBluetoothMockLibrary : public nirfmxbluetooth_grpc::NiRFmxBluetoothL MOCK_METHOD(int32, ModAccFetchFrequencyErrorWiPlusW0TraceEDR, (niRFmxInstrHandle instrumentHandle, char selectorString[], float64 timeout, float32 time[], float32 frequencyErrorWiPlusW0[], int32 arraySize, int32* actualArraySize), (override)); MOCK_METHOD(int32, ModAccFetchFrequencyTrace, (niRFmxInstrHandle instrumentHandle, char selectorString[], float64 timeout, float64* x0, float64* dx, float32 frequency[], int32 arraySize, int32* actualArraySize), (override)); MOCK_METHOD(int32, ModAccFetchRMSDEVMTrace, (niRFmxInstrHandle instrumentHandle, char selectorString[], float64 timeout, float32 rmsdevm[], int32 arraySize, int32* actualArraySize), (override)); + MOCK_METHOD(int32, PowerRampCfgAveraging, (niRFmxInstrHandle instrumentHandle, char selectorString[], int32 averagingEnabled, int32 averagingCount), (override)); + MOCK_METHOD(int32, PowerRampCfgBurstSynchronizationType, (niRFmxInstrHandle instrumentHandle, char selectorString[], int32 burstSynchronizationType), (override)); MOCK_METHOD(int32, ResetAttribute, (niRFmxInstrHandle instrumentHandle, char selectorString[], int32 attributeID), (override)); MOCK_METHOD(int32, ResetToDefault, (niRFmxInstrHandle instrumentHandle, char selectorString[]), (override)); MOCK_METHOD(int32, SelectMeasurements, (niRFmxInstrHandle instrumentHandle, char selectorString[], uInt32 measurements, int32 enableAllTraces), (override)); diff --git a/generated/nirfmxbluetooth/nirfmxbluetooth_service.cpp b/generated/nirfmxbluetooth/nirfmxbluetooth_service.cpp index d3510d920..b3959eebd 100644 --- a/generated/nirfmxbluetooth/nirfmxbluetooth_service.cpp +++ b/generated/nirfmxbluetooth/nirfmxbluetooth_service.cpp @@ -3549,6 +3549,87 @@ namespace nirfmxbluetooth_grpc { } } + //--------------------------------------------------------------------- + //--------------------------------------------------------------------- + ::grpc::Status NiRFmxBluetoothService::PowerRampCfgAveraging(::grpc::ServerContext* context, const PowerRampCfgAveragingRequest* request, PowerRampCfgAveragingResponse* response) + { + if (context->IsCancelled()) { + return ::grpc::Status::CANCELLED; + } + try { + auto instrument_grpc_session = request->instrument(); + niRFmxInstrHandle instrument = session_repository_->access_session(instrument_grpc_session.name()); + auto selector_string_mbcs = convert_from_grpc(request->selector_string()); + char* selector_string = (char*)selector_string_mbcs.c_str(); + int32 averaging_enabled; + switch (request->averaging_enabled_enum_case()) { + case nirfmxbluetooth_grpc::PowerRampCfgAveragingRequest::AveragingEnabledEnumCase::kAveragingEnabled: { + averaging_enabled = static_cast(request->averaging_enabled()); + break; + } + case nirfmxbluetooth_grpc::PowerRampCfgAveragingRequest::AveragingEnabledEnumCase::kAveragingEnabledRaw: { + averaging_enabled = static_cast(request->averaging_enabled_raw()); + break; + } + case nirfmxbluetooth_grpc::PowerRampCfgAveragingRequest::AveragingEnabledEnumCase::AVERAGING_ENABLED_ENUM_NOT_SET: { + return ::grpc::Status(::grpc::INVALID_ARGUMENT, "The value for averaging_enabled was not specified or out of range"); + break; + } + } + + int32 averaging_count = request->averaging_count(); + auto status = library_->PowerRampCfgAveraging(instrument, selector_string, averaging_enabled, averaging_count); + if (!status_ok(status)) { + return ConvertApiErrorStatusForNiRFmxInstrHandle(context, status, instrument); + } + response->set_status(status); + return ::grpc::Status::OK; + } + catch (nidevice_grpc::NonDriverException& ex) { + return ex.GetStatus(); + } + } + + //--------------------------------------------------------------------- + //--------------------------------------------------------------------- + ::grpc::Status NiRFmxBluetoothService::PowerRampCfgBurstSynchronizationType(::grpc::ServerContext* context, const PowerRampCfgBurstSynchronizationTypeRequest* request, PowerRampCfgBurstSynchronizationTypeResponse* response) + { + if (context->IsCancelled()) { + return ::grpc::Status::CANCELLED; + } + try { + auto instrument_grpc_session = request->instrument(); + niRFmxInstrHandle instrument = session_repository_->access_session(instrument_grpc_session.name()); + auto selector_string_mbcs = convert_from_grpc(request->selector_string()); + char* selector_string = (char*)selector_string_mbcs.c_str(); + int32 burst_synchronization_type; + switch (request->burst_synchronization_type_enum_case()) { + case nirfmxbluetooth_grpc::PowerRampCfgBurstSynchronizationTypeRequest::BurstSynchronizationTypeEnumCase::kBurstSynchronizationType: { + burst_synchronization_type = static_cast(request->burst_synchronization_type()); + break; + } + case nirfmxbluetooth_grpc::PowerRampCfgBurstSynchronizationTypeRequest::BurstSynchronizationTypeEnumCase::kBurstSynchronizationTypeRaw: { + burst_synchronization_type = static_cast(request->burst_synchronization_type_raw()); + break; + } + case nirfmxbluetooth_grpc::PowerRampCfgBurstSynchronizationTypeRequest::BurstSynchronizationTypeEnumCase::BURST_SYNCHRONIZATION_TYPE_ENUM_NOT_SET: { + return ::grpc::Status(::grpc::INVALID_ARGUMENT, "The value for burst_synchronization_type was not specified or out of range"); + break; + } + } + + auto status = library_->PowerRampCfgBurstSynchronizationType(instrument, selector_string, burst_synchronization_type); + if (!status_ok(status)) { + return ConvertApiErrorStatusForNiRFmxInstrHandle(context, status, instrument); + } + response->set_status(status); + return ::grpc::Status::OK; + } + catch (nidevice_grpc::NonDriverException& ex) { + return ex.GetStatus(); + } + } + //--------------------------------------------------------------------- //--------------------------------------------------------------------- ::grpc::Status NiRFmxBluetoothService::ResetAttribute(::grpc::ServerContext* context, const ResetAttributeRequest* request, ResetAttributeResponse* response) diff --git a/generated/nirfmxbluetooth/nirfmxbluetooth_service.h b/generated/nirfmxbluetooth/nirfmxbluetooth_service.h index d1162331f..a94d05eda 100644 --- a/generated/nirfmxbluetooth/nirfmxbluetooth_service.h +++ b/generated/nirfmxbluetooth/nirfmxbluetooth_service.h @@ -140,6 +140,8 @@ class NiRFmxBluetoothService final : public NiRFmxBluetooth::Service { ::grpc::Status ModAccFetchFrequencyErrorWiPlusW0TraceEDR(::grpc::ServerContext* context, const ModAccFetchFrequencyErrorWiPlusW0TraceEDRRequest* request, ModAccFetchFrequencyErrorWiPlusW0TraceEDRResponse* response) override; ::grpc::Status ModAccFetchFrequencyTrace(::grpc::ServerContext* context, const ModAccFetchFrequencyTraceRequest* request, ModAccFetchFrequencyTraceResponse* response) override; ::grpc::Status ModAccFetchRMSDEVMTrace(::grpc::ServerContext* context, const ModAccFetchRMSDEVMTraceRequest* request, ModAccFetchRMSDEVMTraceResponse* response) override; + ::grpc::Status PowerRampCfgAveraging(::grpc::ServerContext* context, const PowerRampCfgAveragingRequest* request, PowerRampCfgAveragingResponse* response) override; + ::grpc::Status PowerRampCfgBurstSynchronizationType(::grpc::ServerContext* context, const PowerRampCfgBurstSynchronizationTypeRequest* request, PowerRampCfgBurstSynchronizationTypeResponse* response) override; ::grpc::Status ResetAttribute(::grpc::ServerContext* context, const ResetAttributeRequest* request, ResetAttributeResponse* response) override; ::grpc::Status ResetToDefault(::grpc::ServerContext* context, const ResetToDefaultRequest* request, ResetToDefaultResponse* response) override; ::grpc::Status SelectMeasurements(::grpc::ServerContext* context, const SelectMeasurementsRequest* request, SelectMeasurementsResponse* response) override; diff --git a/imports/include/niRFmxBT.h b/imports/include/niRFmxBT.h index ae00223d2..1d71d0546 100644 --- a/imports/include/niRFmxBT.h +++ b/imports/include/niRFmxBT.h @@ -2,7 +2,7 @@ /**************************************************************************************************** * National Instruments RFmx BT *---------------------------------------------------------------------------------------------------- -* Copyright(c) National Instruments 2021. All Rights Reserved. +* Copyright(c) National Instruments 2024. All Rights Reserved. *---------------------------------------------------------------------------------------------------- * * Title: niRFmxBT.h @@ -78,8 +78,8 @@ #define RFMXBT_ATTR_MODACC_RESULTS_EDR_HEADER_FREQUENCY_ERROR_WI_MAXIMUM 0x00b04017 #define RFMXBT_ATTR_MODACC_RESULTS_EDR_PEAK_FREQUENCY_ERROR_WI_PLUS_W0_MAXIMUM 0x00b04018 #define RFMXBT_ATTR_MODACC_RESULTS_EDR_PEAK_FREQUENCY_ERROR_W0_MAXIMUM 0x00b04019 -#define RFMXBT_ATTR_MODACC_RESULTS_LE_PEAK_FREQUENCY_ERROR_MAXIMUM 0x00b0401a #define RFMXBT_ATTR_MODACC_RESULTS_LE_INITIAL_FREQUENCY_ERROR_MAXIMUM 0x00b04031 +#define RFMXBT_ATTR_MODACC_RESULTS_LE_PEAK_FREQUENCY_ERROR_MAXIMUM 0x00b0401a #define RFMXBT_ATTR_MODACC_RESULTS_LE_INITIAL_FREQUENCY_DRIFT_MAXIMUM 0x00b0401b #define RFMXBT_ATTR_MODACC_RESULTS_LE_PEAK_FREQUENCY_DRIFT_MAXIMUM 0x00b0401c #define RFMXBT_ATTR_MODACC_RESULTS_LE_PEAK_FREQUENCY_DRIFT_RATE_MAXIMUM 0x00b0401d @@ -99,6 +99,8 @@ #define RFMXBT_ATTR_ACP_OFFSET_CHANNEL_MODE 0x00b05002 #define RFMXBT_ATTR_ACP_NUMBER_OF_OFFSETS 0x00b05003 #define RFMXBT_ATTR_ACP_OFFSET_FREQUENCY 0x00b05004 +#define RFMXBT_ATTR_ACP_REFERENCE_CHANNEL_BANDWIDTH_MODE 0x00b05016 +#define RFMXBT_ATTR_ACP_REFERENCE_CHANNEL_BANDWIDTH 0x00b05015 #define RFMXBT_ATTR_ACP_BURST_SYNCHRONIZATION_TYPE 0x00b05012 #define RFMXBT_ATTR_ACP_AVERAGING_ENABLED 0x00b05005 #define RFMXBT_ATTR_ACP_AVERAGING_COUNT 0x00b05006 @@ -147,6 +149,14 @@ #define RFMXBT_ATTR_TXP_RESULTS_LE_CTE_REFERENCE_PERIOD_PEAK_ABSOLUTE_POWER_DEVIATION_MAXIMUM 0x00b01015 #define RFMXBT_ATTR_TXP_RESULTS_LE_CTE_TRANSMIT_SLOT_AVERAGE_POWER_MEAN 0x00b01016 #define RFMXBT_ATTR_TXP_RESULTS_LE_CTE_TRANSMIT_SLOT_PEAK_ABSOLUTE_POWER_DEVIATION_MAXIMUM 0x00b01017 +#define RFMXBT_ATTR_POWERRAMP_MEASUREMENT_ENABLED 0x00b0e000 +#define RFMXBT_ATTR_POWERRAMP_BURST_SYNCHRONIZATION_TYPE 0x00b0e002 +#define RFMXBT_ATTR_POWERRAMP_AVERAGING_ENABLED 0x00b0e005 +#define RFMXBT_ATTR_POWERRAMP_AVERAGING_COUNT 0x00b0e006 +#define RFMXBT_ATTR_POWERRAMP_NUMBER_OF_ANALYSIS_THREADS 0x00b0e007 +#define RFMXBT_ATTR_POWERRAMP_RESULTS_RISE_TIME_MEAN 0x00b0e009 +#define RFMXBT_ATTR_POWERRAMP_RESULTS_FALL_TIME_MEAN 0x00b0e00a +#define RFMXBT_ATTR_POWERRAMP_RESULTS_40DB_FALL_TIME_MEAN 0x00b0e00b #define RFMXBT_ATTR_LIMITED_CONFIGURATION_CHANGE 0x00b0d000 #define RFMXBT_ATTR_AUTO_LEVEL_INITIAL_REFERENCE_LEVEL 0x00b0d001 #define RFMXBT_ATTR_RESULT_FETCH_TIMEOUT 0x00b0c000 @@ -223,6 +233,21 @@ #define RFMXBT_VAL_DIRECTION_FINDING_MODE_ANGLE_OF_ARRIVAL 1 #define RFMXBT_VAL_DIRECTION_FINDING_MODE_ANGLE_OF_DEPARTURE 2 +// Values for RFMXBT_ATTR_CHANNEL_SOUNDING_PACKET_FORMAT +#define RFMXBT_VAL_CHANNEL_SOUNDING_PACKET_FORMAT_SYNC 0 +#define RFMXBT_VAL_CHANNEL_SOUNDING_PACKET_FORMAT_CS_TONE 1 +#define RFMXBT_VAL_CHANNEL_SOUNDING_PACKET_FORMAT_CS_TONE_AFTER_SYNC 2 +#define RFMXBT_VAL_CHANNEL_SOUNDING_PACKET_FORMAT_CS_TONE_BEFORE_SYNC 3 + +// Values for RFMXBT_ATTR_CHANNEL_SOUNDING_SYNC_SEQUENCE +#define RFMXBT_VAL_CHANNEL_SOUNDING_SYNC_SEQUENCE_NONE 0 +#define RFMXBT_VAL_CHANNEL_SOUNDING_SYNC_SEQUENCE_SOUNDING_SEQUENCE_32_BIT 1 +#define RFMXBT_VAL_CHANNEL_SOUNDING_SYNC_SEQUENCE_SOUNDING_SEQUENCE_96_BIT 2 + +// Values for RFMXBT_ATTR_CHANNEL_SOUNDING_TONE_EXTENSION_SLOT +#define RFMXBT_VAL_CHANNEL_SOUNDING_TONE_EXTENSION_SLOT_DISABLED 0 +#define RFMXBT_VAL_CHANNEL_SOUNDING_TONE_EXTENSION_SLOT_ENABLED 1 + // Values for RFMXBT_ATTR_MODACC_BURST_SYNCHRONIZATION_TYPE #define RFMXBT_VAL_MODACC_BURST_SYNCHRONIZATION_TYPE_NONE 0 #define RFMXBT_VAL_MODACC_BURST_SYNCHRONIZATION_TYPE_PREAMBLE 1 @@ -240,6 +265,10 @@ #define RFMXBT_VAL_ACP_OFFSET_CHANNEL_MODE_SYMMETRIC 0 #define RFMXBT_VAL_ACP_OFFSET_CHANNEL_MODE_INBAND 1 +// Values for RFMXBT_ATTR_ACP_REFERENCE_CHANNEL_BANDWIDTH_MODE +#define RFMXBT_VAL_ACP_REFERENCE_CHANNEL_BANDWIDTH_MODE_AUTO 0 +#define RFMXBT_VAL_ACP_REFERENCE_CHANNEL_BANDWIDTH_MODE_MANUAL 1 + // Values for RFMXBT_ATTR_ACP_BURST_SYNCHRONIZATION_TYPE #define RFMXBT_VAL_ACP_BURST_SYNCHRONIZATION_TYPE_NONE 0 #define RFMXBT_VAL_ACP_BURST_SYNCHRONIZATION_TYPE_PREAMBLE 1 @@ -271,6 +300,15 @@ #define RFMXBT_VAL_TXP_AVERAGING_ENABLED_FALSE 0 #define RFMXBT_VAL_TXP_AVERAGING_ENABLED_TRUE 1 +// Values for RFMXBT_ATTR_POWERRAMP_BURST_SYNCHRONIZATION_TYPE +#define RFMXBT_VAL_POWERRAMP_BURST_SYNCHRONIZATION_TYPE_NONE 0 +#define RFMXBT_VAL_POWERRAMP_BURST_SYNCHRONIZATION_TYPE_PREAMBLE 1 +#define RFMXBT_VAL_POWERRAMP_BURST_SYNCHRONIZATION_TYPE_SYNC_WORD 2 + +// Values for RFMXBT_ATTR_POWERRAMP_AVERAGING_ENABLED +#define RFMXBT_VAL_POWERRAMP_AVERAGING_ENABLED_FALSE 0 +#define RFMXBT_VAL_POWERRAMP_AVERAGING_ENABLED_TRUE 1 + // Values for RFMXBT_ATTR_LIMITED_CONFIGURATION_CHANGE #define RFMXBT_VAL_LIMITED_CONFIGURATION_CHANGE_DISABLED 0 #define RFMXBT_VAL_LIMITED_CONFIGURATION_CHANGE_NO_CHANGE 1 @@ -279,12 +317,22 @@ #define RFMXBT_VAL_LIMITED_CONFIGURATION_CHANGE_FREQUENCY_AND_REFERENCE_LEVEL 4 #define RFMXBT_VAL_LIMITED_CONFIGURATION_CHANGE_SELECTED_PORTS_FREQUENCY_AND_REFERENCE_LEVEL 5 +// Values for Standard +#define RFMXBT_VAL_STANDARD_BR 0 +#define RFMXBT_VAL_STANDARD_EDR 0 +#define RFMXBT_VAL_STANDARD_LE 1 + +// Values for Boolean +#define RFMXBT_VAL_FALSE 0 +#define RFMXBT_VAL_TRUE 1 + // Values for MeasurementTypes #define RFMXBT_VAL_TXP 1<<0 #define RFMXBT_VAL_MODACC 1<<1 #define RFMXBT_VAL_20DB_BANDWIDTH 1<<2 #define RFMXBT_VAL_FREQUENCY_RANGE 1<<3 #define RFMXBT_VAL_ACP 1<<4 +#define RFMXBT_VAL_POWERRAMP 1<<5 // Values for FrequencyReferenceSource #define RFMXBT_VAL_ONBOARD_CLOCK_STR "OnboardClock" @@ -292,30 +340,6 @@ #define RFMXBT_VAL_PXI_CLK_STR "PXI_Clk" #define RFMXBT_VAL_CLK_IN_STR "ClkIn" -// Values for Boolean -#define RFMXBT_VAL_FALSE 0 -#define RFMXBT_VAL_TRUE 1 - -// Values for Standard -#define RFMXBT_VAL_BR 0 -#define RFMXBT_VAL_EDR 0 -#define RFMXBT_VAL_LE 1 - -// Values for RFMXBT_ATTR_CHANNEL_SOUNDING_PACKET_FORMAT -#define RFMXBT_VAL_CHANNEL_SOUNDING_PACKET_FORMAT_SYNC 0 -#define RFMXBT_VAL_CHANNEL_SOUNDING_PACKET_FORMAT_CS_TONE 1 -#define RFMXBT_VAL_CHANNEL_SOUNDING_PACKET_FORMAT_CS_TONE_AFTER_SYNC 2 -#define RFMXBT_VAL_CHANNEL_SOUNDING_PACKET_FORMAT_CS_TONE_BEFORE_SYNC 3 - -// Values for RFMXBT_ATTR_CHANNEL_SOUNDING_SYNC_SEQUENCE -#define RFMXBT_VAL_CHANNEL_SOUNDING_SYNC_SEQUENCE_NONE 0 -#define RFMXBT_VAL_CHANNEL_SOUNDING_SYNC_SEQUENCE_SOUNDING_SEQUENCE_32_BIT 1 -#define RFMXBT_VAL_CHANNEL_SOUNDING_SYNC_SEQUENCE_SOUNDING_SEQUENCE_96_BIT 2 - -// Values for RFMXBT_ATTR_CHANNEL_SOUNDING_TONE_EXTENSION_SLOT -#define RFMXBT_VAL_CHANNEL_SOUNDING_TONE_EXTENSION_SLOT_DISABLED 0 -#define RFMXBT_VAL_CHANNEL_SOUNDING_TONE_EXTENSION_SLOT_ENABLED 1 - /* ---------------- RFmxBT APIs ------------------ */ @@ -722,44 +746,6 @@ int32 __stdcall RFmxBT_GetAttributeString( char attrVal[] ); -int32 __stdcall RFmxBT_Initiate( - niRFmxInstrHandle instrumentHandle, - char selectorString[], - char resultName[] -); - -int32 __stdcall RFmxBT_WaitForMeasurementComplete( - niRFmxInstrHandle instrumentHandle, - char selectorString[], - float64 timeout -); - -int32 __stdcall RFmxBT_Commit( - niRFmxInstrHandle instrumentHandle, - char selectorString[] -); - -int32 __stdcall RFmxBT_ClearNamedResult( - niRFmxInstrHandle instrumentHandle, - char selectorString[] -); - -int32 __stdcall RFmxBT_ClearAllNamedResults( - niRFmxInstrHandle instrumentHandle, - char selectorString[] -); - -int32 __stdcall RFmxBT_ResetToDefault( - niRFmxInstrHandle instrumentHandle, - char selectorString[] -); - -int32 __stdcall RFmxBT_CheckMeasurementStatus( - niRFmxInstrHandle instrumentHandle, - char selectorString[], - int32* isDone -); - int32 __stdcall RFmxBT_AnalyzeIQ1Waveform( niRFmxInstrHandle instrumentHandle, char selectorString[], @@ -785,24 +771,10 @@ int32 __stdcall RFmxBT_AnalyzeIQ1WaveformSplit( int64 reserved ); -int32 __stdcall RFmxBT_SendSoftwareEdgeTrigger( - niRFmxInstrHandle instrumentHandle -); - -int32 __stdcall RFmxBT_CreateSignalConfiguration( - niRFmxInstrHandle instrumentHandle, - char signalName[] -); - -int32 __stdcall RFmxBT_CloneSignalConfiguration( - niRFmxInstrHandle instrumentHandle, - char oldSignalName[], - char newSignalName[] -); - -int32 __stdcall RFmxBT_DeleteSignalConfiguration( +int32 __stdcall RFmxBT_AutoDetectSignal( niRFmxInstrHandle instrumentHandle, - char signalName[] + char selectorString[], + float64 timeout ); int32 __stdcall RFmxBT_AutoLevel( @@ -812,82 +784,69 @@ int32 __stdcall RFmxBT_AutoLevel( float64* referenceLevel ); -int32 __stdcall RFmxBT_CfgFrequencyChannelNumber( +int32 __stdcall RFmxBT_CheckMeasurementStatus( niRFmxInstrHandle instrumentHandle, char selectorString[], - int32 standard, - int32 channelNumber + int32* isDone ); -int32 __stdcall RFmxBT_AutoDetectSignal( +int32 __stdcall RFmxBT_ClearAllNamedResults( niRFmxInstrHandle instrumentHandle, - char selectorString[], - float64 timeout + char selectorString[] ); -int32 __stdcall RFmxBT_CfgFrequency( +int32 __stdcall RFmxBT_ClearNamedResult( niRFmxInstrHandle instrumentHandle, - char selectorString[], - float64 centerFrequency + char selectorString[] ); -int32 __stdcall RFmxBT_CfgReferenceLevel( +int32 __stdcall RFmxBT_CloneSignalConfiguration( niRFmxInstrHandle instrumentHandle, - char selectorString[], - float64 referenceLevel + char oldSignalName[], + char newSignalName[] ); -int32 __stdcall RFmxBT_CfgExternalAttenuation( +int32 __stdcall RFmxBT_Commit( niRFmxInstrHandle instrumentHandle, - char selectorString[], - float64 externalAttenuation + char selectorString[] ); -int32 __stdcall RFmxBT_CfgRF( +int32 __stdcall RFmxBT_CfgFrequencyChannelNumber( niRFmxInstrHandle instrumentHandle, char selectorString[], - float64 centerFrequency, - float64 referenceLevel, - float64 externalAttenuation + int32 standard, + int32 channelNumber ); -int32 __stdcall RFmxBT_CfgChannelNumber( +int32 __stdcall RFmxBT_CreateSignalConfiguration( niRFmxInstrHandle instrumentHandle, - char selectorString[], - int32 channelNumber + char signalName[] ); -int32 __stdcall RFmxBT_CfgPayloadLength( +int32 __stdcall RFmxBT_DeleteSignalConfiguration( niRFmxInstrHandle instrumentHandle, - char selectorString[], - int32 payloadLengthMode, - int32 payloadLength + char signalName[] ); -int32 __stdcall RFmxBT_CfgPacketType( +int32 __stdcall RFmxBT_Initiate( niRFmxInstrHandle instrumentHandle, char selectorString[], - int32 packetType + char resultName[] ); -int32 __stdcall RFmxBT_CfgDataRate( +int32 __stdcall RFmxBT_ResetToDefault( niRFmxInstrHandle instrumentHandle, - char selectorString[], - int32 dataRate + char selectorString[] ); -int32 __stdcall RFmxBT_CfgPayloadBitPattern( - niRFmxInstrHandle instrumentHandle, - char selectorString[], - int32 payloadBitPattern +int32 __stdcall RFmxBT_SendSoftwareEdgeTrigger( + niRFmxInstrHandle instrumentHandle ); -int32 __stdcall RFmxBT_CfgLEDirectionFinding( +int32 __stdcall RFmxBT_WaitForMeasurementComplete( niRFmxInstrHandle instrumentHandle, char selectorString[], - int32 directionFindingMode, - float64 CTELength, - float64 CTESlotDuration + float64 timeout ); int32 __stdcall RFmxBT_TXPCfgAveraging( @@ -949,31 +908,97 @@ int32 __stdcall RFmxBT_ACPCfgBurstSynchronizationType( int32 burstSynchronizationType ); +int32 __stdcall RFmxBT_ACPCfgNumberOfOffsets( + niRFmxInstrHandle instrumentHandle, + char selectorString[], + int32 numberOfOffsets +); + int32 __stdcall RFmxBT_ACPCfgOffsetChannelMode( niRFmxInstrHandle instrumentHandle, char selectorString[], int32 offsetChannelMode ); -int32 __stdcall RFmxBT_ACPCfgNumberOfOffsets( +int32 __stdcall RFmxBT_PowerRampCfgAveraging( niRFmxInstrHandle instrumentHandle, char selectorString[], - int32 numberOfOffsets + int32 averagingEnabled, + int32 averagingCount ); -int32 __stdcall RFmxBT_AbortMeasurements( +int32 __stdcall RFmxBT_PowerRampCfgBurstSynchronizationType( niRFmxInstrHandle instrumentHandle, - char selectorString[] + char selectorString[], + int32 burstSynchronizationType ); -int32 __stdcall RFmxBT_SelectMeasurements( +int32 __stdcall RFmxBT_CfgChannelNumber( niRFmxInstrHandle instrumentHandle, char selectorString[], - uInt32 measurements, - int32 enableAllTraces + int32 channelNumber ); -int32 __stdcall RFmxBT_DisableTrigger( +int32 __stdcall RFmxBT_CfgDataRate( + niRFmxInstrHandle instrumentHandle, + char selectorString[], + int32 dataRate +); + +int32 __stdcall RFmxBT_CfgExternalAttenuation( + niRFmxInstrHandle instrumentHandle, + char selectorString[], + float64 externalAttenuation +); + +int32 __stdcall RFmxBT_CfgFrequency( + niRFmxInstrHandle instrumentHandle, + char selectorString[], + float64 centerFrequency +); + +int32 __stdcall RFmxBT_CfgLEDirectionFinding( + niRFmxInstrHandle instrumentHandle, + char selectorString[], + int32 directionFindingMode, + float64 CTELength, + float64 CTESlotDuration +); + +int32 __stdcall RFmxBT_CfgPacketType( + niRFmxInstrHandle instrumentHandle, + char selectorString[], + int32 packetType +); + +int32 __stdcall RFmxBT_CfgPayloadBitPattern( + niRFmxInstrHandle instrumentHandle, + char selectorString[], + int32 payloadBitPattern +); + +int32 __stdcall RFmxBT_CfgPayloadLength( + niRFmxInstrHandle instrumentHandle, + char selectorString[], + int32 payloadLengthMode, + int32 payloadLength +); + +int32 __stdcall RFmxBT_CfgReferenceLevel( + niRFmxInstrHandle instrumentHandle, + char selectorString[], + float64 referenceLevel +); + +int32 __stdcall RFmxBT_CfgRF( + niRFmxInstrHandle instrumentHandle, + char selectorString[], + float64 centerFrequency, + float64 referenceLevel, + float64 externalAttenuation +); + +int32 __stdcall RFmxBT_AbortMeasurements( niRFmxInstrHandle instrumentHandle, char selectorString[] ); @@ -1007,6 +1032,11 @@ int32 __stdcall RFmxBT_CfgSoftwareEdgeTrigger( int32 enableTrigger ); +int32 __stdcall RFmxBT_DisableTrigger( + niRFmxInstrHandle instrumentHandle, + char selectorString[] +); + int32 __stdcall RFmxBT_GetAllNamedResultNames( niRFmxInstrHandle instrumentHandle, char selectorString[], @@ -1016,6 +1046,13 @@ int32 __stdcall RFmxBT_GetAllNamedResultNames( int32* defaultResultExists ); +int32 __stdcall RFmxBT_SelectMeasurements( + niRFmxInstrHandle instrumentHandle, + char selectorString[], + uInt32 measurements, + int32 enableAllTraces +); + int32 __stdcall RFmxBT_TXPFetchLECTETransmitSlotPowersArray( niRFmxInstrHandle instrumentHandle, char selectorString[], @@ -1037,16 +1074,6 @@ int32 __stdcall RFmxBT_TXPFetchPowerTrace( int32* actualArraySize ); -int32 __stdcall RFmxBT_TXPFetchPowers( - niRFmxInstrHandle instrumentHandle, - char selectorString[], - float64 timeout, - float64* averagePowerMean, - float64* averagePowerMaximum, - float64* averagePowerMinimum, - float64* peakToAveragePowerRatioMaximum -); - int32 __stdcall RFmxBT_TXPFetchEDRPowers( niRFmxInstrHandle instrumentHandle, char selectorString[], @@ -1072,134 +1099,153 @@ int32 __stdcall RFmxBT_TXPFetchLECTETransmitSlotPowers( float64* transmitSlotPeakAbsolutePowerDeviationMaximum ); -int32 __stdcall RFmxBT_ModAccFetchDf1maxTrace( +int32 __stdcall RFmxBT_TXPFetchPowers( niRFmxInstrHandle instrumentHandle, char selectorString[], float64 timeout, - float32 time[], - float32 df1max[], + float64* averagePowerMean, + float64* averagePowerMaximum, + float64* averagePowerMinimum, + float64* peakToAveragePowerRatioMaximum +); + +int32 __stdcall RFmxBT_ModAccFetchConstellationTrace( + niRFmxInstrHandle instrumentHandle, + char selectorString[], + float64 timeout, + NIComplexSingle constellation[], int32 arraySize, int32* actualArraySize ); -int32 __stdcall RFmxBT_ModAccFetchFrequencyTrace( +int32 __stdcall RFmxBT_ModAccFetchConstellationTraceSplit( + niRFmxInstrHandle instrumentHandle, + char selectorString[], + float64 timeout, + float32 I[], + float32 Q[], + int32 arraySize, + int32* actualArraySize +); + +int32 __stdcall RFmxBT_ModAccFetchCSDetrendedPhaseTrace( niRFmxInstrHandle instrumentHandle, char selectorString[], float64 timeout, float64* x0, float64* dx, - float32 frequency[], + float32 CSDetrendedPhase[], int32 arraySize, int32* actualArraySize ); -int32 __stdcall RFmxBT_ModAccFetchDf2maxTrace( +int32 __stdcall RFmxBT_ModAccFetchCSToneTrace( niRFmxInstrHandle instrumentHandle, char selectorString[], float64 timeout, - float32 time[], - float32 df2max[], + float64* x0, + float64* dx, + float32 CSToneAmplitude[], + float32 CSTonePhase[], int32 arraySize, int32* actualArraySize ); -int32 __stdcall RFmxBT_ModAccFetchFrequencyErrorTraceBR( +int32 __stdcall RFmxBT_ModAccFetchDemodulatedBitTrace( niRFmxInstrHandle instrumentHandle, char selectorString[], float64 timeout, - float32 time[], - float32 frequencyError[], + int8 demodulatedBits[], int32 arraySize, int32* actualArraySize ); -int32 __stdcall RFmxBT_ModAccFetchFrequencyErrorWiPlusW0TraceEDR( +int32 __stdcall RFmxBT_ModAccFetchDEVMPerSymbolTrace( niRFmxInstrHandle instrumentHandle, char selectorString[], float64 timeout, - float32 time[], - float32 frequencyErrorWiPlusW0[], + float32 DEVMPerSymbol[], int32 arraySize, int32* actualArraySize ); -int32 __stdcall RFmxBT_ModAccFetchFrequencyErrorTraceLE( +int32 __stdcall RFmxBT_ModAccFetchDf1maxTrace( niRFmxInstrHandle instrumentHandle, char selectorString[], float64 timeout, float32 time[], - float32 frequencyError[], + float32 df1max[], int32 arraySize, int32* actualArraySize ); -int32 __stdcall RFmxBT_ModAccFetchRMSDEVMTrace( +int32 __stdcall RFmxBT_ModAccFetchDf2maxTrace( niRFmxInstrHandle instrumentHandle, char selectorString[], float64 timeout, - float32 RMSDEVM[], + float32 time[], + float32 df2max[], int32 arraySize, int32* actualArraySize ); -int32 __stdcall RFmxBT_ModAccFetchDEVMPerSymbolTrace( +int32 __stdcall RFmxBT_ModAccFetchFrequencyErrorTraceBR( niRFmxInstrHandle instrumentHandle, char selectorString[], float64 timeout, - float32 DEVMPerSymbol[], + float32 time[], + float32 frequencyError[], int32 arraySize, int32* actualArraySize ); -int32 __stdcall RFmxBT_ModAccFetchConstellationTrace( +int32 __stdcall RFmxBT_ModAccFetchFrequencyErrorTraceLE( niRFmxInstrHandle instrumentHandle, char selectorString[], float64 timeout, - NIComplexSingle constellation[], + float32 time[], + float32 frequencyError[], int32 arraySize, int32* actualArraySize ); -int32 __stdcall RFmxBT_ModAccFetchConstellationTraceSplit( +int32 __stdcall RFmxBT_ModAccFetchFrequencyErrorWiPlusW0TraceEDR( niRFmxInstrHandle instrumentHandle, char selectorString[], float64 timeout, - float32 I[], - float32 Q[], + float32 time[], + float32 frequencyErrorWiPlusW0[], int32 arraySize, int32* actualArraySize ); -int32 __stdcall RFmxBT_ModAccFetchCSDetrendedPhaseTrace( +int32 __stdcall RFmxBT_ModAccFetchFrequencyTrace( niRFmxInstrHandle instrumentHandle, char selectorString[], float64 timeout, float64* x0, float64* dx, - float32 CSDetrendedPhase[], + float32 frequency[], int32 arraySize, int32* actualArraySize ); -int32 __stdcall RFmxBT_ModAccFetchCSToneTrace( +int32 __stdcall RFmxBT_ModAccFetchRMSDEVMTrace( niRFmxInstrHandle instrumentHandle, char selectorString[], float64 timeout, - float64* x0, - float64* dx, - float32 CSToneAmplitude[], - float32 CSTonePhase[], + float32 RMSDEVM[], int32 arraySize, int32* actualArraySize ); -int32 __stdcall RFmxBT_ModAccFetchDemodulatedBitTrace( +int32 __stdcall RFmxBT_ModAccFetchDEVM( niRFmxInstrHandle instrumentHandle, char selectorString[], float64 timeout, - int8 demodulatedBits[], - int32 arraySize, - int32* actualArraySize + float64* peakRMSDEVMMaximum, + float64* peakDEVMMaximum, + float64* ninetyninePercentDEVM ); int32 __stdcall RFmxBT_ModAccFetchDEVMMagnitudeError( @@ -1262,15 +1308,6 @@ int32 __stdcall RFmxBT_ModAccFetchFrequencyErrorLE( float64* peakFrequencyDriftRateMaximum ); -int32 __stdcall RFmxBT_ModAccFetchDEVM( - niRFmxInstrHandle instrumentHandle, - char selectorString[], - float64 timeout, - float64* peakRMSDEVMMaximum, - float64* peakDEVMMaximum, - float64* ninetyninePercentDEVM -); - int32 __stdcall RFmxBT_20dBBandwidthFetchSpectrum( niRFmxInstrHandle instrumentHandle, char selectorString[], @@ -1311,50 +1348,50 @@ int32 __stdcall RFmxBT_FrequencyRangeFetchMeasurement( float64* lowFrequency ); -int32 __stdcall RFmxBT_ACPFetchOffsetMeasurementArray( +int32 __stdcall RFmxBT_ACPFetchAbsolutePowerTrace( niRFmxInstrHandle instrumentHandle, char selectorString[], float64 timeout, - float64 lowerAbsolutePower[], - float64 upperAbsolutePower[], - float64 lowerRelativePower[], - float64 upperRelativePower[], - float64 lowerMargin[], - float64 upperMargin[], + float64* x0, + float64* dx, + float32 absolutePower[], int32 arraySize, int32* actualArraySize ); -int32 __stdcall RFmxBT_ACPFetchSpectrum( +int32 __stdcall RFmxBT_ACPFetchMaskTrace( niRFmxInstrHandle instrumentHandle, char selectorString[], float64 timeout, float64* x0, float64* dx, - float32 spectrum[], + float32 limitWithExceptionMask[], + float32 limitWithoutExceptionMask[], int32 arraySize, int32* actualArraySize ); -int32 __stdcall RFmxBT_ACPFetchAbsolutePowerTrace( +int32 __stdcall RFmxBT_ACPFetchOffsetMeasurementArray( niRFmxInstrHandle instrumentHandle, char selectorString[], float64 timeout, - float64* x0, - float64* dx, - float32 absolutePower[], + float64 lowerAbsolutePower[], + float64 upperAbsolutePower[], + float64 lowerRelativePower[], + float64 upperRelativePower[], + float64 lowerMargin[], + float64 upperMargin[], int32 arraySize, int32* actualArraySize ); -int32 __stdcall RFmxBT_ACPFetchMaskTrace( +int32 __stdcall RFmxBT_ACPFetchSpectrum( niRFmxInstrHandle instrumentHandle, char selectorString[], float64 timeout, float64* x0, float64* dx, - float32 limitWithExceptionMask[], - float32 limitWithoutExceptionMask[], + float32 spectrum[], int32 arraySize, int32* actualArraySize ); @@ -1366,13 +1403,6 @@ int32 __stdcall RFmxBT_ACPFetchMeasurementStatus( int32* measurementStatus ); -int32 __stdcall RFmxBT_ACPFetchReferenceChannelPower( - niRFmxInstrHandle instrumentHandle, - char selectorString[], - float64 timeout, - float64* referenceChannelPower -); - int32 __stdcall RFmxBT_ACPFetchOffsetMeasurement( niRFmxInstrHandle instrumentHandle, char selectorString[], @@ -1385,6 +1415,13 @@ int32 __stdcall RFmxBT_ACPFetchOffsetMeasurement( float64* upperMargin ); +int32 __stdcall RFmxBT_ACPFetchReferenceChannelPower( + niRFmxInstrHandle instrumentHandle, + char selectorString[], + float64 timeout, + float64* referenceChannelPower +); + int32 __stdcall RFmxBT_GetSelectedPorts( niRFmxInstrHandle instrumentHandle, char selectorString[], @@ -2000,13 +2037,13 @@ int32 __stdcall RFmxBT_ModAccGetResultsEDRPeakFrequencyErrorW0Maximum( float64 *attrVal ); -int32 __stdcall RFmxBT_ModAccGetResultsLEPeakFrequencyErrorMaximum( +int32 __stdcall RFmxBT_ModAccGetResultsLEInitialFrequencyErrorMaximum( niRFmxInstrHandle instrumentHandle, char selectorString[], float64 *attrVal ); -int32 __stdcall RFmxBT_ModAccGetResultsLEInitialFrequencyErrorMaximum( +int32 __stdcall RFmxBT_ModAccGetResultsLEPeakFrequencyErrorMaximum( niRFmxInstrHandle instrumentHandle, char selectorString[], float64 *attrVal @@ -2144,6 +2181,30 @@ int32 __stdcall RFmxBT_ACPGetOffsetFrequency( float64 *attrVal ); +int32 __stdcall RFmxBT_ACPGetReferenceChannelBandwidthMode( + niRFmxInstrHandle instrumentHandle, + char selectorString[], + int32 *attrVal +); + +int32 __stdcall RFmxBT_ACPSetReferenceChannelBandwidthMode( + niRFmxInstrHandle instrumentHandle, + char selectorString[], + int32 attrVal +); + +int32 __stdcall RFmxBT_ACPGetReferenceChannelBandwidth( + niRFmxInstrHandle instrumentHandle, + char selectorString[], + float64 *attrVal +); + +int32 __stdcall RFmxBT_ACPSetReferenceChannelBandwidth( + niRFmxInstrHandle instrumentHandle, + char selectorString[], + float64 attrVal +); + int32 __stdcall RFmxBT_ACPGetBurstSynchronizationType( niRFmxInstrHandle instrumentHandle, char selectorString[], @@ -2564,6 +2625,84 @@ int32 __stdcall RFmxBT_TXPGetResultsLECTETransmitSlotPeakAbsolutePowerDeviationM float64 *attrVal ); +int32 __stdcall RFmxBT_PowerRampGetMeasurementEnabled( + niRFmxInstrHandle instrumentHandle, + char selectorString[], + int32 *attrVal +); + +int32 __stdcall RFmxBT_PowerRampSetMeasurementEnabled( + niRFmxInstrHandle instrumentHandle, + char selectorString[], + int32 attrVal +); + +int32 __stdcall RFmxBT_PowerRampGetBurstSynchronizationType( + niRFmxInstrHandle instrumentHandle, + char selectorString[], + int32 *attrVal +); + +int32 __stdcall RFmxBT_PowerRampSetBurstSynchronizationType( + niRFmxInstrHandle instrumentHandle, + char selectorString[], + int32 attrVal +); + +int32 __stdcall RFmxBT_PowerRampGetAveragingEnabled( + niRFmxInstrHandle instrumentHandle, + char selectorString[], + int32 *attrVal +); + +int32 __stdcall RFmxBT_PowerRampSetAveragingEnabled( + niRFmxInstrHandle instrumentHandle, + char selectorString[], + int32 attrVal +); + +int32 __stdcall RFmxBT_PowerRampGetAveragingCount( + niRFmxInstrHandle instrumentHandle, + char selectorString[], + int32 *attrVal +); + +int32 __stdcall RFmxBT_PowerRampSetAveragingCount( + niRFmxInstrHandle instrumentHandle, + char selectorString[], + int32 attrVal +); + +int32 __stdcall RFmxBT_PowerRampGetNumberOfAnalysisThreads( + niRFmxInstrHandle instrumentHandle, + char selectorString[], + int32 *attrVal +); + +int32 __stdcall RFmxBT_PowerRampSetNumberOfAnalysisThreads( + niRFmxInstrHandle instrumentHandle, + char selectorString[], + int32 attrVal +); + +int32 __stdcall RFmxBT_PowerRampGetResultsRiseTimeMean( + niRFmxInstrHandle instrumentHandle, + char selectorString[], + float64 *attrVal +); + +int32 __stdcall RFmxBT_PowerRampGetResultsFallTimeMean( + niRFmxInstrHandle instrumentHandle, + char selectorString[], + float64 *attrVal +); + +int32 __stdcall RFmxBT_PowerRampGetResults40dBFallTimeMean( + niRFmxInstrHandle instrumentHandle, + char selectorString[], + float64 *attrVal +); + #ifdef __cplusplus } #endif diff --git a/source/codegen/metadata/nirfmxbluetooth/attributes.py b/source/codegen/metadata/nirfmxbluetooth/attributes.py index 3e9599239..a7da3a2b9 100644 --- a/source/codegen/metadata/nirfmxbluetooth/attributes.py +++ b/source/codegen/metadata/nirfmxbluetooth/attributes.py @@ -109,7 +109,6 @@ }, 11534361: { 'access': 'read-write', - 'enum': 'PacketType', 'name': 'DETECTED_PACKET_TYPE', 'type': 'int32' }, @@ -664,6 +663,17 @@ 'name': 'ACP_BURST_SYNCHRONIZATION_TYPE', 'type': 'int32' }, + 11554837: { + 'access': 'read-write', + 'name': 'ACP_REFERENCE_CHANNEL_BANDWIDTH', + 'type': 'float64' + }, + 11554838: { + 'access': 'read-write', + 'enum': 'AcpReferenceChannelBandwidthMode', + 'name': 'ACP_REFERENCE_CHANNEL_BANDWIDTH_MODE', + 'type': 'int32' + }, 11583488: { 'access': 'read-write', 'name': 'RESULT_FETCH_TIMEOUT', @@ -679,5 +689,47 @@ 'access': 'read-write', 'name': 'AUTO_LEVEL_INITIAL_REFERENCE_LEVEL', 'type': 'float64' + }, + 11591680: { + 'access': 'read-write', + 'name': 'POWERRAMP_MEASUREMENT_ENABLED', + 'type': 'int32' + }, + 11591682: { + 'access': 'read-write', + 'enum': 'PowerRampBurstSynchronizationType', + 'name': 'POWERRAMP_BURST_SYNCHRONIZATION_TYPE', + 'type': 'int32' + }, + 11591685: { + 'access': 'read-write', + 'enum': 'PowerRampAveragingEnabled', + 'name': 'POWERRAMP_AVERAGING_ENABLED', + 'type': 'int32' + }, + 11591686: { + 'access': 'read-write', + 'name': 'POWERRAMP_AVERAGING_COUNT', + 'type': 'int32' + }, + 11591687: { + 'access': 'read-write', + 'name': 'POWERRAMP_NUMBER_OF_ANALYSIS_THREADS', + 'type': 'int32' + }, + 11591689: { + 'access': 'read-write', + 'name': 'POWERRAMP_RESULTS_RISE_TIME_MEAN', + 'type': 'float64' + }, + 11591690: { + 'access': 'read-write', + 'name': 'POWERRAMP_RESULTS_FALL_TIME_MEAN', + 'type': 'float64' + }, + 11591691: { + 'access': 'read-write', + 'name': 'POWERRAMP_RESULTS_40DB_FALL_TIME_MEAN', + 'type': 'float64' } } diff --git a/source/codegen/metadata/nirfmxbluetooth/config.py b/source/codegen/metadata/nirfmxbluetooth/config.py index 0051d475c..2e9f3322a 100644 --- a/source/codegen/metadata/nirfmxbluetooth/config.py +++ b/source/codegen/metadata/nirfmxbluetooth/config.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- config = { - 'api_version': '23.8.0', + 'api_version': '24.0.0', 'c_header': 'niRFmxBT.h', 'c_function_prefix': 'RFmxBT_', 'service_class_prefix': 'NiRFmxBluetooth', diff --git a/source/codegen/metadata/nirfmxbluetooth/enums.py b/source/codegen/metadata/nirfmxbluetooth/enums.py index d5a5e6950..4ebdb5db1 100644 --- a/source/codegen/metadata/nirfmxbluetooth/enums.py +++ b/source/codegen/metadata/nirfmxbluetooth/enums.py @@ -39,6 +39,18 @@ } ] }, + 'AcpReferenceChannelBandwidthMode': { + 'values': [ + { + 'name': 'AUTO', + 'value': 0 + }, + { + 'name': 'MANUAL', + 'value': 1 + } + ] + }, 'AcpResultsMeasurementStatus': { 'values': [ { @@ -294,6 +306,10 @@ { 'name': 'ACP', 'value': 16 + }, + { + 'name': 'POWERRAMP', + 'value': 32 } ] }, @@ -460,6 +476,36 @@ } ] }, + 'PowerRampAveragingEnabled': { + 'enum-value-prefix': 'POWERRAMP_AVERAGING_ENABLED', + 'values': [ + { + 'name': 'FALSE', + 'value': 0 + }, + { + 'name': 'TRUE', + 'value': 1 + } + ] + }, + 'PowerRampBurstSynchronizationType': { + 'enum-value-prefix': 'POWERRAMP_BURST_SYNCHRONIZATION_TYPE', + 'values': [ + { + 'name': 'NONE', + 'value': 0 + }, + { + 'name': 'PREAMBLE', + 'value': 1 + }, + { + 'name': 'SYNC_WORD', + 'value': 2 + } + ] + }, 'RFAttenuationAuto': { 'values': [ { diff --git a/source/codegen/metadata/nirfmxbluetooth/functions.py b/source/codegen/metadata/nirfmxbluetooth/functions.py index eab1742a7..91ce76c2c 100644 --- a/source/codegen/metadata/nirfmxbluetooth/functions.py +++ b/source/codegen/metadata/nirfmxbluetooth/functions.py @@ -3235,6 +3235,55 @@ ], 'returns': 'int32' }, + 'PowerRampCfgAveraging': { + 'parameters': [ + { + 'direction': 'in', + 'grpc_name': 'instrument', + 'name': 'instrumentHandle', + 'type': 'niRFmxInstrHandle' + }, + { + 'direction': 'in', + 'name': 'selectorString', + 'type': 'char[]' + }, + { + 'direction': 'in', + 'enum': 'PowerRampAveragingEnabled', + 'name': 'averagingEnabled', + 'type': 'int32' + }, + { + 'direction': 'in', + 'name': 'averagingCount', + 'type': 'int32' + } + ], + 'returns': 'int32' + }, + 'PowerRampCfgBurstSynchronizationType': { + 'parameters': [ + { + 'direction': 'in', + 'grpc_name': 'instrument', + 'name': 'instrumentHandle', + 'type': 'niRFmxInstrHandle' + }, + { + 'direction': 'in', + 'name': 'selectorString', + 'type': 'char[]' + }, + { + 'direction': 'in', + 'enum': 'PowerRampBurstSynchronizationType', + 'name': 'burstSynchronizationType', + 'type': 'int32' + } + ], + 'returns': 'int32' + }, 'ResetAttribute': { 'parameters': [ {