Equalizer Entity

API Documentation: [cpp] [python] [.NET] [LabVIEW]

The Equalizer entity provides a concise interface for controlling equalizer and filter settings for receivers (inputs) and transmitters (outputs). Products supporting Equalizer are capable of applying frequency dependent gain to their signals. This can allow for compensation for signal loss and degradation due to cable quality, cable length and the number of connections. It can also act as a filter implemented in hardware or firmware. Products may implement on or more equalizers; each can be configured using the Equalizer index. Allowed index values are specified in the product data sheet.

Set/Get Transmitter Configuration

equalizer [ index ] . getTransmitterConfig <= (unsigned char) config
equalizer [ index ] . setTransmitterConfig => (unsigned char) config

The transmitter is the outgoing portion of the equalizer entity. It is responsible for generating the signal output. Generally, transmitters may have configurations which apply frequency dependent filters, broadband gain, and DC-offsets.

Set/Get Receiver Configuration

equalizer [ index ] . getReceiverConfig (unsigned char) channel <= (unsigned char) config
equalizer [ index ] . setReceiverConfig (unsigned char) channel => (unsigned char) config

The receiver is the incoming portion of the equalizer entity. The receiver equalizer may have configurations which apply frequency dependent filters or broadband gain. Products with more than one receiver may allow individual configuration of the receivers via the channel parameter. Allowed channel and config parameter values are specified in the product data sheet.

Code Examples

C++

//Set Transmitter and Receiver configurations
err = stem.equalizer[0].setTransmitterConfig(transmitterConfig);
err = stem.equalizer[1].setTransmitterConfig(transmitterConfig);
err = stem.equalizer[0].setReceiverConfig(eqReceiverChannel, receiverConfig);
err = stem.equalizer[1].setReceiverConfig(eqReceiverChannel, receiverConfig);

//Get Transmitter and Receiver configurations
err = stem.equalizer[0].getTransmitterConfig(&transmitterConfig);
err = stem.equalizer[1].getTransmitterConfig(&transmitterConfig);
err = stem.equalizer[0].getReceiverConfig(eqReceiverChannel, &receiverConfig);
err = stem.equalizer[1].getReceiverConfig(eqReceiverChannel, &receiverConfig);

Python

#Set Transmitter and Receiver configurations
err = stem.equalizer[0].setTransmitterConfig(transmitterConfig);
err = stem.equalizer[1].setTransmitterConfig(transmitterConfig);
err = stem.equalizer[0].setReceiverConfig(eqReceiverChannel, receiverConfig);
err = stem.equalizer[1].setReceiverConfig(eqReceiverChannel, receiverConfig);

#Get Transmitter and Receiver configurations
result = stem.equalizer[0].getTransmitterConfig();
result = stem.equalizer[1].getTransmitterConfig();
result = stem.equalizer[0].getReceiverConfig(eqReceiverChannel);
result = stem.equalizer[1].getReceiverConfig(eqReceiverChannel);