Engee documentation

BA-IS-XX RF9-PRODUCE-HARMONIC

Playback of a quadrature N-tone harmonic signal on an SDR transmitter.

blockType: CFunction

Path in the library:

/RITM/RITMeX BA-IS-XX/BA-IS-XX RF9/BA-IS-XX RF9-PRODUCE-HARMONIC

Description

To work with the block, install/update the support package RITM blocks.

Block BA-IS-XX RF9-PRODUCE-HARMONIC It is used to reproduce a quadrature N-tone harmonic signal on an SDR transmitter.

Ports

Input

# ampl — total harmonic amplitude in 16-bit DAC code
scalar

Details
Data types

Float64

Complex numbers support

No

# num_tones — the number of harmonics in the signal
scalar

Details
Data types

Float64

Complex numbers support

No

# tones — harmonic frequency array
scalar

Details

An array of harmonic frequencies in MHz; the size of the array is determined by num_tones.

Data types

Float64

Complex numbers support

No

Parameters

Parameters

# Номер модуля: — serial number of the BA-IS-XX module
1 | 2 | 3 | 4 | 5 | 6 | 7 | 8

Details

Serial number of the BA-IS-XX module on the RITM chassis (only BA-IS-XX modules are counted in the numbering).

Values

1 | 2 | 3 | 4 | 5 | 6 | 7 | 8

Default value

1

Program usage name

m_module_idx

Tunable

No

Evaluatable

Yes

# Номер канала передатчика: — serial number of the channel
1 | 2

Details

The serial number of the SDR transmitter channel (depending on the configuration of the BA-IS-XX firmware, there may be 1 or 2 of them).

Values

1 | 2

Default value

1

Program usage name

m_tx_channel

Tunable

No

Evaluatable

Yes

# Максимально возможное число гармоник: — the maximum number of harmonics in the signal estimated during the simulation session

Details

The maximum number of harmonics in the signal estimated during the simulation session (num_tones must be less than or equal to this parameter).

Default value

10

Program usage name

m_max_n_tones

Tunable

No

Evaluatable

Yes

# Шаг расчёта, с: — block calculation step

Details

The block calculation step in seconds (-1 for inheriting the model calculation step).

Default value

-1

Program usage name

m_sample_time

Tunable

No

Evaluatable

Yes