|
| | ControlSetRelays (bool ch1Below1V=false, bool ch1Below100mV=false, bool ch1CouplingDC=false, bool ch2Below1V=false, bool ch2Below100mV=false, bool ch2CouplingDC=false, bool triggerExt=false) |
| | Sets all relay states. More...
|
| |
| bool | getBelow1V (ChannelID channel) |
| | Get the below 1 V relay state for the given channel. More...
|
| |
| void | setBelow1V (ChannelID channel, bool below) |
| | Set the below 1 V relay for the given channel. More...
|
| |
| bool | getBelow100mV (ChannelID channel) |
| | Get the below 1 V relay state for the given channel. More...
|
| |
| void | setBelow100mV (ChannelID channel, bool below) |
| | Set the below 100 mV relay for the given channel. More...
|
| |
| bool | getCoupling (ChannelID channel) |
| | Get the coupling relay state for the given channel. More...
|
| |
| void | setCoupling (ChannelID channel, bool dc) |
| | Set the coupling relay for the given channel. More...
|
| |
| bool | getTrigger () |
| | Get the external trigger relay state. More...
|
| |
| void | setTrigger (bool ext) |
| | Set the external trigger relay. More...
|
| |
|
Data Fields inherited from ControlCommand |
|
bool | pending = false |
| |
|
uint8_t | code |
| |
|
uint8_t | value = 0 |
| |
|
ControlCommand * | next = nullptr |
| |
Protected Member Functions inherited from ControlCommand |
|
| ControlCommand (Hantek::ControlCode code, unsigned size) |
| |
◆ ControlSetRelays()
| Hantek::ControlSetRelays::ControlSetRelays |
( |
bool |
ch1Below1V = false, |
|
|
bool |
ch1Below100mV = false, |
|
|
bool |
ch1CouplingDC = false, |
|
|
bool |
ch2Below1V = false, |
|
|
bool |
ch2Below100mV = false, |
|
|
bool |
ch2CouplingDC = false, |
|
|
bool |
triggerExt = false |
|
) |
| |
Sets all relay states.
- Parameters
-
| ch1Below1V | Sets the state of the Channel 1 below 1 V relay. |
| ch1Below100mV | Sets the state of the Channel 1 below 100 mV relay. |
| ch1CouplingDC | Sets the state of the Channel 1 coupling relay. |
| ch2Below1V | Sets the state of the Channel 2 below 1 V relay. |
| ch2Below100mV | Sets the state of the Channel 2 below 100 mV relay. |
| ch2CouplingDC | Sets the state of the Channel 2 coupling relay. |
| triggerExt | Sets the state of the external trigger relay. |
◆ getBelow100mV()
| bool Hantek::ControlSetRelays::getBelow100mV |
( |
ChannelID |
channel | ) |
|
Get the below 1 V relay state for the given channel.
- Parameters
-
| channel | The channel whose relay state should be returned. |
- Returns
- true, if the gain of the channel is below 1 V.
◆ getBelow1V()
| bool Hantek::ControlSetRelays::getBelow1V |
( |
ChannelID |
channel | ) |
|
Get the below 1 V relay state for the given channel.
- Parameters
-
| channel | The channel whose relay state should be returned. |
- Returns
- true, if the gain of the channel is below 1 V.
◆ getCoupling()
| bool Hantek::ControlSetRelays::getCoupling |
( |
ChannelID |
channel | ) |
|
Get the coupling relay state for the given channel.
- Parameters
-
| channel | The channel whose relay state should be returned. |
- Returns
- true, if the coupling of the channel is DC.
◆ getTrigger()
| bool Hantek::ControlSetRelays::getTrigger |
( |
| ) |
|
Get the external trigger relay state.
- Returns
- true, if the trigger is external (EXT-Connector).
◆ setBelow100mV()
| void Hantek::ControlSetRelays::setBelow100mV |
( |
ChannelID |
channel, |
|
|
bool |
below |
|
) |
| |
Set the below 100 mV relay for the given channel.
- Parameters
-
| channel | The channel that should be set. |
| below | true, if the gain of the channel should be below 100 mV. |
◆ setBelow1V()
| void Hantek::ControlSetRelays::setBelow1V |
( |
ChannelID |
channel, |
|
|
bool |
below |
|
) |
| |
Set the below 1 V relay for the given channel.
- Parameters
-
| channel | The channel that should be set. |
| below | true, if the gain of the channel should be below 1 V. |
◆ setCoupling()
| void Hantek::ControlSetRelays::setCoupling |
( |
ChannelID |
channel, |
|
|
bool |
dc |
|
) |
| |
Set the coupling relay for the given channel.
- Parameters
-
| channel | The channel that should be set. |
| dc | true, if the coupling of the channel should be DC. |
◆ setTrigger()
| void Hantek::ControlSetRelays::setTrigger |
( |
bool |
ext | ) |
|
Set the external trigger relay.
- Parameters
-
| ext | true, if the trigger should be external (EXT-Connector). |
The documentation for this struct was generated from the following files: