11#include "definitions.h"
13#include "bulkcommand.h"
24 void setChannel(ChannelID channel,
bool filtered);
37 uint8_t recordLength = 0, uint8_t samplerateId = 0,
bool downsamplingMode =
true,
38 uint8_t usedChannels = 0,
bool fastRate =
false, uint8_t triggerSlope = 0);
108 uint8_t
getGain(ChannelID channel);
109 void setGain(ChannelID channel, uint8_t value);
194 BulkSetBuffer5200(uint16_t triggerPositionPre, uint16_t triggerPositionPost, DTriggerPositionUsed usedPre = DTriggerPositionUsed::OFF,
195 DTriggerPositionUsed usedPost = DTriggerPositionUsed::OFF, uint8_t recordLength = 0);
233 BulkSetTrigger5200(uint8_t triggerSource, uint8_t usedChannels,
bool fastRate =
false, uint8_t triggerSlope = 0,
234 uint8_t triggerPulse = 0);
Definition bulkcommand.h:12
The BULK_CAPTURESTART builder.
Definition bulkStructs.h:70
BulkCaptureStart()
Sets the data array to needed values.
Definition bulkStructs.cpp:209
The BulkCode::FORCETRIGGER builder.
Definition bulkStructs.h:64
BulkForceTrigger()
Sets the data array to needed values.
Definition bulkStructs.cpp:204
The BulkCode::GETCAPTURESTATE builder.
Definition bulkStructs.h:88
BulkGetCaptureState()
Sets the data array to needed values.
Definition bulkStructs.cpp:224
The BulkCode::GETDATA builder.
Definition bulkStructs.h:82
BulkGetData()
Sets the data array to needed values.
Definition bulkStructs.cpp:219
The BulkCode::GETLOGICALDATA builder.
Definition bulkStructs.h:129
BulkGetLogicalData()
Sets the data array to needed values.
Definition bulkStructs.cpp:308
The parser for the BulkCode::GETCAPTURESTATE response.
Definition bulkStructs.h:94
CaptureState getCaptureState()
Gets the capture state.
Definition bulkStructs.cpp:233
BulkResponseGetCaptureState()
Initializes the array.
Definition bulkStructs.cpp:229
unsigned int getTriggerPoint()
Gets the trigger point.
Definition bulkStructs.cpp:237
The DSO-2250 BulkCode::FSETBUFFER builder.
Definition bulkStructs.h:252
void setTriggerPositionPre(uint32_t value)
Set the TriggerPositionPre to the given value.
Definition bulkStructs.cpp:671
void setTriggerPositionPost(uint32_t value)
Set the TriggerPositionPost to the given value.
Definition bulkStructs.cpp:657
uint32_t getTriggerPositionPost()
Get the TriggerPositionPost value.
Definition bulkStructs.cpp:651
uint32_t getTriggerPositionPre()
Get the TriggerPositionPre value.
Definition bulkStructs.cpp:665
The DSO-5200/DSO-5200A BulkCode::DSETBUFFER builder.
Definition bulkStructs.h:191
void setTriggerPositionPre(uint16_t value)
Set the TriggerPositionPre to the given value.
Definition bulkStructs.cpp:462
uint16_t getTriggerPositionPost()
Get the TriggerPositionPost value.
Definition bulkStructs.cpp:469
void setTriggerPositionPost(uint16_t value)
Set the TriggerPositionPost to the given value.
Definition bulkStructs.cpp:475
uint16_t getTriggerPositionPre()
Get the TriggerPositionPre value.
Definition bulkStructs.cpp:456
void setRecordLength(uint8_t value)
Set the recordLength in DBufferBits to the given value.
Definition bulkStructs.cpp:502
BulkSetBuffer5200()
Sets the data array to the default values.
Definition bulkStructs.cpp:434
void setUsedPre(DTriggerPositionUsed value)
Set the TriggerPositionUsedPre to the given value.
Definition bulkStructs.cpp:486
void setUsedPost(DTriggerPositionUsed value)
Set the TriggerPositionUsedPost to the given value.
Definition bulkStructs.cpp:494
DTriggerPositionUsed getUsedPost()
Get the TriggerPositionUsedPost value.
Definition bulkStructs.cpp:490
uint8_t getUsedPre()
Get the TriggerPositionUsedPre value.
Definition bulkStructs.cpp:482
uint8_t getRecordLength()
Get the recordLength value in DBufferBits.
Definition bulkStructs.cpp:498
The DSO-2250 BULK_BSETFILTER builder.
Definition bulkStructs.h:135
void setUsedChannels(uint8_t value)
Set the UsedChannels to the given value.
Definition bulkStructs.cpp:329
uint8_t getUsedChannels()
Get the UsedChannels value.
Definition bulkStructs.cpp:325
BulkSetChannels2250()
Sets the data array to needed values.
Definition bulkStructs.cpp:313
The BULK::SETFILTER builder.
Definition bulkStructs.h:18
BulkSetFilter()
Sets the data array to the default values.
Definition bulkStructs.cpp:12
void setTrigger(bool filtered)
Enables/disables filtering for the trigger.
Definition bulkStructs.cpp:54
bool getChannel(ChannelID channel)
Gets the filtering state of one channel.
Definition bulkStructs.cpp:29
bool getTrigger()
Gets the filtering state for the trigger.
Definition bulkStructs.cpp:50
void setChannel(ChannelID channel, bool filtered)
Enables/disables filtering of one channel.
Definition bulkStructs.cpp:40
The BulkCode::SETGAIN builder.
Definition bulkStructs.h:103
BulkSetGain()
Sets the data array to needed values.
Definition bulkStructs.cpp:244
uint8_t getGain(ChannelID channel)
Get the gain for the given channel.
Definition bulkStructs.cpp:259
void setGain(ChannelID channel, uint8_t value)
Set the gain for the given channel.
Definition bulkStructs.cpp:270
The BulkCode::SETLOGICALDATA builder.
Definition bulkStructs.h:116
uint8_t getData()
Gets the data.
Definition bulkStructs.cpp:296
BulkSetLogicalData()
Sets the data array to needed values.
Definition bulkStructs.cpp:284
void setData(uint8_t data)
Sets the data to the given value.
Definition bulkStructs.cpp:300
The DSO-2250 BulkCode::DSETBUFFER builder.
Definition bulkStructs.h:178
void setRecordLength(uint8_t value)
Set the ::RecordLengthId to the given value.
Definition bulkStructs.cpp:426
uint8_t getRecordLength()
Get the ::RecordLengthId value.
Definition bulkStructs.cpp:422
BulkSetRecordLength2250()
Sets the data array to the default values.
Definition bulkStructs.cpp:410
The DSO-2250 BulkCode::ESETTRIGGERORSAMPLERATE builder.
Definition bulkStructs.h:213
uint16_t getSamplerate()
Get the Samplerate value.
Definition bulkStructs.cpp:551
void setFastRate(bool fastRate)
Set the fastRate in ESamplerateBits to the given state.
Definition bulkStructs.cpp:535
void setSamplerate(uint16_t samplerate)
Set the Samplerate to the given value.
Definition bulkStructs.cpp:555
bool getFastRate()
Get the fastRate state in ESamplerateBits.
Definition bulkStructs.cpp:531
bool getDownsampling()
Get the downsampling state in ESamplerateBits.
Definition bulkStructs.cpp:541
BulkSetSamplerate2250()
Sets the data array to the default values.
Definition bulkStructs.cpp:514
void setDownsampling(bool downsampling)
Set the downsampling in ESamplerateBits to the given state.
Definition bulkStructs.cpp:545
The DSO-5200/DSO-5200A BulkCode::CSETTRIGGERORSAMPLERATE builder.
Definition bulkStructs.h:163
uint16_t getSamplerateSlow()
Get the SamplerateSlow value.
Definition bulkStructs.cpp:393
BulkSetSamplerate5200()
Sets the data array to the default values.
Definition bulkStructs.cpp:371
void setSamplerateFast(uint8_t value)
Set the SamplerateFast to the given value.
Definition bulkStructs.cpp:389
uint8_t getSamplerateFast()
Get the SamplerateFast value.
Definition bulkStructs.cpp:385
void setSamplerateSlow(uint16_t samplerate)
Set the SamplerateSlow to the given value.
Definition bulkStructs.cpp:399
The DSO-2250 BulkCode::CSETTRIGGERORSAMPLERATE builder.
Definition bulkStructs.h:148
uint8_t getTriggerSource()
Get the triggerSource value in CTriggerBits.
Definition bulkStructs.cpp:351
uint8_t getTriggerSlope()
Get the triggerSlope value in CTriggerBits.
Definition bulkStructs.cpp:359
void setTriggerSource(uint8_t value)
Set the triggerSource in CTriggerBits to the given value.
Definition bulkStructs.cpp:355
void setTriggerSlope(uint8_t slope)
Set the triggerSlope in CTriggerBits to the given value.
Definition bulkStructs.cpp:363
BulkSetTrigger2250()
Sets the data array to needed values.
Definition bulkStructs.cpp:337
The DSO-5200/DSO-5200A BulkCode::ESETTRIGGERORSAMPLERATE builder.
Definition bulkStructs.h:230
uint8_t getUsedChannels()
Get the usedChannels value in ETsrBits.
Definition bulkStructs.cpp:596
uint8_t getTriggerSource()
Get the triggerSource value in ETsrBits.
Definition bulkStructs.cpp:588
void setFastRate(bool fastRate)
Set the fastRate in ETsrBits to the given state.
Definition bulkStructs.cpp:608
BulkSetTrigger5200()
Sets the data array to the default values.
Definition bulkStructs.cpp:566
bool getFastRate()
Get the fastRate state in ETsrBits.
Definition bulkStructs.cpp:604
void setUsedChannels(uint8_t value)
Set the usedChannels in ETsrBits to the given value.
Definition bulkStructs.cpp:600
void setTriggerSource(uint8_t value)
Set the triggerSource in ETsrBits to the given value.
Definition bulkStructs.cpp:592
void setTriggerPulse(bool pulse)
Set the triggerPulse in ETsrBits to the given state.
Definition bulkStructs.cpp:624
uint8_t getTriggerSlope()
Get the triggerSlope value in ETsrBits.
Definition bulkStructs.cpp:612
bool getTriggerPulse()
Get the triggerPulse state in ETsrBits.
Definition bulkStructs.cpp:620
void setTriggerSlope(uint8_t slope)
Set the triggerSlope in ETsrBits to the given value.
Definition bulkStructs.cpp:616
The BulkCode::SETTRIGGERANDSAMPLERATE builder.
Definition bulkStructs.h:33
void setRecordLength(uint8_t value)
Set the recordLength in Tsr1Bits to the given value.
Definition bulkStructs.cpp:115
void setUsedChannels(uint8_t value)
Set the usedChannels in Tsr2Bits to the given value.
Definition bulkStructs.cpp:147
uint8_t getTriggerSource()
Get the triggerSource value in Tsr1Bits.
Definition bulkStructs.cpp:101
uint32_t getTriggerPosition()
Get the TriggerPosition value.
Definition bulkStructs.cpp:186
void setFastRate(bool fastRate)
Set the fastRate in Tsr2Bits to the given state.
Definition bulkStructs.cpp:157
void setDownsampler(uint16_t downsampler)
Set the Downsampler to the given value.
Definition bulkStructs.cpp:179
uint8_t getTriggerSlope()
Get the triggerSlope value in Tsr2Bits.
Definition bulkStructs.cpp:163
bool getDownsamplingMode()
Get the downsamplerMode value in Tsr1Bits.
Definition bulkStructs.cpp:131
void setTriggerPosition(uint32_t position)
Set the TriggerPosition to the given value.
Definition bulkStructs.cpp:192
BulkSetTriggerAndSamplerate()
Sets the data array to the default values.
Definition bulkStructs.cpp:69
void setDownsamplingMode(bool downsampling)
Set the downsamplerMode in Tsr1Bits to the given value.
Definition bulkStructs.cpp:137
uint8_t getUsedChannels()
Get the usedChannels value in Tsr2Bits.
Definition bulkStructs.cpp:143
uint8_t getSamplerateId()
Get the samplerateId value in Tsr1Bits.
Definition bulkStructs.cpp:121
void setSamplerateId(uint8_t value)
Set the samplerateId in Tsr1Bits to the given value.
Definition bulkStructs.cpp:125
void setTriggerSource(uint8_t value)
Set the triggerSource in Tsr1Bits to the given value.
Definition bulkStructs.cpp:105
void setTriggerSlope(uint8_t slope)
Set the triggerSlope in Tsr2Bits to the given value.
Definition bulkStructs.cpp:167
bool getFastRate()
Get the fastRate state in Tsr2Bits.
Definition bulkStructs.cpp:153
uint16_t getDownsampler()
Get the Downsampler value.
Definition bulkStructs.cpp:173
uint8_t getRecordLength()
Get the recordLength value in Tsr1Bits.
Definition bulkStructs.cpp:111
The BULK_TRIGGERENABLED builder.
Definition bulkStructs.h:76
BulkTriggerEnabled()
Sets the data array to needed values.
Definition bulkStructs.cpp:214