![]() |
libcyberradio
22.01.24
|
Generic radio handler class. More...
#include <RadioHandler.h>
Public Member Functions | |
| RadioHandler (const std::string &name="NDR", int numTuner=0, int tunerIndexBase=1, int numWbddc=0, int wbddcIndexBase=1, int numNbddc=0, int nbddcIndexBase=1, int numTunerBoards=1, int maxTunerBw=0, int numTransmitter=0, int transmitterIndexBase=1, int numDuc=0, int ducIndexBase=1, int numWbddcGroups=0, int wbddcGroupIndexBase=1, int numNbddcGroups=0, int nbddcGroupIndexBase=1, int numDdcGroups=0, int ddcGroupIndexBase=1, int numDataPorts=0, int dataPortIndexBase=1, int numSimpleIpSetups=0, double adcRate=102.4e6, VitaIfSpec ifSpec=VitaIfSpec(), bool debug=false) | |
| Constructs a RadioHandler object. More... | |
| virtual | ~RadioHandler () |
| Destroys a RadioHandler object. | |
| RadioHandler (const RadioHandler &other) | |
| Copies a RadioHandler object. More... | |
| virtual RadioHandler & | operator= (const RadioHandler &other) |
| Assignment operator for RadioHandler objects. More... | |
| virtual bool | isConnected () const |
| Gets whether or not the handler is connected. More... | |
| virtual BasicStringStringDict | getVersionInfo () |
| Gets version information for the radio. More... | |
| virtual BasicStringStringDict | getConnectionInfo () |
| Gets connection information for the radio. More... | |
| virtual bool | connect (const std::string &mode, const std::string &host_or_dev, const int port_or_baudrate) |
| Connects to the radio. More... | |
| virtual void | disconnect () |
| Disconnects from the radio. | |
| virtual BasicStringList | sendCommand (const std::string &cmdString, double timeout=-1) |
| Sends a command to the radio. More... | |
| virtual bool | setConfiguration (ConfigurationDict &cfg) |
| Sets the configuration dictionary for this object. More... | |
| virtual void | queryConfiguration () |
| Tells the radio to query its hardware configuration in order to create its configuration dictionary (including the dictionaries of any components managed by the radio). | |
| virtual std::string | getLastCommandErrorInfo () const |
| Gets the error message from the last command attempted. More... | |
| virtual bool | sendReset (int resetType=0) |
| Resets the radio. More... | |
| virtual bool | getPps () |
| Gets the pulse-per-second (PPS) rising edge from the radio. More... | |
| virtual bool | setTimeNextPps (bool checkTime=false, bool useGpsTime=false) |
| Sets the time for the next PPS rising edge on the radio. More... | |
| virtual time_t | getTimeNow () |
| Gets the current radio time. More... | |
| virtual time_t | getTimeNextPps () |
| Gets the time for the next PPS rising edge on the radio. More... | |
| virtual unsigned int | getStatus () |
| Gets the status from the radio. More... | |
| virtual unsigned int | getTstatus () |
| Gets the tuner status from the radio. More... | |
| virtual bool | setReferenceMode (int mode) |
| Sets the reference mode on the radio. More... | |
| virtual bool | setBypassMode (int mode) |
| Sets the reference bypass mode on the radio. More... | |
| virtual bool | setTimeAdjustment (int tunerIndex, int timeAdjustValue) |
| Sets the time adjustment for tuners on the radio. More... | |
| virtual BasicDoubleList | getGpsPosition () |
| Gets the current GPS position the radio. More... | |
| virtual int | getTemperature () |
| Gets the current radio temperature. More... | |
| virtual int | getGpioOutput () |
| Gets the current GPIO output bits. More... | |
| virtual BasicIntList | getGpioOutputByIndex (int index) |
| Gets the GPIO output settings for a given sequence index. More... | |
| virtual bool | setGpioOutput (int value) |
| Sets the current GPIO output bits. More... | |
| virtual bool | setGpioOutputByIndex (int index, int value, int duration, int loop, int go) |
| Sets the GPIO output settings for a given sequence index. More... | |
| virtual double | getCalibrationFrequency () const |
| Gets the calibration frequency. More... | |
| virtual bool | setCalibrationFrequency (double freq) |
| Sets the calibration frequency. More... | |
| virtual int | getNumDataPorts () const |
| Gets the number of 10GigE data ports on the radio. More... | |
| virtual BasicIntList | getDataPortIndexRange () const |
| Gets the range of indices 10GigE data ports on the radio. More... | |
| virtual int | getNumDataPortDipEntries () const |
| Gets the number of UDP destination table entries for the 10GigE data ports on the radio. More... | |
| virtual BasicIntList | getDataPortDipEntryIndexRange () const |
| Gets the list of UDP destination table indices for the 10GigE data ports on the radio. More... | |
| virtual BasicStringList | getConnectionModeList () const |
| Gets the list of connection methods that the radio supports. More... | |
| virtual bool | isConnectionModeSupported (const std::string &mode) const |
| Gets whether the radio supports the given connection mode. More... | |
| virtual double | getAdcRate () const |
| Gets the ADC sample rate. More... | |
| virtual int | getVitaHeaderSize () const |
| Gets the size of the VITA 49 header. More... | |
| virtual int | getVitaPayloadSize () const |
| Gets the size of the VITA 49 payload. More... | |
| virtual int | getVitaTailSize () const |
| Gets the size of the VITA 49 tail. More... | |
| virtual bool | isByteswapped () const |
| Gets whether the VITA 49 is byte-swapped with respect to the host operating system. More... | |
| virtual bool | isIqSwapped () const |
| Gets whether the VITA 49 format swaps real and imaginary (I and Q) portions of each sample. More... | |
| virtual const char * | getByteOrder () const |
| Gets the byte order (endianness) of the VITA 49. More... | |
| virtual int | getNumTuner () const |
| Gets the number of tuners on the radio. More... | |
| virtual int | getNumTunerBoards () const |
| Gets the number of tuner boards on the radio. More... | |
| virtual BasicIntList | getTunerIndexRange () const |
| Gets the tuner index range. More... | |
| virtual BasicDoubleList | getTunerFrequencyRange () const |
| Gets the tunable frequency range. More... | |
| virtual double | getTunerFrequencyRes () const |
| Gets the tuned frequency resolution. More... | |
| virtual double | getTunerFrequencyUnit () const |
| Gets the tuned frequency units for tuners. More... | |
| virtual BasicDoubleList | getTunerAttenuationRange () const |
| Gets the tuner attenuation range. More... | |
| virtual double | getTunerAttenuationRes () const |
| Gets the attenuation resolution. More... | |
| virtual bool | isTunerEnabled (int index) const |
| Gets whether or not a given tuner is enabled. More... | |
| virtual bool | enableTuner (int index, bool enabled=true) |
| Enables a given tuner. More... | |
| virtual bool | disableTuner (int index) |
| Disables a given tuner. More... | |
| virtual double | getTunerFrequency (int index) const |
| Gets the tuned frequency for a given tuner. More... | |
| virtual bool | setTunerFrequency (int index, double freq) |
| Sets the tuned frequency for a given tuner. More... | |
| virtual double | getTunerAttenuation (int index) const |
| Gets the attenuation for a given tuner. More... | |
| virtual bool | setTunerAttenuation (int index, double atten) |
| Sets the attenuation for a given tuner. More... | |
| virtual int | getTunerFilter (int index) const |
| Gets the filter setting for a given tuner. More... | |
| virtual bool | setTunerFilter (int index, int filter) |
| Sets the filter setting for a given tuner. More... | |
| virtual ConfigurationDict | getTunerConfiguration (int index) const |
| Gets the configuration dictionary for a given tuner. More... | |
| virtual bool | setTunerConfiguration (int index, ConfigurationDict &cfg) |
| Sets the configuration dictionary for a given tuner. More... | |
| virtual int | getNumWbddc () const |
| Gets the number of WBDDCs on the radio. More... | |
| virtual BasicIntList | getWbddcIndexRange () const |
| Gets the range of WBDDC indices on the radio. More... | |
| virtual bool | isWbddcTunable () const |
| Gets whether the WBDDCs on this radio are tunable. More... | |
| virtual bool | isWbddcSelectableSource () const |
| Gets whether the WBDDCs on this radio support selecting their tuner source. More... | |
| virtual BasicDoubleList | getWbddcFrequencyRange () const |
| Gets the tunable frequency range for WBDDCs. More... | |
| virtual double | getWbddcFrequencyRes () const |
| Gets the tuned frequency resolution for WBDDCs. More... | |
| virtual double | getWbddcFrequencyUnit () const |
| Gets the tuned frequency units for WBDDCs. More... | |
| virtual WbddcRateSet | getWbddcRateSet () const |
| Gets the WBDDC rate set. More... | |
| virtual BasicDoubleList | getWbddcRateList () const |
| Gets the list of allowed WBDDC sample rates, based on the rate set. More... | |
| virtual bool | isWbddcEnabled (int index) const |
| Gets whether or not a given WBDDC is enabled. More... | |
| virtual bool | enableWbddc (int index, bool enabled=true) |
| Enables a given WBDDC. More... | |
| virtual bool | disableWbddc (int index) |
| Disables a given WBDDC. More... | |
| virtual double | getWbddcFrequency (int index) const |
| Gets the tuned frequency for a given WBDDC. More... | |
| virtual bool | setWbddcFrequency (int index, double freq) |
| Sets the tuned frequency for a given WBDDC. More... | |
| virtual int | getWbddcSource (int index) const |
| Gets the source (which tuner is supplying the signal) for a given WBDDC. More... | |
| virtual bool | setWbddcSource (int index, int source) |
| Sets the source (which tuner is supplying the signal) for a given WBDDC. More... | |
| virtual int | getWbddcRateIndex (int index) const |
| Gets the rate index for a given WBDDC. More... | |
| virtual bool | setWbddcRateIndex (int index, int rateIndex) |
| Sets the rate index for a given WBDDC. More... | |
| virtual int | getWbddcUdpDestination (int index) const |
| Gets the UDP destination for a given WBDDC. More... | |
| virtual bool | setWbddcUdpDestination (int index, int dest) |
| Sets the UDP destination for a given WBDDC. More... | |
| virtual int | getWbddcVitaEnable (int index) const |
| Gets the VITA 49 setting for a given WBDDC. More... | |
| virtual bool | setWbddcVitaEnable (int index, int enable) |
| Sets the VITA 49 setting for a given WBDDC. More... | |
| virtual unsigned int | getWbddcStreamId (int index) const |
| Gets the VITA 49 stream ID for a given WBDDC. More... | |
| virtual bool | setWbddcStreamId (int index, unsigned int sid) |
| Sets the VITA 49 stream ID for a given WBDDC. More... | |
| virtual int | getWbddcDataPort (int index) const |
| Gets the data port for a given WBDDC. More... | |
| virtual bool | setWbddcDataPort (int index, int port) |
| Sets the data port for a given WBDDC. More... | |
| virtual bool | setWbddcRateSet (int index, const WbddcRateSet &set) |
| Sets the rate set for a given WBDDC. More... | |
| virtual ConfigurationDict | getWbddcConfiguration (int index) const |
| Gets the configuration dictionary for a given WBDDC. More... | |
| virtual bool | setWbddcConfiguration (int index, ConfigurationDict &cfg) |
| Sets the configuration dictionary for a given WBDDC. More... | |
| virtual int | getNumNbddc () const |
| Gets the number of NBDDCs on the radio. More... | |
| virtual BasicIntList | getNbddcIndexRange () const |
| Gets the range of NBDDC indices on the radio. More... | |
| virtual BasicDoubleList | getNbddcFrequencyRange () const |
| Gets the tunable frequency range for NBDDCs. More... | |
| virtual double | getNbddcFrequencyRes () const |
| Gets the tuned frequency resolution for NBDDCs. More... | |
| virtual double | getNbddcFrequencyUnit () const |
| Gets the tuned frequency units for NBDDCs. More... | |
| virtual NbddcRateSet | getNbddcRateSet () const |
| Gets the NBDDC rate set. More... | |
| virtual BasicDoubleList | getNbddcRateList () const |
| Gets the list of allowed NBDDC sample rates, based on the rate set. More... | |
| virtual bool | isNbddcEnabled (int index) const |
| Gets whether or not a given NBDDC is enabled. More... | |
| virtual bool | enableNbddc (int index, bool enabled=true) |
| Enables a given NBDDC. More... | |
| virtual bool | disableNbddc (int index) |
| Disables a given NBDDC. More... | |
| virtual double | getNbddcFrequency (int index) const |
| Gets the tuned frequency for a given NBDDC. More... | |
| virtual bool | setNbddcFrequency (int index, double freq) |
| Sets the tuned frequency for a given NBDDC. More... | |
| virtual int | getNbddcSource (int index) const |
| Gets the source (which tuner is supplying the signal) for a given NBDDC. More... | |
| virtual bool | setNbddcSource (int index, int source) |
| Sets the source (which tuner is supplying the signal) for a given NBDDC. More... | |
| virtual int | getNbddcRateIndex (int index) const |
| Gets the rate index for a given NBDDC. More... | |
| virtual bool | setNbddcRateIndex (int index, int rateIndex) |
| Sets the rate index for a given NBDDC. More... | |
| virtual int | getNbddcUdpDestination (int index) const |
| Gets the UDP destination for a given NBDDC. More... | |
| virtual bool | setNbddcUdpDestination (int index, int dest) |
| Sets the UDP destination for a given NBDDC. More... | |
| virtual int | getNbddcVitaEnable (int index) const |
| Gets the VITA 49 setting for a given NBDDC. More... | |
| virtual bool | setNbddcVitaEnable (int index, int enable) |
| Sets the VITA 49 setting for a given NBDDC. More... | |
| virtual unsigned int | getNbddcStreamId (int index) const |
| Gets the VITA 49 stream ID for a given NBDDC. More... | |
| virtual bool | setNbddcStreamId (int index, unsigned int sid) |
| Sets the VITA 49 stream ID for a given NBDDC. More... | |
| virtual int | getNbddcDataPort (int index) const |
| Gets the data port for a given NBDDC. More... | |
| virtual bool | setNbddcDataPort (int index, int port) |
| Sets the data port for a given NBDDC. More... | |
| virtual bool | setNbddcRateSet (int index, const NbddcRateSet &set) |
| Sets the rate set for a given NBDDC. More... | |
| virtual ConfigurationDict | getNbddcConfiguration (int index) const |
| Gets the configuration dictionary for a given NBDDC. More... | |
| virtual bool | setNbddcConfiguration (int index, ConfigurationDict &cfg) |
| Sets the configuration dictionary for a given NBDDC. More... | |
| virtual int | getNumTransmitters () const |
| Gets the number of transmitters on the radio. More... | |
| virtual BasicIntList | getTransmitterIndexRange () const |
| Gets the list of transmitter indices on the radio. More... | |
| virtual BasicDoubleList | getTransmitterFrequencyRange () const |
| Gets the frequency range for the transmitters on the radio. More... | |
| virtual double | getTransmitterFrequencyRes () const |
| Gets the frequency resolution for transmitters on the radio. More... | |
| virtual double | getTransmitterFrequencyUnit () const |
| Gets the frequency unit for transmitters on the radio. More... | |
| virtual BasicDoubleList | getTransmitterAttenuationRange () const |
| Gets the attenuation range for the transmitters on the radio. More... | |
| virtual double | getTransmitterAttenuationRes () const |
| Gets the attenuation resolution for transmitters on the radio. More... | |
| virtual bool | isTransmitterEnabled (int index) const |
| Gets whether a given transmitter is enabled. More... | |
| virtual bool | enableTransmitter (int index, bool enabled=true) |
| Enables a given transmitter. More... | |
| virtual bool | disableTransmitter (int index) |
| Disables a given transmitter. More... | |
| virtual double | getTransmitterFrequency (int index) const |
| Gets the frequency for a given transmitter. More... | |
| virtual bool | setTransmitterFrequency (int index, double freq) |
| Sets the frequency for a given transmitter. More... | |
| virtual double | getTransmitterAttenuation (int index) const |
| Gets the attenuation for a given transmitter. More... | |
| virtual bool | setTransmitterAttenuation (int index, double atten) |
| Sets the attenuation for a given transmitter. More... | |
| virtual ConfigurationDict | getTransmitterConfiguration (int index) const |
| Gets the configuration dictionary for a given transmitter. More... | |
| virtual bool | setTransmitterConfiguration (int index, ConfigurationDict &cfg) |
| Sets the configuration dictionary for a given transmitter. More... | |
| virtual bool | transmitterSupportsCW () const |
| Gets whether transmitters support continuous-wave (CW) tone generation. More... | |
| virtual int | getTransmitterCWNum () const |
| Gets the number of CW tone generators associated with transmitters on this radio. More... | |
| virtual BasicIntList | getTransmitterCWIndexRange () const |
| Gets the range of indices for CW tone generators. More... | |
| virtual BasicDoubleList | getTransmitterCWFrequencyRange () const |
| Gets the CW frequency range. More... | |
| virtual double | getTransmitterCWFrequencyRes () const |
| Gets the CW frequency resolution. More... | |
| virtual BasicDoubleList | getTransmitterCWAmplitudeRange () const |
| Gets the CW amplitude range. More... | |
| virtual double | getTransmitterCWAmplitudeRes () const |
| Gets the CW amplitude resolution. More... | |
| virtual BasicDoubleList | getTransmitterCWPhaseRange () const |
| Gets the CW phase range. More... | |
| virtual int | getTransmitterCWPhaseRes () const |
| Gets the CW phase resolution. More... | |
| virtual bool | transmitterSupportsCWSweep () const |
| Gets whether the transmitter supports CW tone sweeping. More... | |
| virtual BasicDoubleList | getTransmitterCWSweepStartRange () const |
| Gets the CW start frequency range. More... | |
| virtual double | getTransmitterCWSweepStartRes () const |
| Gets the CW start frequency resolution. More... | |
| virtual BasicDoubleList | getTransmitterCWSweepStopRange () const |
| Gets the CW stop frequency range. More... | |
| virtual double | getTransmitterCWSweepStopRes () const |
| Gets the CW stop frequency resolution. More... | |
| virtual BasicDoubleList | getTransmitterCWSweepStepRange () const |
| Gets the CW frequency step range. More... | |
| virtual double | getTransmitterCWSweepStepRes () const |
| Gets the CW frequency step resolution. More... | |
| virtual BasicDoubleList | getTransmitterCWSweepDwellRange () const |
| Gets the CW dwell time range. More... | |
| virtual double | getTransmitterCWSweepDwellRes () const |
| Gets the CW dwell time resolution. More... | |
| virtual bool | enableTransmitterCW (int index, int cwIndex, bool enabled=true) |
| Enables a given CW tone generator. More... | |
| virtual bool | disableTransmitterCW (int index, int cwIndex) |
| Disables a given CW tone generator. More... | |
| virtual ConfigurationDict | getTransmitterCWConfiguration (int index, int cwIndex) const |
| Gets the configuration for a given CW tone generator. More... | |
| virtual bool | setTransmitterCWConfiguration (int index, int cwIndex, ConfigurationDict &cfg) |
| Sets the configuration dictionary for a given CW tone generator. More... | |
| virtual double | getTransmitterCWFrequency (int index, int cwIndex) const |
| Gets the constant frequency for a given CW tone generator. More... | |
| virtual bool | setTransmitterCWFrequency (int index, int cwIndex, double freq) |
| Sets the constant frequency for a given CW tone generator. More... | |
| virtual double | getTransmitterCWAmplitude (int index, int cwIndex) const |
| Gets the signal amplitude for a given CW tone generator. More... | |
| virtual bool | setTransmitterCWAmplitude (int index, int cwIndex, double amp) |
| Sets the signal amplitude for a given CW tone generator. More... | |
| virtual double | getTransmitterCWPhase (int index, int cwIndex) const |
| Gets the signal phase for a given CW tone generator. More... | |
| virtual bool | setTransmitterCWPhase (int index, int cwIndex, double phase) |
| Sets the signal phase for a given CW tone generator. More... | |
| virtual bool | transmitterSupportsCWSweep (int index, int cwIndex) const |
| Gets whether or not a given CW tone generator supports signal sweeps. More... | |
| virtual double | getTransmitterCWSweepStartFrequency (int index, int cwIndex) const |
| Gets the start frequency for a signal sweep for a given CW tone generator. More... | |
| virtual double | getTransmitterCWSweepStopFrequency (int index, int cwIndex) const |
| Gets the stop frequency for a signal sweep for a given CW tone generator. More... | |
| virtual double | getTransmitterCWSweepFrequencyStep (int index, int cwIndex) const |
| Gets the frequency step for a signal sweep for a given CW tone generator. More... | |
| virtual double | getTransmitterCWSweepDwellTime (int index, int cwIndex) const |
| Gets the dwell time for a signal sweep for a given CW tone generator. More... | |
| virtual bool | setTransmitterCWFrequencySweep (int index, int cwIndex, double start, double stop, double step, double dwell) |
| Sets the parameters for a frequency sweep for a given CW tone generator. More... | |
| virtual int | getNumDuc () const |
| Gets the number of DUCs on the radio. More... | |
| virtual BasicIntList | getDucIndexRange () const |
| Gets the range of DUC indices on the radio. More... | |
| virtual bool | ducSupportsSnapshotLoad () const |
| Gets whether DUCs support loading snapshot files. More... | |
| virtual bool | ducSupportsSnapshotTransmit () const |
| Gets whether DUCs support transmitting snapshots. More... | |
| virtual bool | enableDuc (int index, bool enabled) |
| Enables a given DUC. More... | |
| virtual bool | disableDuc (int index) |
| Disables a given DUC. More... | |
| virtual ConfigurationDict | getDucConfiguration (int index) const |
| Gets the configuration dictionary for a given DUC. More... | |
| virtual bool | setDucConfiguration (int index, ConfigurationDict &cfg) |
| Sets the configuration dictionary for a given DUC. More... | |
| virtual int | getDucDataPort (int index) const |
| Gets the data port for a given DUC. More... | |
| virtual bool | setDucDataPort (int index, int port) |
| Sets the data port for a given DUC. More... | |
| virtual double | getDucFrequency (int index) const |
| Gets the tuned frequency for a given DUC. More... | |
| virtual bool | setDucFrequency (int index, double freq) |
| Sets the tuned frequency for a given DUC. More... | |
| virtual BasicDoubleList | getDucFrequencyRange () const |
| Gets the tunable frequency range for DUCs. More... | |
| virtual double | getDucFrequencyRes () const |
| Gets the tuned frequency resolution for DUCs. More... | |
| virtual double | getDucFrequencyUnit () const |
| Gets the tuned frequency units for DUCs. More... | |
| virtual double | getDucAttenuation (int index) const |
| Gets the attenuation for a given DUC. More... | |
| virtual bool | setDucAttenuation (int index, double atten) |
| Sets the attenuation for a given DUC. More... | |
| virtual BasicDoubleList | getDucAttenuationRange () const |
| Gets the DUC attenuation range. More... | |
| virtual double | getDucAttenuationRes () const |
| Gets the DUC attenuation resolution. More... | |
| virtual int | getDucRateIndex (int index) const |
| Gets the rate index for a given DUC. More... | |
| virtual bool | setDucRateIndex (int index, int rateIndex) |
| Sets the rate index for a given DUC. More... | |
| virtual int | getDucTxChannelBitmap (int index) const |
| Gets the transmit channel bitmap for a given DUC. More... | |
| virtual bool | setDucTxChannelBitmap (int index, int txChannels) |
| Sets the transmit channel bitmap for a given DUC. More... | |
| virtual int | getDucMode (int index) const |
| Gets the mode for a given DUC. More... | |
| virtual bool | setDucMode (int index, int mode) |
| Sets the mode for a given DUC. More... | |
| virtual unsigned int | getDucStreamId (int index) const |
| Gets the VITA 49 stream ID for a given DUC. More... | |
| virtual bool | setDucStreamId (int index, unsigned int sid) |
| Sets the VITA 49 stream ID for a given DUC. More... | |
| virtual bool | loadDucSnapshot (int index, const std::string &filename, unsigned int startSample=0, unsigned int samples=0) |
| Load a snapshot file into a given DUC's memory block. More... | |
| virtual DucRateSet | getDucRateSet () const |
| Gets the DUC's rate set. More... | |
| virtual BasicDoubleList | getDucRateList () const |
| Gets the list of allowed DUC sample rates, based on the rate set. More... | |
| virtual int | getNumWbddcGroups () const |
| Gets the number of WBDDC groups on the radio. More... | |
| virtual BasicIntList | getWbddcGroupIndexRange () const |
| Gets the range of WBDDC group indices on the radio. More... | |
| virtual bool | isWbddcGroupEnabled (int index) const |
| Gets whether or not a given WBDDC group is enabled. More... | |
| virtual bool | enableWbddcGroup (int index, bool enabled) |
| Enables a given WBDDC group. More... | |
| virtual bool | disableWbddcGroup (int index) |
| Disables a given WBDDC group. More... | |
| virtual ConfigurationDict | getWbddcGroupConfiguration (int index) const |
| Gets the configuration dictionary for a given WBDDC group. More... | |
| virtual bool | setWbddcGroupConfiguration (int index, ConfigurationDict &cfg) |
| Sets the configuration dictionary for a given WBDDC group. More... | |
| virtual BasicIntList | getWbddcGroupMembers (int index) const |
| Gets the list of group members for a given WBDDC group. More... | |
| virtual bool | setWbddcGroupMembers (int index, const BasicIntList &groupMembers) |
| Sets the list of group members for a given WBDDC group. More... | |
| virtual bool | addWbddcGroupMember (int index, int member) |
| Adds a WBDDC to the given WBDDC group. More... | |
| virtual bool | removeWbddcGroupMember (int index, int member) |
| Removes a WBDDC from the given WBDDC group. More... | |
| virtual int | getNumNbddcGroups () const |
| Gets the number of NBDDC groups on the radio. More... | |
| virtual BasicIntList | getNbddcGroupIndexRange () const |
| Gets the range of NBDDC group indices on the radio. More... | |
| virtual bool | isNbddcGroupEnabled (int index) const |
| Gets whether or not a given NBDDC group is enabled. More... | |
| virtual bool | enableNbddcGroup (int index, bool enabled) |
| Enables a given NBDDC group. More... | |
| virtual bool | disableNbddcGroup (int index) |
| Disables a given NBDDC group. More... | |
| virtual ConfigurationDict | getNbddcGroupConfiguration (int index) const |
| Gets the configuration dictionary for a given NBDDC group. More... | |
| virtual bool | setNbddcGroupConfiguration (int index, ConfigurationDict &cfg) |
| Sets the configuration dictionary for a given NBDDC group. More... | |
| virtual BasicIntList | getNbddcGroupMembers (int index) const |
| Gets the list of group members for a given NBDDC group. More... | |
| virtual bool | setNbddcGroupMembers (int index, const BasicIntList &groupMembers) |
| Sets the list of group members for a given NBDDC group. More... | |
| virtual bool | addNbddcGroupMember (int index, int member) |
| Adds a NBDDC to the given NBDDC group. More... | |
| virtual bool | removeNbddcGroupMember (int index, int member) |
| Removes a NBDDC from the given NBDDC group. More... | |
| virtual bool | disableTenGigFlowControl () |
| Disables flow control on all 10GigE data ports. More... | |
| virtual bool | enableTenGigFlowControl () |
| Enables flow control on all 10GigE data ports. More... | |
| virtual bool | setTenGigFlowControlStatus (bool enable) |
| Sets flow control status on all 10GigE data ports. More... | |
| virtual BasicIntBoolDict | getTenGigFlowControlStatus () |
| Gets flow control status on all 10GigE data ports. More... | |
| virtual ConfigurationDict | getDataPortConfiguration (int index) const |
| Gets the configuration dictionary for a given data port. More... | |
| virtual bool | setDataPortConfiguration (int index, ConfigurationDict &cfg) |
| Sets the configuration dictionary for a given data port. More... | |
| virtual std::string | getDataPortSourceIP (int index) const |
| Gets the source IP address for a given data port. More... | |
| virtual bool | setDataPortSourceIP (int index, const std::string &ipAddr) |
| Sets the source IP address for a given data port. More... | |
| virtual bool | enableDataPortErrors (int index, bool enabled=true) |
| Enables errors on the data port. More... | |
| virtual bool | disableDataPortErrors (int index) |
| Disables errors on the data port. More... | |
| virtual bool | enableDataPortFlowControl (int index, bool enabled=true) |
| Enables flow control on the data port. More... | |
| virtual bool | disableDataPortFlowControl (int index) |
| Disables flow control on the data port. More... | |
| virtual std::string | getDataPortDestMACAddress (int index, int dipIndex) const |
| Gets the MAC address for a given entry in the destination IP table on a given data port. More... | |
| virtual bool | setDataPortDestMACAddress (int index, int dipIndex, const std::string &macAddr) |
| Sets the MAC address for a given entry in the destination IP table on a given data port. More... | |
| virtual std::string | getDataPortDestIPAddress (int index, int dipIndex) const |
| Gets the IP address for a given entry in the destination IP table on a given data port. More... | |
| virtual bool | setDataPortDestIPAddress (int index, int dipIndex, const std::string &ipAddr) |
| Sets the IP address for a given entry in the destination IP table on a given data port. More... | |
| virtual unsigned int | getDataPortDestSourcePort (int index, int dipIndex) const |
| Gets the source UDP port number for a given entry in the destination IP table on a given data port. More... | |
| virtual bool | setDataPortDestSourcePort (int index, int dipIndex, unsigned int sourcePort) |
| Sets the UDP port number for a given entry in the destination IP table on a given data port. More... | |
| virtual unsigned int | getDataPortDestDestPort (int index, int dipIndex) const |
| Gets the destination UDP port number for a given entry in the destination IP table on a given data port. More... | |
| virtual bool | setDataPortDestDestPort (int index, int dipIndex, unsigned int destPort) |
| Sets the VITA stream ID for a given entry in the destination IP table on a given data port. More... | |
| virtual bool | setDataPortDestInfo (int index, int dipIndex, const std::string &ipAddr, const std::string &macAddr, unsigned int sourcePort, unsigned int destPort) |
| Sets the destination table information for a given entry in the DIP table on a given data port. More... | |
| virtual ConfigurationDict | getSimpleIPConfiguration () const |
| Gets the "simple" IP configuration dictionary for radios without 10Gig data ports. More... | |
| virtual bool | setSimpleIPConfiguration (ConfigurationDict &cfg) |
| Sets the "simple" IP configuration dictionary for radios without 10Gig data ports. More... | |
| virtual std::string | getSimpleSourceMACAddress () const |
| Gets the source MAC address for radios without 10Gig data ports. More... | |
| virtual std::string | getSimpleSourceIPAddress () const |
| Gets the source IP address for radios without 10Gig data ports. More... | |
| virtual bool | setSimpleSourceIPAddress (const std::string &ipAddr) |
| Sets the source IP address for radios without 10Gig data ports. More... | |
| virtual std::string | getSimpleDestMACAddress () const |
| Gets the destination MAC address for radios without 10Gig data ports. More... | |
| virtual bool | setSimpleDestMACAddress (const std::string &macAddr) |
| Sets the destination MAC address for radios without 10Gig data ports. More... | |
| virtual std::string | getSimpleDestIPAddress () const |
| Gets the destination IP address for radios without 10Gig data ports. More... | |
| virtual bool | setSimpleDestIPAddress (const std::string &ipAddr) |
| Sets the destination IP address for radios without 10Gig data ports. More... | |
| virtual int | getDefaultDeviceInfo () const |
| Gets the default device information. More... | |
| virtual uint32_t | getMessageId (void) |
| Get a json Message ID. | |
| virtual std::string | getName () const |
| Gets the name of the configurable object. More... | |
| virtual void | setName (const std::string &name) |
| Sets the name of the configurable object. More... | |
| virtual ConfigurationDict | getConfiguration () const |
| Gets the configuration dictionary for this object. More... | |
| virtual ConfigString | getConfigurationValue (const std::string &key) const |
| Gets a named configuration value as a string. More... | |
| virtual bool | getConfigurationValueAsBool (const std::string &key) const |
| Gets a named configuration value as a Boolean. More... | |
| virtual int | getConfigurationValueAsInt (const std::string &key) const |
| Gets a named configuration value as an integer value. More... | |
| virtual unsigned int | getConfigurationValueAsUInt (const std::string &key) const |
| Gets a named configuration value as an unsigned integer value. More... | |
| virtual double | getConfigurationValueAsDbl (const std::string &key) const |
| Gets a named configuration value as a double value. More... | |
| virtual bool | setConfigurationValue (const std::string &key, const std::string &value) |
| Sets a named configuration value to a string. More... | |
| virtual bool | setConfigurationValueToBool (const std::string &key, const bool value) |
| Sets a named configuration value to a Boolean. More... | |
| virtual bool | setConfigurationValueToInt (const std::string &key, const int value) |
| Sets a named configuration value to an integer value. More... | |
| virtual bool | setConfigurationValueToUInt (const std::string &key, const unsigned int value) |
| Sets a named configuration value to an unsigned integer value. More... | |
| virtual bool | setConfigurationValueToDbl (const std::string &key, const double value) |
| Sets a named configuration value to a double value. More... | |
| virtual void | setDebugName (const std::string &debug_name) |
| Sets the debug name for this object. More... | |
| virtual void | setDebugFile (FILE *debug_fp) |
| Sets the debug file pointer for this object. More... | |
| virtual void | setDebugTimeFormat (const std::string &debug_timefmt) |
| Sets the debug time format for this object. More... | |
| virtual int | debug (const char *format,...) |
| Outputs debug information. More... | |
| virtual const char * | debugBool (bool x) |
| Gets a debug output string for a Boolean value. More... | |
| virtual bool | isDebug () const |
| Gets whether this object produces debug output. More... | |
| virtual std::string | getDebugName () const |
| Gets the debug name for this object. More... | |
| virtual std::string | rawString (const std::string &data) |
| Gets a "raw" string representation of a given data string. More... | |
Protected Member Functions | |
| virtual void | initConfigurationDict () |
| Initializes the configuration dictionary, defining the allowed keys. More... | |
| virtual void | updateConfigurationDict () |
| Updates the configuration dictionary from object settings. More... | |
| virtual ConfigurationDict | normalizedConfigurationDict (const ConfigurationDict &cfg) |
| Normalizes an incoming configuration dictionary. More... | |
| virtual std::string | normalizedBool (const std::string &val) |
| Normalizes a Boolean string value. More... | |
| virtual void | dumpConfiguration () |
| Dumps this object's configuration dictionary to debug output. | |
Generic radio handler class.
The generic radio handler class provides a standard API for manipulating the various radios supported by the driver. All radio handler objects provided through the driver will conform to this interface. However, not all radios will support all of the capabilities of this interface.
Radio handler objects can also use configuration dictionaries like their components can. Support for configuration dictionaries varies by radio, so see the documentation for the specific radio handler for details.
Definition at line 54 of file RadioHandler.h.
| RadioHandler | ( | const std::string & | name = "NDR", |
| int | numTuner = 0, |
||
| int | tunerIndexBase = 1, |
||
| int | numWbddc = 0, |
||
| int | wbddcIndexBase = 1, |
||
| int | numNbddc = 0, |
||
| int | nbddcIndexBase = 1, |
||
| int | numTunerBoards = 1, |
||
| int | maxTunerBw = 0, |
||
| int | numTransmitter = 0, |
||
| int | transmitterIndexBase = 1, |
||
| int | numDuc = 0, |
||
| int | ducIndexBase = 1, |
||
| int | numWbddcGroups = 0, |
||
| int | wbddcGroupIndexBase = 1, |
||
| int | numNbddcGroups = 0, |
||
| int | nbddcGroupIndexBase = 1, |
||
| int | numDdcGroups = 0, |
||
| int | ddcGroupIndexBase = 1, |
||
| int | numDataPorts = 0, |
||
| int | dataPortIndexBase = 1, |
||
| int | numSimpleIpSetups = 0, |
||
| double | adcRate = 102.4e6, |
||
| VitaIfSpec | ifSpec = VitaIfSpec(), |
||
| bool | debug = false |
||
| ) |
Constructs a RadioHandler object.
| name | Name of the radio. |
| numTuner | Number of tuners on the radio. |
| tunerIndexBase | Number that tuner indices start on. |
| numWbddc | Number of WBDDCs on the radio. |
| wbddcIndexBase | Number that WBDDC indices start on. |
| numNbddc | Number of NBDDCs on the radio. |
| nbddcIndexBase | Number that NBDDC indices start on. |
| numTunerBoards | Number of tuner boards expected to be on the radio. |
| maxTunerBw | Expected maximum tuner bandwidth. |
| numTransmitter | Number of transmitters on the radio. |
| transmitterIndexBase | Number that transmitter indices start on. |
| numDuc | Number of DUCs on the radio. |
| ducIndexBase | Number that DUC indices start on. |
| numWbddcGroups | Number of WBDDC groups on the radio. |
| wbddcGroupIndexBase | Number that WBDDC group indices start on. |
| numNbddcGroups | Number of NBDDC groups on the radio. |
| nbddcGroupIndexBase | Number that NBDDC group indices start on. |
| numDdcGroups | Number of combined DDC groups on the radio. |
| ddcGroupIndexBase | Number that combined DDC group indices start on. |
| numDataPorts | Number of 10GigE data ports on the radio. |
| dataPortIndexBase | Number that 10GigE data port indices start on. |
| numSimpleIpSetups | Number of simple IP setups for 1Gig data channels. |
| adcRate | ADC sample rate, in Hz. |
| ifSpec | VITA 49 interface specification for this radio. |
| debug | Whether the object supports debug output. |
Definition at line 28 of file RadioHandler.cpp.
| RadioHandler | ( | const RadioHandler & | other | ) |
Copies a RadioHandler object.
| other | The RadioHandler object to copy. |
Definition at line 154 of file RadioHandler.cpp.
|
virtual |
Adds a NBDDC to the given NBDDC group.
| index | The NBDDC group index number. |
| member | NBDDC to add. |
Definition at line 2272 of file RadioHandler.cpp.
|
virtual |
Adds a WBDDC to the given WBDDC group.
| index | The WBDDC group index number. |
| member | WBDDC to add. |
Definition at line 2182 of file RadioHandler.cpp.
|
virtual |
Connects to the radio.
| mode | Connection mode. One of "tcp", "udp", or "tty". |
| host_or_dev | Either the host name or IP address (TCP/UDP) or the serial device name (TTY). |
| port_or_baudrate | Either the port number (TCP/UDP) or the serial baud rate (TTY). |
Definition at line 260 of file RadioHandler.cpp.
|
virtualinherited |
Outputs debug information.
This method follows the same semantics as printf(). Output is preceded by a timestamp and the name of the object, if provided.
| format | The printf()-style format string. |
| ... | Comma-separated list of arguments to print. Note that these need to be arguments that can be supported natively through printf(). |
Definition at line 95 of file Debuggable.cpp.
|
virtualinherited |
Gets a debug output string for a Boolean value.
| x | Boolean value |
Definition at line 126 of file Debuggable.cpp.
|
virtual |
Disables errors on the data port.
| index | Data port index number. |
Definition at line 2368 of file RadioHandler.cpp.
|
virtual |
Disables flow control on the data port.
| index | Data port index number. |
Definition at line 2382 of file RadioHandler.cpp.
|
virtual |
Disables a given DUC.
| index | The DUC index number. |
Definition at line 1885 of file RadioHandler.cpp.
|
virtual |
Disables a given NBDDC.
| index | NBDDC index number. |
Definition at line 1246 of file RadioHandler.cpp.
|
virtual |
Disables a given NBDDC group.
| index | The NBDDC group index number. |
Definition at line 2231 of file RadioHandler.cpp.
|
virtual |
Disables flow control on all 10GigE data ports.
Definition at line 2290 of file RadioHandler.cpp.
|
virtual |
Disables a given transmitter.
| index | Transmitter index. |
Definition at line 1481 of file RadioHandler.cpp.
|
virtual |
Disables a given CW tone generator.
| index | Transmitter index. |
| cwIndex | CW tone generator index. |
Definition at line 1711 of file RadioHandler.cpp.
|
virtual |
Disables a given tuner.
| index | The tuner index number. |
Definition at line 841 of file RadioHandler.cpp.
|
virtual |
Disables a given WBDDC.
| index | WBDDC index number. |
Definition at line 1012 of file RadioHandler.cpp.
|
virtual |
Disables a given WBDDC group.
| index | The WBDDC group index number. |
Definition at line 2141 of file RadioHandler.cpp.
|
virtual |
Gets whether DUCs support loading snapshot files.
Definition at line 1858 of file RadioHandler.cpp.
|
virtual |
Gets whether DUCs support transmitting snapshots.
Definition at line 1867 of file RadioHandler.cpp.
|
virtual |
Enables errors on the data port.
| index | Data port index number. |
| enabled | Whether or not errors should be enabled. |
Definition at line 2359 of file RadioHandler.cpp.
|
virtual |
Enables flow control on the data port.
| index | Data port index number. |
| enabled | Whether or not errors should be enabled. |
Definition at line 2373 of file RadioHandler.cpp.
|
virtual |
Enables a given DUC.
| index | The DUC index number. |
| enabled | Whether or not the DUC should be enabled. |
Definition at line 1876 of file RadioHandler.cpp.
|
virtual |
Enables a given NBDDC.
| index | NBDDC index number. |
| enabled | Whether or not this component should be enabled. |
Definition at line 1237 of file RadioHandler.cpp.
|
virtual |
Enables a given NBDDC group.
| index | The NBDDC group index number. |
| enabled | Whether or not the NBDDC group should be enabled. |
Definition at line 2222 of file RadioHandler.cpp.
|
virtual |
Enables flow control on all 10GigE data ports.
Definition at line 2295 of file RadioHandler.cpp.
|
virtual |
Enables a given transmitter.
| index | Transmitter index. |
| enabled | Whether or not to enable the transmitter. |
Definition at line 1472 of file RadioHandler.cpp.
|
virtual |
Enables a given CW tone generator.
| index | Transmitter index. |
| cwIndex | CW tone generator index. |
| enabled | Whether or not this component should be enabled. |
Definition at line 1702 of file RadioHandler.cpp.
|
virtual |
Enables a given tuner.
| index | The tuner index number. |
| enabled | Whether or not this tuner should be enabled. |
Definition at line 832 of file RadioHandler.cpp.
|
virtual |
Enables a given WBDDC.
| index | WBDDC index number. |
| enabled | Whether or not this component should be enabled. |
Definition at line 1003 of file RadioHandler.cpp.
|
virtual |
Enables a given WBDDC group.
| index | The WBDDC group index number. |
| enabled | Whether or not the WBDDC group should be enabled. |
Definition at line 2132 of file RadioHandler.cpp.
|
virtual |
Gets the ADC sample rate.
Definition at line 720 of file RadioHandler.cpp.
|
virtual |
Gets the byte order (endianness) of the VITA 49.
Definition at line 755 of file RadioHandler.cpp.
|
virtual |
Gets the calibration frequency.
Definition at line 662 of file RadioHandler.cpp.
|
virtualinherited |
Gets the configuration dictionary for this object.
Definition at line 93 of file Configurable.cpp.
|
virtualinherited |
Gets a named configuration value as a string.
| key | The key string in the configuration dictionary. |
Definition at line 98 of file Configurable.cpp.
|
virtualinherited |
Gets a named configuration value as a Boolean.
| key | The key string in the configuration dictionary. |
Definition at line 109 of file Configurable.cpp.
|
virtualinherited |
Gets a named configuration value as a double value.
| key | The key string in the configuration dictionary. |
Definition at line 148 of file Configurable.cpp.
|
virtualinherited |
Gets a named configuration value as an integer value.
| key | The key string in the configuration dictionary. |
Definition at line 122 of file Configurable.cpp.
|
virtualinherited |
Gets a named configuration value as an unsigned integer value.
| key | The key string in the configuration dictionary. |
Definition at line 135 of file Configurable.cpp.
|
virtual |
Gets connection information for the radio.
Definition at line 255 of file RadioHandler.cpp.
|
virtual |
Gets the list of connection methods that the radio supports.
Definition at line 705 of file RadioHandler.cpp.
|
virtual |
Gets the configuration dictionary for a given data port.
| index | Data port index number. |
Definition at line 2323 of file RadioHandler.cpp.
|
virtual |
Gets the destination UDP port number for a given entry in the destination IP table on a given data port.
| index | Data port index number. |
| dipIndex | Index number for the entry in the DIP table. |
Definition at line 2444 of file RadioHandler.cpp.
|
virtual |
Gets the IP address for a given entry in the destination IP table on a given data port.
| index | Data port index number. |
| dipIndex | Index number for the entry in the DIP table. |
Definition at line 2406 of file RadioHandler.cpp.
|
virtual |
Gets the MAC address for a given entry in the destination IP table on a given data port.
| index | Data port index number. |
| dipIndex | Index number for the entry in the DIP table. |
Definition at line 2387 of file RadioHandler.cpp.
|
virtual |
Gets the source UDP port number for a given entry in the destination IP table on a given data port.
| index | Data port index number. |
| dipIndex | Index number for the entry in the DIP table. |
Definition at line 2425 of file RadioHandler.cpp.
|
virtual |
Gets the list of UDP destination table indices for the 10GigE data ports on the radio.
Definition at line 696 of file RadioHandler.cpp.
|
virtual |
Gets the range of indices 10GigE data ports on the radio.
Definition at line 679 of file RadioHandler.cpp.
|
virtual |
Gets the source IP address for a given data port.
| index | Data port index number. |
Definition at line 2341 of file RadioHandler.cpp.
|
virtualinherited |
Gets the debug name for this object.
Definition at line 138 of file Debuggable.cpp.
|
virtual |
Gets the default device information.
The default device information is either a default port to use for network connections, or a default baud rate to use for serial connections.
Definition at line 2540 of file RadioHandler.cpp.
|
virtual |
Gets the attenuation for a given DUC.
| index | The DUC index number. |
Definition at line 1971 of file RadioHandler.cpp.
|
virtual |
Gets the DUC attenuation range.
Definition at line 1989 of file RadioHandler.cpp.
|
virtual |
Gets the DUC attenuation resolution.
Definition at line 1998 of file RadioHandler.cpp.
|
virtual |
Gets the configuration dictionary for a given DUC.
| index | DUC index number. |
Definition at line 1890 of file RadioHandler.cpp.
|
virtual |
Gets the data port for a given DUC.
| index | The DUC index number. |
Definition at line 1908 of file RadioHandler.cpp.
|
virtual |
Gets the tuned frequency for a given DUC.
| index | The DUC index number. |
Definition at line 1926 of file RadioHandler.cpp.
|
virtual |
Gets the tunable frequency range for DUCs.
Definition at line 1944 of file RadioHandler.cpp.
|
virtual |
Gets the tuned frequency resolution for DUCs.
Definition at line 1953 of file RadioHandler.cpp.
|
virtual |
Gets the tuned frequency units for DUCs.
Definition at line 1962 of file RadioHandler.cpp.
|
virtual |
Gets the range of DUC indices on the radio.
Definition at line 1850 of file RadioHandler.cpp.
|
virtual |
Gets the mode for a given DUC.
| index | The DUC index number. |
Definition at line 2043 of file RadioHandler.cpp.
|
virtual |
Gets the rate index for a given DUC.
| index | The DUC index number. |
Definition at line 2007 of file RadioHandler.cpp.
|
virtual |
Gets the list of allowed DUC sample rates, based on the rate set.
Definition at line 2101 of file RadioHandler.cpp.
|
virtual |
|
virtual |
Gets the VITA 49 stream ID for a given DUC.
| index | The DUC index number. |
Definition at line 2061 of file RadioHandler.cpp.
|
virtual |
Gets the transmit channel bitmap for a given DUC.
| index | The DUC index number. |
Definition at line 2025 of file RadioHandler.cpp.
|
virtual |
Gets the current GPIO output bits.
Definition at line 614 of file RadioHandler.cpp.
|
virtual |
Gets the GPIO output settings for a given sequence index.
| index | The GPIO sequence index. |
Definition at line 625 of file RadioHandler.cpp.
|
virtual |
Gets the current GPS position the radio.
Definition at line 585 of file RadioHandler.cpp.
|
virtual |
Gets the error message from the last command attempted.
Definition at line 463 of file RadioHandler.cpp.
|
virtualinherited |
Gets the name of the configurable object.
Definition at line 83 of file Configurable.cpp.
|
virtual |
Gets the configuration dictionary for a given NBDDC.
| index | NBDDC index number. |
Definition at line 1251 of file RadioHandler.cpp.
|
virtual |
Gets the data port for a given NBDDC.
| index | NBDDC index number. |
Definition at line 1377 of file RadioHandler.cpp.
|
virtual |
Gets the tuned frequency for a given NBDDC.
| index | NBDDC index number. |
Definition at line 1269 of file RadioHandler.cpp.
|
virtual |
Gets the tunable frequency range for NBDDCs.
Definition at line 1183 of file RadioHandler.cpp.
|
virtual |
Gets the tuned frequency resolution for NBDDCs.
Definition at line 1192 of file RadioHandler.cpp.
|
virtual |
Gets the tuned frequency units for NBDDCs.
The frequency unit is a floating-point value that indicates how the frequency is specified in commands given to the radio.
Definition at line 1201 of file RadioHandler.cpp.
|
virtual |
Gets the configuration dictionary for a given NBDDC group.
| index | NBDDC group index number. |
Definition at line 2236 of file RadioHandler.cpp.
|
virtual |
Gets the range of NBDDC group indices on the radio.
Definition at line 2205 of file RadioHandler.cpp.
|
virtual |
Gets the list of group members for a given NBDDC group.
| index | The NBDDC group index number. |
Definition at line 2254 of file RadioHandler.cpp.
|
virtual |
Gets the range of NBDDC indices on the radio.
Definition at line 1175 of file RadioHandler.cpp.
|
virtual |
Gets the rate index for a given NBDDC.
| index | NBDDC index number. |
Definition at line 1305 of file RadioHandler.cpp.
|
virtual |
Gets the list of allowed NBDDC sample rates, based on the rate set.
Definition at line 1219 of file RadioHandler.cpp.
|
virtual |
|
virtual |
Gets the source (which tuner is supplying the signal) for a given NBDDC.
| index | NBDDC index number. |
Definition at line 1287 of file RadioHandler.cpp.
|
virtual |
Gets the VITA 49 stream ID for a given NBDDC.
| index | NBDDC index number. |
Definition at line 1359 of file RadioHandler.cpp.
|
virtual |
Gets the UDP destination for a given NBDDC.
| index | NBDDC index number. |
Definition at line 1323 of file RadioHandler.cpp.
|
virtual |
Gets the VITA 49 setting for a given NBDDC.
| index | NBDDC index number. |
Definition at line 1341 of file RadioHandler.cpp.
|
virtual |
Gets the number of UDP destination table entries for the 10GigE data ports on the radio.
Definition at line 687 of file RadioHandler.cpp.
|
virtual |
Gets the number of 10GigE data ports on the radio.
Definition at line 609 of file RadioHandler.cpp.
|
virtual |
Gets the number of DUCs on the radio.
Definition at line 1845 of file RadioHandler.cpp.
|
virtual |
Gets the number of NBDDCs on the radio.
Definition at line 1170 of file RadioHandler.cpp.
|
virtual |
Gets the number of NBDDC groups on the radio.
Definition at line 2200 of file RadioHandler.cpp.
|
virtual |
Gets the number of transmitters on the radio.
Definition at line 1404 of file RadioHandler.cpp.
|
virtual |
Gets the number of tuners on the radio.
Definition at line 760 of file RadioHandler.cpp.
|
virtual |
Gets the number of tuner boards on the radio.
Definition at line 765 of file RadioHandler.cpp.
|
virtual |
Gets the number of WBDDCs on the radio.
Definition at line 918 of file RadioHandler.cpp.
|
virtual |
Gets the number of WBDDC groups on the radio.
Definition at line 2110 of file RadioHandler.cpp.
|
virtual |
Gets the pulse-per-second (PPS) rising edge from the radio.
Definition at line 473 of file RadioHandler.cpp.
|
virtual |
Gets the destination IP address for radios without 10Gig data ports.
Definition at line 2528 of file RadioHandler.cpp.
|
virtual |
Gets the destination MAC address for radios without 10Gig data ports.
Definition at line 2516 of file RadioHandler.cpp.
|
virtual |
Gets the "simple" IP configuration dictionary for radios without 10Gig data ports.
Definition at line 2478 of file RadioHandler.cpp.
|
virtual |
Gets the source IP address for radios without 10Gig data ports.
Definition at line 2504 of file RadioHandler.cpp.
|
virtual |
Gets the source MAC address for radios without 10Gig data ports.
Definition at line 2498 of file RadioHandler.cpp.
|
virtual |
Gets the status from the radio.
Definition at line 540 of file RadioHandler.cpp.
|
virtual |
Gets the current radio temperature.
Definition at line 598 of file RadioHandler.cpp.
|
virtual |
Gets flow control status on all 10GigE data ports.
Definition at line 2311 of file RadioHandler.cpp.
|
virtual |
Gets the time for the next PPS rising edge on the radio.
Definition at line 529 of file RadioHandler.cpp.
|
virtual |
Gets the current radio time.
Definition at line 515 of file RadioHandler.cpp.
|
virtual |
Gets the attenuation for a given transmitter.
| index | Transmitter index. |
Definition at line 1504 of file RadioHandler.cpp.
|
virtual |
Gets the attenuation range for the transmitters on the radio.
Definition at line 1445 of file RadioHandler.cpp.
|
virtual |
Gets the attenuation resolution for transmitters on the radio.
Definition at line 1454 of file RadioHandler.cpp.
|
virtual |
Gets the configuration dictionary for a given transmitter.
| index | Transmitter index number. |
Definition at line 1522 of file RadioHandler.cpp.
|
virtual |
Gets the signal amplitude for a given CW tone generator.
| index | Transmitter index. |
| cwIndex | CW tone generator index. |
Definition at line 1754 of file RadioHandler.cpp.
|
virtual |
Gets the CW amplitude range.
Definition at line 1585 of file RadioHandler.cpp.
|
virtual |
Gets the CW amplitude resolution.
Definition at line 1594 of file RadioHandler.cpp.
|
virtual |
Gets the configuration for a given CW tone generator.
| index | Transmitter index. |
| cwIndex | CW tone generator index. |
Definition at line 1716 of file RadioHandler.cpp.
|
virtual |
Gets the constant frequency for a given CW tone generator.
| index | Transmitter index. |
| cwIndex | CW tone generator index. |
Definition at line 1736 of file RadioHandler.cpp.
|
virtual |
Gets the CW frequency range.
Definition at line 1567 of file RadioHandler.cpp.
|
virtual |
Gets the CW frequency resolution.
Definition at line 1576 of file RadioHandler.cpp.
|
virtual |
Gets the range of indices for CW tone generators.
Definition at line 1558 of file RadioHandler.cpp.
|
virtual |
Gets the number of CW tone generators associated with transmitters on this radio.
Definition at line 1549 of file RadioHandler.cpp.
|
virtual |
Gets the signal phase for a given CW tone generator.
| index | Transmitter index. |
| cwIndex | CW tone generator index. |
Definition at line 1772 of file RadioHandler.cpp.
|
virtual |
Gets the CW phase range.
Definition at line 1603 of file RadioHandler.cpp.
|
virtual |
Gets the CW phase resolution.
Definition at line 1612 of file RadioHandler.cpp.
|
virtual |
Gets the CW dwell time range.
Definition at line 1684 of file RadioHandler.cpp.
|
virtual |
Gets the CW dwell time resolution.
Definition at line 1693 of file RadioHandler.cpp.
|
virtual |
Gets the dwell time for a signal sweep for a given CW tone generator.
| index | Transmitter index. |
| cwIndex | CW tone generator index. |
Definition at line 1826 of file RadioHandler.cpp.
|
virtual |
Gets the frequency step for a signal sweep for a given CW tone generator.
| index | Transmitter index. |
| cwIndex | CW tone generator index. |
Definition at line 1817 of file RadioHandler.cpp.
|
virtual |
Gets the start frequency for a signal sweep for a given CW tone generator.
| index | Transmitter index. |
| cwIndex | CW tone generator index. |
Definition at line 1799 of file RadioHandler.cpp.
|
virtual |
Gets the CW start frequency range.
Definition at line 1630 of file RadioHandler.cpp.
|
virtual |
Gets the CW start frequency resolution.
Definition at line 1639 of file RadioHandler.cpp.
|
virtual |
Gets the CW frequency step range.
Definition at line 1666 of file RadioHandler.cpp.
|
virtual |
Gets the CW frequency step resolution.
Definition at line 1675 of file RadioHandler.cpp.
|
virtual |
Gets the stop frequency for a signal sweep for a given CW tone generator.
| index | Transmitter index. |
| cwIndex | CW tone generator index. |
Definition at line 1808 of file RadioHandler.cpp.
|
virtual |
Gets the CW stop frequency range.
Definition at line 1648 of file RadioHandler.cpp.
|
virtual |
Gets the CW stop frequency resolution.
Definition at line 1657 of file RadioHandler.cpp.
|
virtual |
Gets the frequency for a given transmitter.
| index | Transmitter index. |
Definition at line 1486 of file RadioHandler.cpp.
|
virtual |
Gets the frequency range for the transmitters on the radio.
Definition at line 1418 of file RadioHandler.cpp.
|
virtual |
Gets the frequency resolution for transmitters on the radio.
Definition at line 1427 of file RadioHandler.cpp.
|
virtual |
Gets the frequency unit for transmitters on the radio.
The frequency unit is a floating-point value that indicates how the frequency is specified in commands given to the radio.
Definition at line 1436 of file RadioHandler.cpp.
|
virtual |
Gets the list of transmitter indices on the radio.
Definition at line 1409 of file RadioHandler.cpp.
|
virtual |
Gets the tuner status from the radio.
Definition at line 551 of file RadioHandler.cpp.
|
virtual |
Gets the attenuation for a given tuner.
| index | The tuner index number. |
Definition at line 864 of file RadioHandler.cpp.
|
virtual |
Gets the tuner attenuation range.
Definition at line 805 of file RadioHandler.cpp.
|
virtual |
Gets the attenuation resolution.
Definition at line 814 of file RadioHandler.cpp.
|
virtual |
Gets the configuration dictionary for a given tuner.
| index | The tuner index number. |
Definition at line 900 of file RadioHandler.cpp.
|
virtual |
Gets the filter setting for a given tuner.
| index | The tuner index number. |
Definition at line 882 of file RadioHandler.cpp.
|
virtual |
Gets the tuned frequency for a given tuner.
| index | The tuner index number. |
Definition at line 846 of file RadioHandler.cpp.
|
virtual |
Gets the tunable frequency range.
Definition at line 778 of file RadioHandler.cpp.
|
virtual |
Gets the tuned frequency resolution.
Definition at line 787 of file RadioHandler.cpp.
|
virtual |
Gets the tuned frequency units for tuners.
The frequency unit is a floating-point value that indicates how the frequency is specified in commands given to the radio.
Definition at line 796 of file RadioHandler.cpp.
|
virtual |
Gets the tuner index range.
Definition at line 770 of file RadioHandler.cpp.
|
virtual |
Gets version information for the radio.
Definition at line 250 of file RadioHandler.cpp.
|
virtual |
Gets the size of the VITA 49 header.
Definition at line 725 of file RadioHandler.cpp.
|
virtual |
Gets the size of the VITA 49 payload.
Definition at line 730 of file RadioHandler.cpp.
|
virtual |
Gets the size of the VITA 49 tail.
Definition at line 735 of file RadioHandler.cpp.
|
virtual |
Gets the configuration dictionary for a given WBDDC.
| index | WBDDC index number. |
Definition at line 1152 of file RadioHandler.cpp.
|
virtual |
Gets the data port for a given WBDDC.
| index | WBDDC index number. |
Definition at line 1125 of file RadioHandler.cpp.
|
virtual |
Gets the tuned frequency for a given WBDDC.
| index | WBDDC index number. |
Definition at line 1017 of file RadioHandler.cpp.
|
virtual |
Gets the tunable frequency range for WBDDCs.
Definition at line 949 of file RadioHandler.cpp.
|
virtual |
Gets the tuned frequency resolution for WBDDCs.
Definition at line 958 of file RadioHandler.cpp.
|
virtual |
Gets the tuned frequency units for WBDDCs.
The frequency unit is a floating-point value that indicates how the frequency is specified in commands given to the radio.
Definition at line 967 of file RadioHandler.cpp.
|
virtual |
Gets the configuration dictionary for a given WBDDC group.
| index | WBDDC group index number. |
Definition at line 2146 of file RadioHandler.cpp.
|
virtual |
Gets the range of WBDDC group indices on the radio.
Definition at line 2115 of file RadioHandler.cpp.
|
virtual |
Gets the list of group members for a given WBDDC group.
| index | The WBDDC group index number. |
Definition at line 2164 of file RadioHandler.cpp.
|
virtual |
Gets the range of WBDDC indices on the radio.
Definition at line 923 of file RadioHandler.cpp.
|
virtual |
Gets the rate index for a given WBDDC.
| index | WBDDC index number. |
Definition at line 1053 of file RadioHandler.cpp.
|
virtual |
Gets the list of allowed WBDDC sample rates, based on the rate set.
Definition at line 985 of file RadioHandler.cpp.
|
virtual |
|
virtual |
Gets the source (which tuner is supplying the signal) for a given WBDDC.
| index | WBDDC index number. |
Definition at line 1035 of file RadioHandler.cpp.
|
virtual |
Gets the VITA 49 stream ID for a given WBDDC.
| index | WBDDC index number. |
Definition at line 1107 of file RadioHandler.cpp.
|
virtual |
Gets the UDP destination for a given WBDDC.
| index | WBDDC index number. |
Definition at line 1071 of file RadioHandler.cpp.
|
virtual |
Gets the VITA 49 setting for a given WBDDC.
| index | WBDDC index number. |
Definition at line 1089 of file RadioHandler.cpp.
|
protectedvirtual |
Initializes the configuration dictionary, defining the allowed keys.
Derived classes should use this method to define which settings are configurable through a configuration dictionary.
Reimplemented from Configurable.
Reimplemented in RadioHandler, RadioHandler, RadioHandler, and RadioHandler.
Definition at line 2546 of file RadioHandler.cpp.
|
virtual |
Gets whether the VITA 49 is byte-swapped with respect to the host operating system.
Definition at line 740 of file RadioHandler.cpp.
|
virtual |
Gets whether or not the handler is connected.
Definition at line 245 of file RadioHandler.cpp.
|
virtual |
Gets whether the radio supports the given connection mode.
Definition at line 710 of file RadioHandler.cpp.
|
virtualinherited |
Gets whether this object produces debug output.
Definition at line 133 of file Debuggable.cpp.
|
virtual |
Gets whether the VITA 49 format swaps real and imaginary (I and Q) portions of each sample.
Definition at line 750 of file RadioHandler.cpp.
|
virtual |
Gets whether or not a given NBDDC is enabled.
| index | NBDDC index number. |
Definition at line 1228 of file RadioHandler.cpp.
|
virtual |
Gets whether or not a given NBDDC group is enabled.
| index | NBDDC group index number. |
Definition at line 2213 of file RadioHandler.cpp.
|
virtual |
Gets whether a given transmitter is enabled.
| index | Transmitter index. |
Definition at line 1463 of file RadioHandler.cpp.
|
virtual |
Gets whether or not a given tuner is enabled.
| index | The tuner index number. |
Definition at line 823 of file RadioHandler.cpp.
|
virtual |
Gets whether or not a given WBDDC is enabled.
| index | WBDDC index number. |
Definition at line 994 of file RadioHandler.cpp.
|
virtual |
Gets whether or not a given WBDDC group is enabled.
| index | WBDDC group index number. |
Definition at line 2123 of file RadioHandler.cpp.
|
virtual |
Gets whether the WBDDCs on this radio support selecting their tuner source.
Definition at line 940 of file RadioHandler.cpp.
|
virtual |
Gets whether the WBDDCs on this radio are tunable.
Definition at line 931 of file RadioHandler.cpp.
|
virtual |
Load a snapshot file into a given DUC's memory block.
Snapshot files contain 16-bit complex I/Q data samples.
| index | The DUC index number. |
| filename | Snapshot file name. The snapshot file needs to be present on the radio. |
| startSample | Starting address in DUC's memory block. Must be a multiple of 1024. |
| samples | Number of I/Q samples to load. Must be a multiple of 16. If specified as 0, load the maximum number of samples from the file. |
Definition at line 2079 of file RadioHandler.cpp.
|
protectedvirtualinherited |
Normalizes a Boolean string value.
Definition at line 241 of file Configurable.cpp.
|
protectedvirtualinherited |
Normalizes an incoming configuration dictionary.
"Normalizing" a configuration dictionary replaces certain strings representing Boolean values ("yes", "on", "true", "no", "off", and "false", case is irrelevant) with standard values ("0" and "1").
Definition at line 232 of file Configurable.cpp.
|
virtual |
Assignment operator for RadioHandler objects.
| other | The RadioHandler object to copy. |
Definition at line 197 of file RadioHandler.cpp.
|
virtualinherited |
Gets a "raw" string representation of a given data string.
"Raw" string representations mimic Python string representations. Whitespace characters are denoted by backslash representations ("\\r", "\\n", "\\t", "\\v", "\\f"), while other non-printable characters are represented with hex representation ("\\x00", etc.)
| data | Data string |
Definition at line 143 of file Debuggable.cpp.
|
virtual |
Removes a NBDDC from the given NBDDC group.
| index | The NBDDC group index number. |
| member | NBDDC to remove. |
Definition at line 2281 of file RadioHandler.cpp.
|
virtual |
Removes a WBDDC from the given WBDDC group.
| index | The WBDDC group index number. |
| member | WBDDC to remove. |
Definition at line 2191 of file RadioHandler.cpp.
|
virtual |
Sends a command to the radio.
| cmdString | The command string. |
| timeout | Timeout value (seconds). If this is -1, use the transport's default timeout. |
Definition at line 307 of file RadioHandler.cpp.
|
virtual |
Resets the radio.
| resetType | The type of reset to perform. Varies by radio. |
Definition at line 468 of file RadioHandler.cpp.
|
virtual |
Sets the reference bypass mode on the radio.
| mode | An integer indicating the bypass mode to set. Valid bypass mode numbers vary by radio. |
Definition at line 569 of file RadioHandler.cpp.
|
virtual |
Sets the calibration frequency.
| freq | The new calibration frequency, in MHz. A value of 0 turns off the calibration function. |
Definition at line 667 of file RadioHandler.cpp.
|
virtual |
Sets the configuration dictionary for this object.
This method is intended to allow users to change the object's settings based on the configuration dictionary. It should not be used to set configuration dictionary elements that the object does not use.
| cfg | The configuration dictionary. |
Reimplemented from Configurable.
Definition at line 394 of file RadioHandler.cpp.
|
virtualinherited |
Sets a named configuration value to a string.
| key | The key string in the configuration dictionary. |
| value | The new value. |
Definition at line 177 of file Configurable.cpp.
|
virtualinherited |
Sets a named configuration value to a Boolean.
| key | The key string in the configuration dictionary. |
| value | The new value. |
Definition at line 193 of file Configurable.cpp.
|
virtualinherited |
Sets a named configuration value to a double value.
| key | The key string in the configuration dictionary. |
| value | The new value. |
Definition at line 211 of file Configurable.cpp.
|
virtualinherited |
Sets a named configuration value to an integer value.
| key | The key string in the configuration dictionary. |
| value | The new value. |
Definition at line 199 of file Configurable.cpp.
|
virtualinherited |
Sets a named configuration value to an unsigned integer value.
| key | The key string in the configuration dictionary. |
| value | The new value. |
Definition at line 205 of file Configurable.cpp.
|
virtual |
Sets the configuration dictionary for a given data port.
| index | Data port index number. |
| cfg | The configuration dictionary. |
Definition at line 2332 of file RadioHandler.cpp.
|
virtual |
Sets the VITA stream ID for a given entry in the destination IP table on a given data port.
| index | Data port index number. |
| dipIndex | Index number for the entry in the DIP table. |
| destPort | The destination UDP port number. |
Definition at line 2453 of file RadioHandler.cpp.
|
virtual |
Sets the destination table information for a given entry in the DIP table on a given data port.
| index | Data port index number. |
| dipIndex | Index number for the entry in the DIP table. |
| ipAddr | The IP address. |
| macAddr | The MAC address. |
| sourcePort | The source UDP port number. |
| destPort | The destination UDP port number. |
Definition at line 2463 of file RadioHandler.cpp.
|
virtual |
Sets the IP address for a given entry in the destination IP table on a given data port.
| index | Data port index number. |
| dipIndex | Index number for the entry in the DIP table. |
| ipAddr | The new IP address. |
Definition at line 2415 of file RadioHandler.cpp.
|
virtual |
Sets the MAC address for a given entry in the destination IP table on a given data port.
| index | Data port index number. |
| dipIndex | Index number for the entry in the DIP table. |
| macAddr | The new MAC address. |
Definition at line 2396 of file RadioHandler.cpp.
|
virtual |
Sets the UDP port number for a given entry in the destination IP table on a given data port.
| index | Data port index number. |
| dipIndex | Index number for the entry in the DIP table. |
| sourcePort | The source UDP port number. |
Definition at line 2434 of file RadioHandler.cpp.
|
virtual |
Sets the source IP address for a given data port.
| index | Data port index number. |
| ipAddr | The new source IP address. |
Definition at line 2350 of file RadioHandler.cpp.
|
virtualinherited |
Sets the debug file pointer for this object.
| debug_fp | File to send debug output to. |
Definition at line 81 of file Debuggable.cpp.
|
virtualinherited |
Sets the debug name for this object.
Use this method to set unique debug names for objects of the same class for easy differentiation.
| debug_name | Name for identifying this object in debug output. |
Definition at line 74 of file Debuggable.cpp.
|
virtualinherited |
Sets the debug time format for this object.
| debug_timefmt | Format string for displaying timestamp, as compatible with strftime(). If this is an empty string, don't display a timestamp. |
Definition at line 88 of file Debuggable.cpp.
|
virtual |
Sets the attenuation for a given DUC.
| index | The DUC index number. |
| atten | The new attenuation (dB). |
Definition at line 1980 of file RadioHandler.cpp.
|
virtual |
Sets the configuration dictionary for a given DUC.
| index | The DUC index number. |
| cfg | The component configuration dictionary. |
Definition at line 1899 of file RadioHandler.cpp.
|
virtual |
Sets the data port for a given DUC.
| index | The DUC index number. |
| port | The new data port. Setting this to 0 disables streaming. |
Definition at line 1917 of file RadioHandler.cpp.
|
virtual |
Sets the tuned frequency for a given DUC.
| index | The DUC index number. |
| freq | The new tuned frequency (Hz). |
Definition at line 1935 of file RadioHandler.cpp.
|
virtual |
Sets the mode for a given DUC.
| index | The DUC index number. |
| mode | The new mode. This is either 0 (streaming) or 1 (playback). |
Definition at line 2052 of file RadioHandler.cpp.
|
virtual |
Sets the rate index for a given DUC.
| index | The DUC index number. |
| rateIndex | The new rate index. |
Definition at line 2016 of file RadioHandler.cpp.
|
virtual |
Sets the VITA 49 stream ID for a given DUC.
| index | The DUC index number. |
| sid | The new stream ID. |
Definition at line 2070 of file RadioHandler.cpp.
|
virtual |
Sets the transmit channel bitmap for a given DUC.
| index | The DUC index number. |
| txChannels | Bitmap indicating which transmitters output the signal from this DUC. Setting a bit position to 1 enables transmit on the associated transmitter. The LSB corresponds to TX 1, and each succeeding bit corresponds to the other transmitters. |
Definition at line 2034 of file RadioHandler.cpp.
|
virtual |
Sets the current GPIO output bits.
| value | The GPIO output value, as an integer bitmask. |
Definition at line 640 of file RadioHandler.cpp.
|
virtual |
Sets the GPIO output settings for a given sequence index.
| index | The GPIO sequence index. |
| value | The GPIO output value, as an integer bitmask. |
| duration | The duration for that value, as a number of ADC clock cycles. |
| loop | Whether the sequence loops back to the beginning after this step (1) or not (0). |
| go | Whether to execute the sequence (1) or not (0). |
Definition at line 649 of file RadioHandler.cpp.
|
virtualinherited |
Sets the name of the configurable object.
| name | The new name. |
Definition at line 88 of file Configurable.cpp.
|
virtual |
Sets the configuration dictionary for a given NBDDC.
| index | NBDDC index number. |
| cfg | The configuration dictionary. |
Definition at line 1260 of file RadioHandler.cpp.
|
virtual |
Sets the data port for a given NBDDC.
| index | NBDDC index number. |
| port | The new data port. |
Definition at line 1386 of file RadioHandler.cpp.
|
virtual |
Sets the tuned frequency for a given NBDDC.
| index | NBDDC index number. |
| freq | The new tuned frequency (Hz). |
Definition at line 1278 of file RadioHandler.cpp.
|
virtual |
Sets the configuration dictionary for a given NBDDC group.
| index | The NBDDC group index number. |
| cfg | The component configuration dictionary. |
Definition at line 2245 of file RadioHandler.cpp.
|
virtual |
Sets the list of group members for a given NBDDC group.
| index | The NBDDC group index number. |
| groupMembers | List of NBDDC group members. |
Definition at line 2263 of file RadioHandler.cpp.
|
virtual |
Sets the rate index for a given NBDDC.
| index | NBDDC index number. |
| rateIndex | The new rate index. |
Definition at line 1314 of file RadioHandler.cpp.
|
virtual |
Sets the rate set for a given NBDDC.
| index | NBDDC index number. |
| set | The new rate set. |
Definition at line 1395 of file RadioHandler.cpp.
|
virtual |
Sets the source (which tuner is supplying the signal) for a given NBDDC.
| index | NBDDC index number. |
| source | The new NBDDC source index. |
Definition at line 1296 of file RadioHandler.cpp.
|
virtual |
Sets the VITA 49 stream ID for a given NBDDC.
| index | NBDDC index number. |
| sid | The new stream ID. |
Definition at line 1368 of file RadioHandler.cpp.
|
virtual |
Sets the UDP destination for a given NBDDC.
| index | NBDDC index number. |
| dest | The new UDP destination. |
Definition at line 1332 of file RadioHandler.cpp.
|
virtual |
Sets the VITA 49 setting for a given NBDDC.
| index | NBDDC index number. |
| enable | The new VITA 49 setting. |
Definition at line 1350 of file RadioHandler.cpp.
|
virtual |
Sets the reference mode on the radio.
| mode | An integer indicating the reference mode to set. Valid reference mode numbers vary by radio. |
Definition at line 562 of file RadioHandler.cpp.
|
virtual |
Sets the destination IP address for radios without 10Gig data ports.
| ipAddr | The IP address [string] |
Definition at line 2534 of file RadioHandler.cpp.
|
virtual |
Sets the destination MAC address for radios without 10Gig data ports.
| macAddr | The MAC address [string] |
Definition at line 2522 of file RadioHandler.cpp.
|
virtual |
Sets the "simple" IP configuration dictionary for radios without 10Gig data ports.
| cfg | The configuration dictionary. |
Definition at line 2488 of file RadioHandler.cpp.
|
virtual |
Sets the source IP address for radios without 10Gig data ports.
| ipAddr | The IP address [string] |
Definition at line 2510 of file RadioHandler.cpp.
|
virtual |
Sets flow control status on all 10GigE data ports.
| enable | True if flow control should be enabled, false if not. |
Definition at line 2300 of file RadioHandler.cpp.
|
virtual |
Sets the time adjustment for tuners on the radio.
| tunerIndex | Tuner index number. |
| timeAdjustValue | Time adjustment value. |
Definition at line 576 of file RadioHandler.cpp.
|
virtual |
Sets the time for the next PPS rising edge on the radio.
| checkTime | Whether to check that the set time is the time we wanted. |
| useGpsTime | Whether to use the radio's GPS time for this. |
Definition at line 478 of file RadioHandler.cpp.
|
virtual |
Sets the attenuation for a given transmitter.
| index | Transmitter index. |
| atten | The new attenuation, in dB. |
Definition at line 1513 of file RadioHandler.cpp.
|
virtual |
Sets the configuration dictionary for a given transmitter.
| index | Transmitter index number. |
| cfg | The configuration dictionary. |
Definition at line 1531 of file RadioHandler.cpp.
|
virtual |
Sets the signal amplitude for a given CW tone generator.
| index | Transmitter index. |
| cwIndex | CW tone generator index. |
| amp | The new signal amplitude (scale units). |
Definition at line 1763 of file RadioHandler.cpp.
|
virtual |
Sets the configuration dictionary for a given CW tone generator.
| index | Transmitter index. |
| cwIndex | CW tone generator index. |
| cfg | The component configuration dictionary. |
Definition at line 1726 of file RadioHandler.cpp.
|
virtual |
Sets the constant frequency for a given CW tone generator.
| index | Transmitter index. |
| cwIndex | CW tone generator index. |
| freq | The new constant frequency (Hz). |
Definition at line 1745 of file RadioHandler.cpp.
|
virtual |
Sets the parameters for a frequency sweep for a given CW tone generator.
| index | Transmitter index. |
| cwIndex | CW tone generator index. |
| start | The new start frequency (Hz). |
| stop | The new stop frequency (Hz). |
| step | The new frequency step (Hz). |
| dwell | The new dwell time (ADC samples). |
Definition at line 1835 of file RadioHandler.cpp.
|
virtual |
Sets the signal phase for a given CW tone generator.
| index | Transmitter index. |
| cwIndex | CW tone generator index. |
| phase | The new signal phase (degrees). |
Definition at line 1781 of file RadioHandler.cpp.
|
virtual |
Sets the frequency for a given transmitter.
| index | Transmitter index. |
| freq | The new transmitter frequency, in Hz. |
Definition at line 1495 of file RadioHandler.cpp.
|
virtual |
Sets the attenuation for a given tuner.
| index | The tuner index number. |
| atten | The new attenuation (dB). |
Definition at line 873 of file RadioHandler.cpp.
|
virtual |
Sets the configuration dictionary for a given tuner.
| index | The tuner index number. |
| cfg | The configuration dictionary. |
Definition at line 909 of file RadioHandler.cpp.
|
virtual |
Sets the filter setting for a given tuner.
| index | The tuner index number. |
| filter | The new filter setting. |
Definition at line 891 of file RadioHandler.cpp.
|
virtual |
Sets the tuned frequency for a given tuner.
| index | The tuner index number. |
| freq | The new tuned frequency (Hz). |
Definition at line 855 of file RadioHandler.cpp.
|
virtual |
Sets the configuration dictionary for a given WBDDC.
| index | WBDDC index number. |
| cfg | The configuration dictionary. |
Definition at line 1161 of file RadioHandler.cpp.
|
virtual |
Sets the data port for a given WBDDC.
| index | WBDDC index number. |
| port | The new data port. |
Definition at line 1134 of file RadioHandler.cpp.
|
virtual |
Sets the tuned frequency for a given WBDDC.
| index | WBDDC index number. |
| freq | The new tuned frequency (Hz). |
Definition at line 1026 of file RadioHandler.cpp.
|
virtual |
Sets the configuration dictionary for a given WBDDC group.
| index | The WBDDC group index number. |
| cfg | The component configuration dictionary. |
Definition at line 2155 of file RadioHandler.cpp.
|
virtual |
Sets the list of group members for a given WBDDC group.
| index | The WBDDC group index number. |
| groupMembers | List of WBDDC group members. |
Definition at line 2173 of file RadioHandler.cpp.
|
virtual |
Sets the rate index for a given WBDDC.
| index | WBDDC index number. |
| rateIndex | The new rate index. |
Definition at line 1062 of file RadioHandler.cpp.
|
virtual |
Sets the rate set for a given WBDDC.
| index | WBDDC index number. |
| set | The new rate set. |
Definition at line 1143 of file RadioHandler.cpp.
|
virtual |
Sets the source (which tuner is supplying the signal) for a given WBDDC.
| index | WBDDC index number. |
| source | The new WBDDC source index. |
Definition at line 1044 of file RadioHandler.cpp.
|
virtual |
Sets the VITA 49 stream ID for a given WBDDC.
| index | WBDDC index number. |
| sid | The new stream ID. |
Definition at line 1116 of file RadioHandler.cpp.
|
virtual |
Sets the UDP destination for a given WBDDC.
| index | WBDDC index number. |
| dest | The new UDP destination. |
Definition at line 1080 of file RadioHandler.cpp.
|
virtual |
Sets the VITA 49 setting for a given WBDDC.
| index | WBDDC index number. |
| enable | The new VITA 49 setting. |
Definition at line 1098 of file RadioHandler.cpp.
|
virtual |
Gets whether transmitters support continuous-wave (CW) tone generation.
Definition at line 1540 of file RadioHandler.cpp.
|
virtual |
Gets whether the transmitter supports CW tone sweeping.
Definition at line 1621 of file RadioHandler.cpp.
|
virtual |
Gets whether or not a given CW tone generator supports signal sweeps.
| index | Transmitter index. |
| cwIndex | CW tone generator index. |
Definition at line 1790 of file RadioHandler.cpp.
|
protectedvirtual |
Updates the configuration dictionary from object settings.
Derived classes should use this method to convert the object's configurable settings into a configuration dictionary.
Reimplemented from Configurable.
Definition at line 2561 of file RadioHandler.cpp.