示波器时基计算,采样率,采样点数,降采样点数,块与块采集间隔

1、关于示波器时间计算的分析

  • 125MS /s采样率,理论1S采集125M个点
  • 125/50 = 2.5MS采集工频的波形一个周期20ms,即采集一个工频完整波形返回2.5M个点
  • 降采样系数(假设500),则最大或最小值的缓存数组长度 = [5000]
  • 块模式一次采集2.5M个数返回5000个数,开始下一次块采集
  • 块模式采集样本的数量是由参数(在触发事件之后返回的样本数 = 2.5M)决定的

由此过程设置了示波器采集的样本总数,返回的样本数,以及在工频下最大采样率采集一个周期返回的最大样本个数

 

 2、时基计算

  •         //        This function calculates the sampling rate and maximum number of samples for a
            //given timebase under the specified conditions.The result will depend on the number of
            //channels enabled by the last call to ps5000aSetChannel.
            //This function is provided for use with programming languages that do not support the
            //float data type.The value returned in the timeIntervalNanoseconds argument is
            //restricted to integers.If your programming language supports the float type, then
            //we recommend that you use ps5000aGetTimebase2 instead.
            //To use ps5000aGetTimebase or ps5000aGetTimebase2, first estimate the
            //timebase number that you require using the information in the timebase guide.Next,
            //call one of these functions with the timebase that you have jus
  • 0
    点赞
  • 4
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值