57 virtual void SetMuxPath(
size_t dstchan,
size_t srcchan) =0;
All warnings generated by a configuration we're in the process of loading.
Definition: ConfigWarningList.h:90
Bidirectional table mapping integer IDs in scopesession files to object pointers.
Definition: IDTable.h:49
An arbitrary lab instrument. Oscilloscope, LA, PSU, DMM, etc.
Definition: Instrument.h:58
Base class for switch matrixes.
Definition: SwitchMatrix.h:47
void DoLoadConfiguration(int version, const YAML::Node &node, IDTable &idmap)
Load instrument and channel configuration from a save file.
Definition: SwitchMatrix.cpp:211
virtual bool MuxHasConfigurableDrive(size_t dstchan)=0
Checks if an output channel has configurable voltage level.
virtual unsigned int GetInstrumentTypes() const override
Returns a bitfield describing the set of instrument types that this instrument supports.
Definition: SwitchMatrix.cpp:55
void DoPreLoadConfiguration(int version, const YAML::Node &node, IDTable &idmap, ConfigWarningList &list)
Validate instrument and channel configuration from a save file.
Definition: SwitchMatrix.cpp:120
virtual void SetMuxOutputDrive(size_t dstchan, float v)=0
Sets the drive level of an output channel.
virtual bool MuxHasConfigurableThreshold(size_t dstchan)=0
Checks if an input channel has configurable voltage level.
virtual void SetMuxPathOpen(size_t dstchan)=0
Removes a mux path for an output channel.
void DoSerializeConfiguration(YAML::Node &node, IDTable &table)
Serializes this oscilloscope's configuration to a YAML node.
Definition: SwitchMatrix.cpp:63
virtual void SetMuxPath(size_t dstchan, size_t srcchan)=0
Sets the mux selector for an output channel.
virtual float GetMuxInputThreshold(size_t dstchan)=0
Gets the threshold level of an input channel.
virtual void SetMuxInputThreshold(size_t dstchan, float v)=0
Sets the threshold level of an input channel.
virtual float GetMuxOutputDrive(size_t dstchan)=0
Gets the drive level of an output channel.