IviRFSigGen_ConfigureDigitalModulationBasePRBSType

CVI/LabWindows IVI Class Driver

IviRFSigGen_ConfigureDigitalModulationBasePRBSType

IviRFSigGenDigitalModulationBase Capability Group

C Function Prototype

ViStatus IviRFSigGen_ConfigureDigitalModulationBasePRBSType (ViSession vi, ViInt32 type);

Purpose

This function configures the type of the PRBS used as data for the digital modulation. The setting is used only if IVIRFSIGGEN_ATTR_DIGITAL_MODULATION_BASE_DATA_SOURCE is set to PRBS.

Parameters

Name Type Description
vi ViSession The ViSession handle that you obtain from the IviRFSigGen_init or IviRFSigGen_InitWithOptions function. The handle identifies a particular instrument session.

Default Value: None

type ViInt32 Specifies the type of the PRBS as defined in the CCITT-V.52 standard. The PRBS (Pseudo Random Binary Sequence) is used only if the IVIRFSIGGEN_ATTR_DIGITAL_MODULATION_BASE_DATA_SOURCE attribute is set to PRBS. The driver uses this value to set the IVIRFSIGGEN_ATTR_DIGITAL_MODULATION_BASE_PRBS_TYPE attribute.

Defined Values:
IVIRFSIGGEN_VAL_DIGITAL_MODULATION_BASE_PRBS_TYPE_PRBS9
- Length of PRBS sequence is 2E9-1.

IVIRFSIGGEN_VAL_DIGITAL_MODULATION_BASE_PRBS_TYPE_PRBS11
- Length of PRBS sequence is 2E11-1.

IVIRFSIGGEN_VAL_DIGITAL_MODULATION_BASE_PRBS_TYPE_PRBS15
- Length of PRBS sequence is 2E15-1.

IVIRFSIGGEN_VAL_DIGITAL_MODULATION_BASE_PRBS_TYPE_PRBS16
- Length of PRBS sequence is 2E16-1.

IVIRFSIGGEN_VAL_DIGITAL_MODULATION_BASE_PRBS_TYPE_PRBS20
- Length of PRBS sequence is 2E20-1

IVIRFSIGGEN_VAL_DIGITAL_MODULATION_BASE_PRBS_TYPE_PRBS21
- Length of PRBS sequence is 2E21-1.

IVIRFSIGGEN_VAL_DIGITAL_MODULATION_BASE_PRBS_TYPE_PRBS23
- Length of PRBS sequence is 2E23-1.

Default Value:
IVIRFSIGGEN_VAL_DIGITAL_MODULATION_BASE_PRBS_TYPE_PRBS9

Return Values