FrequencyExportSettings

Properties that control how continuous frequency is sampled for exporting. These properties are only valid when Frequency Type is Continuous.

Example

app = cf.GetApplication()
project = app:NewProject()

    -- Initialise the frequency to a continuous band

frequency = project.SolutionConfigurations[1].Frequency
properties = frequency:GetProperties()
properties.Start = 100e6
properties.End = 200e6
properties.RangeType = cf.Enums.FrequencyRangeTypeEnum.Continuous
frequency:SetProperties(properties)

    -- Set the number of samples for export
    -- As the properties need to be modified in one step,
    -- a properties table is used

properties = frequency:GetProperties()
properties.Export.NumberOfSamplesEnabled = true
properties.Export.NumberOfSamples = 10
frequency:SetProperties(properties)

Usage locations (object properties)

The following objects have properties using the FrequencyExportSettings object:

Property List

NumberOfSamples
Number of frequency samples for exported continuous data. Only valid when NumberOfSamplesEnabled is true. (Read/Write Expression)
NumberOfSamplesEnabled
Specify the number of samples to use when exporting data with continuous frequency. (Read/Write boolean)
Stepping
Control how exported continuous frequency samples are spaced. (Read/Write FrequencyExportSamplingTypeEnum)

Property Details

NumberOfSamples
Number of frequency samples for exported continuous data. Only valid when NumberOfSamplesEnabled is true.
Type
Expression
Access
Read/Write
NumberOfSamplesEnabled
Specify the number of samples to use when exporting data with continuous frequency.
Type
boolean
Access
Read/Write
Stepping
Control how exported continuous frequency samples are spaced.
Type
FrequencyExportSamplingTypeEnum
Access
Read/Write