NumberOfSpectralLines
- Updated2025-10-14
- 1 minute(s) read
Gets or sets the number of spectral lines expected with the current power spectrum configuration.
Syntax
Namespace: NationalInstruments.ModularInstruments.NIRfsa
public int NumberOfSpectralLines { get; set; }
Remarks
Specifies an Int32 representing the number of spectral lines expected with the current power spectrum configuration.
If you do not configure this property, NI-RFSA selects an appropriate value based on the ResolutionBandwidth property. If you configure this property, NI-RFSA coerces the ResolutionBandwidth value based on the number of spectral lines requested and the value of the NumberOfSpectralLines property.
Exceptions
| Type | Description |
|---|---|
| System.ObjectDisposedException | The NumberOfSpectralLines property was accessed after the associated NIRfsa object was disposed. |