完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
电子发烧友论坛|
您好,我最近一直在为主机编写程序,该程序通过LAN与示波器通信,并获取MEAN和STD的一些测量结果(包括与带USB / UART转换器的发生器通信)。
我一直想知道有没有办法在C / C ++中编写一个简单的程序(使用简单的shell交互)并将其复制到设备以在本地运行它。 我看到了GUI生成器,但我的问题是:是否有SDK或其他东西我可以用来直接与设备上的“示波器程序”通信? 它可以加快一些事情,最重要的是我不必使用另一台电脑。 关心Grzegorz Grzeda,PL 以上来自于谷歌翻译 以下为原文 Hello, I've been recently writing a program for a host computer, which comunicates with the oscilloscope through LAN and aquires the MEAN and STD of some measurements (which involved communicating with a generator with USB/UART converter). I've been wondering is there a way to write a simple program in C/C++ (with simple shell interaction) and copy it to the device to run it locally. I saw the GUI generator, but my question is: is there a SDK or something I can use to comunicate directly with the "oscilloscope program" on the device? It could speed up things a bit and most of all I wouldn't have to use another computer. Regards Grzegorz Grzeda, PL |
|
相关推荐
2个回答
|
|
|
您需要做的就是通过IO库与它通信,无论是在机器上还是在远程机器上。
机器本身应该是localhost或127.0.0.0 LAN连接。 如果没有,请添加它,并使用* IDN标识,而不是网页。 然后是所有SCPI ......并确保它是最新的:www.keysight.com/find/infiniium-sw免责声明:为了获得更可靠的响应,您应该考虑致电当地的安捷伦技术呼叫中心。 安捷伦论坛在“可用”的基础上进行监控,并不一定是解决技术问题的最快方式。 以上来自于谷歌翻译 以下为原文 All you need to do is talk to it through IO libraries, either ON the machine or form a remote machine. There SHOULD be localhost or 127.0.0.0 LAN connection, on the machine itself. if not, add it, and use *IDN identification, not webpage. then it's all SCPI... and make sure it's up to date: www.keysight.com/find/infiniium-sw Disclaimer: For more reliable response, you should consider calling your local Agilent Technical Call Center. The Agilent Forums are monitored on an "as available" basis, and aren't necessarily the fastest way to get technical questions answered. |
|
|
|
|
ncmza 发表于 2018-11-2 10:15 无论您是在本地(在示波器上)还是远程(从另一台PC)进行操作,控制范围都是相同的。 唯一的区别是传输和使用的地址。 您应该查看范围的编程手册,也可能查看Command Expert,它具有简单的脚本语言,但可以导出到其他语言。 人 以上来自于谷歌翻译 以下为原文 Controlling the scope is the same, whether you are doing it locally (on the scope), or remotely (from another PC). The only difference is the transport and the address that gets used. You should look at the programming manual for your scope, and probably also Command Expert, which has a simple scripting language, but can export to other languages. Al |
|
|
|
|
只有小组成员才能发言,加入小组>>
278 浏览 0 评论
1870 浏览 0 评论
2756 浏览 1 评论
2658 浏览 1 评论
2477 浏览 5 评论
1870浏览 0评论
434浏览 0评论
278浏览 0评论
/9
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-12-13 22:39 , Processed in 0.756007 second(s), Total 74, Slave 57 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191

淘帖
1836