完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
电子发烧友论坛|
嗨!
你能告诉我用什么命令来模拟在N6705B上按下的ARB RUN / STOP按钮吗? 谢谢。 以上来自于谷歌翻译 以下为原文 Hi! Could you show me what commands to issue to simulate a ARB RUN/STOP button pressed on N6705B? Thanks. |
|
相关推荐
1个回答
|
|
|
嗨,ARB使用标准瞬态系统来触发。
这是我在VB 6.0中编写的一个片段:使用仪器'向仪器发送电源重置.WriteString“* RST”.WriteString“* CLS”'查询仪器的IDN字符串.WriteString“* IDN?” IDN = .ReadString'设置arb up .WriteString“TRIG:TRAN:SOUR BUS,(@ 1)”。WRriteString“VOLT:MODE ARB,(@ 1)”。WRriteString“ARB:FUNC:TYPE VOLT”& channel .WriteString“ARB:FUNC:SHAP UDEF”& channel .WriteString“ARB:VOLT:UDEF:LEV”& arbValues& channel .WriteString“ARB:VOLT:UDEF:DWEL”& arbTimes& channel .WriteString“CURR 0.5”& channel .WriteString“OUTP ON”& channel .WriteString“INIT:TRAN(@ 1)”。WRriteString“* TRG”End With让我知道它是如何工作的。 以上来自于谷歌翻译 以下为原文 Hi, The ARB uses the standard transient system to trigger. Here is an snippet that I wrote in VB 6.0: With Instrument ' Send a power reset to the instrument .WriteString "*RST" .WriteString "*CLS" ' Query the instrument for the IDN string .WriteString "*IDN?" IDN = .ReadString ' Set the arb up .WriteString "TRIG:TRAN:SOUR BUS,(@1)" .WriteString "VOLT:MODE ARB, (@1)" .WriteString "ARB:FUNC:TYPE VOLT" & channel .WriteString "ARB:FUNC:SHAP UDEF" & channel .WriteString "ARB:VOLT:UDEF:LEV " & arbValues & channel .WriteString "ARB:VOLT:UDEF:DWEL " & arbTimes & channel .WriteString "CURR 0.5" & channel .WriteString "OUTP ON" & channel .WriteString "INIT:TRAN (@1)" .WriteString "*TRG" End With Let me know how it works. |
|
|
|
|
只有小组成员才能发言,加入小组>>
1844 浏览 0 评论
2739 浏览 1 评论
2640 浏览 1 评论
2449 浏览 5 评论
3458 浏览 3 评论
1844浏览 0评论
417浏览 0评论
/9
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-12-2 03:12 , Processed in 0.946499 second(s), Total 72, Slave 55 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191

淘帖
2651