# MT Generate System Parameters (MT Generate ASK System Parameters (M)) (G Dataflow)

Version:

Calculates parameters for use with either MT Modulate ASK or MT Demodulate ASK. It accepts an M-ary value that specifies a predefined symbol map with the number of distinct levels to use as symbols.

## samples per symbol

An even number of samples dedicated to each symbol. Multiply this value by the symbol rate to determine the sample rate.

Note

The demodulation and detector nodes use timing recovery, which is optimized for four or more samples per symbol.

Default: 16

The M-ary number, which for ASK is the number of distinct states that represent symbols in the complex baseband modulated waveform. This value must be a positive power of 2.

Note

The M-to-symbol-map mapping is performed using a gray-coding approach. In this approach, the binary interpretation of the index of any value in the symbol map array corresponds to the bit sequence associated with the symbol map location. For example, with 4-ASK (2 bits per symbol), a returned symbol map in the order [0, 0.33, 1.00, 0.67] implies that the bits 00 are mapped to the symbol map location 0, the bits 01 are mapped to the symbol map location 0.33, the bits 11 are mapped to the symbol map location 0.67, and the bits 10 are mapped to the symbol map location 1.00.

Default: 2

## error in

Error conditions that occur before this node runs.

The node responds to this input according to standard error behavior.

Standard Error Behavior

Many nodes provide an error in input and an error out output so that the node can respond to and communicate errors that occur while code is running. The value of error in specifies whether an error occurred before the node runs. Most nodes respond to values of error in in a standard, predictable way.

error in does not contain an error error in contains an error
If no error occurred before the node runs, the node begins execution normally.

If no error occurs while the node runs, it returns no error. If an error does occur while the node runs, it returns that error information as error out.

If an error occurred before the node runs, the node does not execute. Instead, it returns the error in value as error out.

Default: No error

Parameter values defining the ASK system. Wire this cluster to the corresponding system parameters cluster of MT Modulate ASK or MT Demodulate ASK.

### samples per symbol

Number of samples per symbol in the modulated output complex waveform. For error-free operation, the samples per symbol must be an even number.

### symbol map

An ordered array that maps each Boolean symbol to its desired amplitude level. The number of ASK levels in the array must be 2 N , where N is the number of bits per symbol. The maximum amplitude level must be 1.

## bits per symbol

Number of bits represented by each symbol. This value is equal to Log 2 (M), where M is the order of the modulation (for example, for 16-ASK, M = 16).

## error out

Error information.

The node produces this output according to standard error behavior.

Standard Error Behavior

Many nodes provide an error in input and an error out output so that the node can respond to and communicate errors that occur while code is running. The value of error in specifies whether an error occurred before the node runs. Most nodes respond to values of error in in a standard, predictable way.

error in does not contain an error error in contains an error
If no error occurred before the node runs, the node begins execution normally.

If no error occurs while the node runs, it returns no error. If an error does occur while the node runs, it returns that error information as error out.

If an error occurred before the node runs, the node does not execute. Instead, it returns the error in value as error out.

Where This Node Can Run:

Desktop OS: Windows

FPGA: Not supported

Web Server: Not supported in VIs that run in a web application