visual scopeadc0809的采样频率率是多少

串口示波器VisualScope - 下载频道
- CSDN.NET
&&&&串口示波器VisualScope
串口示波器VisualScope
串口调试示波器+高速数据采集
  本程序在相应硬件(如USB转TTL,高速RS232等)支持下能够进行串口高速数据采集,并使数据在PC机上实时图形显示。
  正常操作时,点击RUN按钮,打开串口接收功能,软件将从串口接收到的数据实时图形化显示。
  下位机只要按照如下格式通过串口向上发送数据,上位机即可将接收到的数据显示成为波形。
the communication adapt 2 communication protocol,one is check sum,the other is CRC16.
if check sum is used,when RUN button is pressed,9 bytes is sent from COM?,
//-------------------------------------------------------------------------------------------
the data format is like this
Ch1_Addr_L,Ch1_Addr_H,
Ch2_Addr_L,Ch2_Addr_H,
Ch3_Addr_L,Ch3_Addr_H,
Ch4_Addr_L,Ch4_Addr_H,
//-------------------------------------------------------------------------------------------
The data from MPU to computer should be like this:
//-------------------------------------------------------------------------------------------
Ch1Data_L,Ch1Data_H,
Ch2Data_L,Ch2Data_H,
Ch3Data_L,Ch3Data_H,
Ch4Data_L,Ch4Data_H,
e.g 0x11 0x22 0x33 0x44 0x55 0x66 0x77 0x88 0x64, 64 is the sum
//-------------------------------------------------------------------------------------------
if CRC16 verification is used ,when RUN button is pressed,10 bytes is sent from COM?,
//-------------------------------------------------------------------------------------------
The data from computer to MPU is like this:
Ch1_Addr_L,Ch1_Addr_H,
Ch2_Addr_L,Ch2_Addr_H,
Ch3_Addr_L,Ch3_Addr_H,
Ch4_Addr_L,Ch4_Addr_H,
CRC16_L,CRC16_H
//-------------------------------------------------------------------------------------------
The data from MPU to computer should be like this:
//-------------------------------------------------------------------------------------------
Ch1_Data_L,Ch1_Data_H,
Ch2_Data_L,Ch2_Data_H,
Ch3_Data_L,Ch3_Data_H,
Ch4_Data_L,Ch4_Data_H,
CRC16_L,CRC16_H
当下位机持续向上位机发送满足要求的数据时,软件则会将收到的数据显示为4条曲线。
若举报审核通过,可奖励20下载分
被举报人:
举报的资源分:
请选择类型
资源无法下载
资源无法使用
标题与实际内容不符
含有危害国家安全内容
含有反动色情等内容
含广告内容
版权问题,侵犯个人或公司的版权
*详细原因:
您可能还需要
开发技术下载排行STM32和上位机VisualScope的用法_stm32吧_百度贴吧
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&签到排名:今日本吧第个签到,本吧因你更精彩,明天继续来努力!
本吧签到人数:0成为超级会员,使用一键签到本月漏签0次!成为超级会员,赠送8张补签卡连续签到:天&&累计签到:天超级会员单次开通12个月以上,赠送连续签到卡3张
关注:5,177贴子:
STM32和上位机VisualScope的用法收藏
STM32怎么和上位机VisualScope相连接啊,求程序,求讲的详细。不要说遵从什么协议,到底应该具体怎么做,谢谢了
登录百度帐号我的游戏推荐游戏
后查看最近玩过的游戏
使用签名档&&
为兴趣而生,贴吧更懂你。或VisualScope.exe使用说明_百度文库
两大类热门资源免费畅读
续费一年阅读会员,立省24元!
评价文档:
9页免费15页免费9页免费60页免费8页免费 10页免费8页免费8页4下载券11页1下载券1页免费
喜欢此文档的还喜欢3页免费3页免费5页免费12页免费18页1下载券
VisualScope.exe使用说明|
把文档贴到Blog、BBS或个人站等:
普通尺寸(450*500pix)
较大尺寸(630*500pix)
你可能喜欢接触智能车来,说道上位机,以前看到有人在论坛里分享了visualscope,这几天用了下,过程中也遇到了一些问题,首先先说怎么用吧,也帮助一些准备使用同学,给他们一些参考,我当时就自己摸索浪费了好长时间。
& && &首先先配置波特率,com口等基本配置。如图:
& && &在菜单栏Setup里面选择第一个选项,或者单击右下方状态栏,
& && &然后你会发现Setup第二个选项是选择协议,有两种,分别是check sum 和crc 。我这里选择check sum。
& && &然后下面要做的就是发送格式。看这里。
& &&&所以你要按着这个协议发送数据。
& &&&通道一地址低字位的低字节 ,通道一地址低字位的高字节 ,
& &&&通道一地址高字位的低字节 ,通道一地址高字位的高字节 ,
& &&&以此类推。。。
& &&&然后&&chkSum.
& &&&下面就是发送数据。
& &&&通道一数据低字节 ,通道一数据高字节 ,
& &&&.....
& &&&chksum。
& &&&有同学会问chksum是什么,其实就是你所有字节相加,最后于0xff与以下得到的字节,至于个通道的地址,在这里设置:
好了,按着这样协议就可以使用visualscope。
& &&&下面就是有些问题想请教使用过的打什么?为什么我发送个常数它的波形是三角波啊,像这样:
& &&&他每次画出我发送的数之后都会回到原点,能不能让它在我发送下个数之前不会到原点,就最简单的,我如何让它画出一个方波的波形啊,请各位使用过的大神们教一下小弟。。。
KB, 下载次数: 1)
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
访问:28652次
积分:1469
积分:1469
排名:第11168名
原创:124篇
评论:21条
(11)(15)(8)(24)(61)(2)(2)(1)(1)Visual Studio 2013
C++ names can be used only in certain regions of a program. This area is called the "scope" of the name. Scope determines the "lifetime" of a name that does not denote an object of static extent. Scope also determines the visibility of a name, when class constructors and destructors are called, and when variables local to the scope are initialized. (For more information, see
and .) There are five kinds of scope:
Local scope
A name declared within a block is accessible only within that block and blocks enclosed by it, and only after the point of declaration. The names of formal arguments to a function in the scope of the outermost block of the function have local scope, as if they had been declared inside the block enclosing the function body. Consider the following code fragment:
Because the declaration of i is in a block enclosed by curly braces, i has local scope and is never accessible because no code accesses it before the closing curly brace.
Function scope
Labels are the only names that have function scope. They can be used anywhere within a function, but are not accessible outside that function.
File scope
Any name declared outside all blocks or classes has file scope. It is accessible anywhere in the translation unit after its declaration. Names with file scope that do not declare static objects are often called global names.
In C++, file scope is also known as namespace scope.
Class scope
Names of class members have class scope. Class member functions can be accessed only by using the member-selection operators (. or –&) or pointer-to-member operators (.* or –&*) on an object or pointer to an
nonstatic class member data is considered local to the object of that class. Consider the following class declaration:
class Point
The class members x and y are considered to be in the scope of class Point.
Prototype scope
Names declared in a function prototype are visible only until the end of the prototype. The following prototype declares three names (strDestination, numberOfElements, and strSource); these names go out of scope at the end of the prototype:
errno_t strcpy_s( char *strDestination, size_t numberOfElements, const char *strSource );
Your feedback about this content is important.Let us know what you think.
Additional feedback?
1500 characters remaining
Thank you!
We appreciate your feedback.
Have a suggestion to improve MSDN Library?
Visit our UserVoice Page to submit and vote on ideas!
Dev centers
Learning resources

我要回帖

更多关于 adc0809的采样频率 的文章

 

随机推荐