|
virtual void | libm2k::analog::M2kAnalogIn::startAcquisition (unsigned int nb_samples)=0 |
| Create the buffer for both channels and start the acquisition. More...
|
|
virtual void | libm2k::analog::M2kAnalogIn::stopAcquisition ()=0 |
| Destroy the buffer and stop the acquisition.
|
|
virtual std::vector< std::vector< double > > | libm2k::analog::M2kAnalogIn::getSamples (unsigned int nb_samples)=0 |
| Retrieve a specific number of samples from each channel. More...
|
|
virtual std::vector< std::vector< double > > | libm2k::analog::M2kAnalogIn::getSamplesRaw (unsigned int nb_samples)=0 |
| Retrieve a specific number of raw samples from each channel. More...
|
|
virtual const double * | libm2k::analog::M2kAnalogIn::getSamplesInterleaved (unsigned int nb_samples_per_channel)=0 |
| Retrieve a specific number of samples from each channel. More...
|
|
virtual const short * | libm2k::analog::M2kAnalogIn::getSamplesRawInterleaved (unsigned int nb_samples_per_channel)=0 |
| Retrieve a specific number of raw samples from each channel. More...
|
|
virtual const double * | libm2k::analog::M2kAnalogIn::getSamplesInterleaved_matlab (unsigned int nb_samples)=0 |
| Retrieve a specific number of samples from both channels. More...
|
|
virtual const short * | libm2k::analog::M2kAnalogIn::getSamplesRawInterleaved_matlab (unsigned int nb_samples)=0 |
| Retrieve a specific number of raw samples from both channels. More...
|
|
virtual short | libm2k::analog::M2kAnalogIn::getVoltageRaw (unsigned int ch)=0 |
| Retrieve the average raw value of the given channel. More...
|
|
virtual double | libm2k::analog::M2kAnalogIn::getVoltage (unsigned int ch)=0 |
| Retrieve the average voltage of the given channel. More...
|
|
virtual short | libm2k::analog::M2kAnalogIn::getVoltageRaw (libm2k::analog::ANALOG_IN_CHANNEL ch)=0 |
| Retrieve the average raw value of the given channel. More...
|
|
virtual double | libm2k::analog::M2kAnalogIn::getVoltage (libm2k::analog::ANALOG_IN_CHANNEL ch)=0 |
| Retrieve the average voltage of the given channel. More...
|
|
virtual std::vector< short > | libm2k::analog::M2kAnalogIn::getVoltageRaw ()=0 |
| Retrieve the average raw value for each channel. More...
|
|
virtual std::vector< double > | libm2k::analog::M2kAnalogIn::getVoltage ()=0 |
| Retrieve the average voltage for each channel. More...
|
|
virtual const short * | libm2k::analog::M2kAnalogIn::getVoltageRawP ()=0 |
| Retrieve the average raw value for both channels. More...
|
|
virtual const double * | libm2k::analog::M2kAnalogIn::getVoltageP ()=0 |
| Retrieve the average voltage for both channels. More...
|
|
virtual void | libm2k::analog::M2kAnalogIn::setVerticalOffset (ANALOG_IN_CHANNEL channel, double vertOffset)=0 |
| Set the vertical offset, in Volts, of a specific channel. More...
|
|
virtual double | libm2k::analog::M2kAnalogIn::getVerticalOffset (ANALOG_IN_CHANNEL channel)=0 |
| getVerticalOffset More...
|
|
virtual double | libm2k::analog::M2kAnalogIn::getScalingFactor (libm2k::analog::ANALOG_IN_CHANNEL ch)=0 |
| Retrieve the scaling factor. More...
|
|
virtual void | libm2k::analog::M2kAnalogIn::setRange (ANALOG_IN_CHANNEL channel, M2K_RANGE range)=0 |
| Set the range for the given channel. More...
|
|
virtual void | libm2k::analog::M2kAnalogIn::setRange (ANALOG_IN_CHANNEL channel, double min, double max)=0 |
| Set the range for the given channel. More...
|
|
virtual libm2k::analog::M2K_RANGE | libm2k::analog::M2kAnalogIn::getRange (libm2k::analog::ANALOG_IN_CHANNEL channel)=0 |
| Retrieve the range for the given channel. More...
|
|
virtual std::pair< double, double > | libm2k::analog::M2kAnalogIn::getRangeLimits (libm2k::analog::M2K_RANGE range)=0 |
| Retrieve the bounds for the given range. More...
|
|
virtual std::vector< std::pair< std::string, std::pair< double, double > > > | libm2k::analog::M2kAnalogIn::getAvailableRanges ()=0 |
| Retrieve all ranges that are available. More...
|
|
virtual int | libm2k::analog::M2kAnalogIn::getOversamplingRatio ()=0 |
| Retrieve the global oversampling ratio. More...
|
|
virtual int | libm2k::analog::M2kAnalogIn::getOversamplingRatio (unsigned int chn_idx)=0 |
| Retrieve the oversampling ratio for the given channel. More...
|
|
virtual int | libm2k::analog::M2kAnalogIn::setOversamplingRatio (int oversampling)=0 |
| Set the global oversampling ratio. More...
|
|
virtual int | libm2k::analog::M2kAnalogIn::setOversamplingRatio (unsigned int chn_idx, int oversampling)=0 |
| Set the oversampling ratio for the given channel. More...
|
|
virtual double | libm2k::analog::M2kAnalogIn::getSampleRate ()=0 |
| Retrieve the global sample rate. More...
|
|
virtual std::vector< double > | libm2k::analog::M2kAnalogIn::getAvailableSampleRates ()=0 |
| getAvailableSampleRates More...
|
|
virtual double | libm2k::analog::M2kAnalogIn::setSampleRate (double samplerate)=0 |
| Set the global sample rate. More...
|
|
virtual std::pair< double, double > | libm2k::analog::M2kAnalogIn::getHysteresisRange (ANALOG_IN_CHANNEL chn)=0 |
| Retrieve the bounds of the analogical trigger's hysteresis for the given channel. More...
|
|
virtual double | libm2k::analog::M2kAnalogIn::getFilterCompensation (double samplerate)=0 |
| Retrieve the filter compensation for the given sample rate. More...
|
|
virtual double | libm2k::analog::M2kAnalogIn::getValueForRange (M2K_RANGE range)=0 |
| Retrieve the numeric value corresponding to the given range. More...
|
|
virtual double | libm2k::analog::M2kAnalogIn::convertRawToVolts (unsigned int channel, short raw)=0 |
| Convert the raw value of a sample into volts. More...
|
|
virtual short | libm2k::analog::M2kAnalogIn::convertVoltsToRaw (unsigned int channel, double voltage)=0 |
| Convert the voltage value of a sample into raw. More...
|
|
virtual unsigned int | libm2k::analog::M2kAnalogIn::getNbChannels ()=0 |
| Retrieve the number of analogical channels. More...
|
|
virtual std::string | libm2k::analog::M2kAnalogIn::getName ()=0 |
| Retrieve the name of the device. More...
|
|
virtual void | libm2k::analog::M2kAnalogIn::enableChannel (unsigned int chnIdx, bool enable)=0 |
| Enable or disable the given channel. More...
|
|
virtual bool | libm2k::analog::M2kAnalogIn::isChannelEnabled (unsigned int chnIdx)=0 |
| Retrieve the state of the given channel. More...
|
|
virtual void | libm2k::analog::M2kAnalogIn::cancelAcquisition ()=0 |
| Cancel all buffer operations. More...
|
|
virtual void | libm2k::analog::M2kAnalogIn::setKernelBuffersCount (unsigned int count)=0 |
| Set the kernel buffers to a specific value. More...
|
|
virtual unsigned int | libm2k::analog::M2kAnalogIn::getKernelBuffersCount () const =0 |
| Get the number of kernel buffers. More...
|
|
virtual libm2k::M2kHardwareTrigger * | libm2k::analog::M2kAnalogIn::getTrigger ()=0 |
| Get the hardware trigger handler. More...
|
|
virtual struct IIO_OBJECTS | libm2k::analog::M2kAnalogIn::getIioObjects ()=0 |
| Get access to IIO channels, buffers, devices and context. Can be used when debugging directly with libiio. More...
|
|
virtual void | libm2k::analog::M2kAnalogIn::getSamples (std::vector< std::vector< double >> &data, unsigned int nb_samples)=0 |
| Retrieve a specific number of samples from each channel. More...
|
|
virtual std::string | libm2k::analog::M2kAnalogIn::getChannelName (unsigned int channel)=0 |
| Get the channel name for each ADC channel. More...
|
|
virtual double | libm2k::analog::M2kAnalogIn::getMaximumSamplerate ()=0 |
| Get the maximum samplerate for the ADC. More...
|
|
Contains the representation of the analogical input segment.