The BULK::SETFILTER builder.
More...
#include <bulkStructs.h>
|
|
| BulkSetFilter () |
| | Sets the data array to the default values.
|
| |
| | BulkSetFilter (bool channel1, bool channel2, bool trigger) |
| | Sets the FilterByte to the given value. More...
|
| |
| bool | getChannel (ChannelID channel) |
| | Gets the filtering state of one channel. More...
|
| |
| void | setChannel (ChannelID channel, bool filtered) |
| | Enables/disables filtering of one channel. More...
|
| |
| bool | getTrigger () |
| | Gets the filtering state for the trigger. More...
|
| |
| void | setTrigger (bool filtered) |
| | Enables/disables filtering for the trigger. More...
|
| |
|
Data Fields inherited from BulkCommand |
|
Hantek::BulkCode | code |
| |
|
bool | pending = false |
| |
|
BulkCommand * | next = nullptr |
| |
Protected Member Functions inherited from BulkCommand |
|
| BulkCommand (Hantek::BulkCode code, unsigned size) |
| |
The BULK::SETFILTER builder.
◆ BulkSetFilter()
| Hantek::BulkSetFilter::BulkSetFilter |
( |
bool |
channel1, |
|
|
bool |
channel2, |
|
|
bool |
trigger |
|
) |
| |
Sets the FilterByte to the given value.
- Parameters
-
| channel1 | true if channel 1 is filtered. |
| channel2 | true if channel 2 is filtered. |
| trigger | true if trigger is filtered. |
◆ getChannel()
| bool Hantek::BulkSetFilter::getChannel |
( |
ChannelID |
channel | ) |
|
Gets the filtering state of one channel.
- Parameters
-
| channel | The channel whose filtering state should be returned. |
- Returns
- The filtering state of the channel.
◆ getTrigger()
| bool Hantek::BulkSetFilter::getTrigger |
( |
| ) |
|
Gets the filtering state for the trigger.
- Returns
- The filtering state of the trigger.
◆ setChannel()
| void Hantek::BulkSetFilter::setChannel |
( |
ChannelID |
channel, |
|
|
bool |
filtered |
|
) |
| |
Enables/disables filtering of one channel.
- Parameters
-
| channel | The channel that should be set. |
| filtered | true if the channel should be filtered. |
◆ setTrigger()
| void Hantek::BulkSetFilter::setTrigger |
( |
bool |
filtered | ) |
|
Enables/disables filtering for the trigger.
- Parameters
-
| filtered | true if the trigger should be filtered. |
The documentation for this class was generated from the following files: