Hantek — 3.7.2 SOURce<n>:DATA:FREQ:SPS

Command system EN SOURce :DATA:DAC16:BIN iAllDotNum, iSumDotNum, iNowDotNum, #xy...yz...z Function description Download data points to your storage device. For example, SOURce1:DATA:DAC16:BIN 1024, 128, 512, #3512z...z IAllDotNum =1024 means that the total number of points to be downloaded is 1024. INowDotNum =128 indicates the number of points for this download is 128. ISumDotNum =512 indicates the cumulative number of downloaded points, including the number of points for this download. #3512z...z # indicates the starting position of the binary block. 3 indicates that the next three bytes are the length of the binary data, that is, the total length of the binary data is 512.

z...z followed by 512 is the binary data of the downloaded data point. Argument None Instructions n represents the channel, which can be set to 1 or 2. iAllDotNum, iSumDotNum, iNowDotNum is used to subcontract upload. The maximum length of each instruction transmitted is 128 bytes. Each dot is represented by a 16-bit signed number such as int16. After downloading the data, the instructions of setting amplitude, offset, frequency and phase can be used to change the corresponding parameters of the waveform. Return format None Example None 3.7.2 SOURce :DATA:FREQ:SPS Command format SOURce :DATA:FREQ:SPS sps Function description Set the sampling rate of the machine.

Argument None Instructions HDG300C Programming manual Copyright © Qingdao Hantek Electronics Co., LTD 24