完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
是关于如何存储和调用不同任意波形的任何vb.net示例。用户手册对此主题非常简洁,帮助zip文件“Programmer reference ..”不起作用(您可以打开帮助和查看主题,但是
无法看到带有信息的实际页面)我正在编写一个应用程序,需要33522A在用户请求下切换不同的任意波形。我可以通过将arb wf根据需要下载到易失性存储器来完成此操作,但需要一些 每次秒。 将它保存到四(五)个可用寄存器会更酷。用户指南有一个例子提到使用'MMEMory:STOR:DATA1“INT: TESTARB.arb”(但没有实现)我无法' 让这个工作,如何重新存储存储的函数?/ Mikkel 以上来自于谷歌翻译 以下为原文 Are the any vb.net examples of how to store and recall different arbitrary waveforms. The user manual is rather terse on this subject and the help zip file "Programmer reference.." does not work (You can open help and view topics, but are not able to see the actual pages with information) I am writing an application that needs the 33522A to switch between different arbitrary waveforms on user request. I can do this by downloading the arb wf as needed to volatile memory, but it takes a few seconds each time. It would be much cooler to save it to the four (five) available registers. The Users Guide has one example that mentions the use of 'MMEMory:STOR:DATA1 "INT:TESTARB.arb" (no implementation however) I couldn't get this to work and how does one recal the stored function? /Mikkel |
|
相关推荐
3个回答
|
|
一旦波形在易失性存储器中,您可以使用以下命令将其存储到u***棒或内部存储器:MMEM:STOR:DATA“USB: test.arb”或MMEM:STOR:DATA“INT: test。
arb“在这个例子中,我标题为我的波形test.arb要将它从USB /内存移回易失性存储器,请使用此命令MMEM:LOAD:DATA”USB: test.arb“或MMEM:LOAD:DATA”INT: test。 arb“那么如果你想让它成为活动波形发送SOURCE1:FUNCtion:ARBitrary”INT: test.arb“以下查询返回波形存储器中当前选择的arb段.SOURCE1:FUNCtion:ARBitrary?典型响应:”INT : test.arb” 以上来自于谷歌翻译 以下为原文 Once the waveform is in volatile memory, you can store it to either a u*** stick or the internal memory using this command: MMEM:STOR:DATA "USB:test.arb" or MMEM:STOR:DATA "INT:test.arb" In this instance I titled my waveform test.arb To move it from u***/internal memory back into volatile memory use this command MMEM:LOAD:DATA "USB:test.arb" or MMEM:LOAD:DATA "INT:test.arb" Then if you want to make it the active waveform send SOURCE1:FUNCtion:ARBitrary "INT:test.arb" The following query returns the currently selected arb segment in waveform memory. SOURCE1:FUNCtion:ARBitrary? Typical response: "INT:test.arb" |
|
|
|
感谢您的回复lhornburg它非常接近用户手册中给出的示例。经过多次尝试,我发现双引号是必要的soMMEM:STOR:DATA“INT: PulsedWF.arb”转换为:.WriteString(“
MMEM:STOR:DATA“”INT: PulsedWF.arb“”“)LOAD语句也是如此。当我尝试设置活动波形时出现问题:如果arbWaveform = wfArb.ARB_CONTINOUS则.WriteString(”MMEM:LOAD“ :DATA“”INT: ConstWF.arb“”“).WriteString(”SOURCE2:FUNCtion:ARBitrary“”INT: ConstWF.arb“”“)ElseIf arbWaveform = wfArb.ARB_PULSED然后.WriteString(”MMEM:LOAD: DATA“”INT: PulsedWF.arb“”“)。WRriteString(”SOURCE2:FUNCtion:ARBitrary“”INT: PulsedWF.arb“”“)结束If .WriteString(”SOURCE2:FUNCtion:ARBitrary“”INT: PulsedWF.arb“”“)会产生错误。我认为我已尝试过所有变化。 你能建议一个解决方案吗?问候米克尔 以上来自于谷歌翻译 以下为原文 Thank you for your reply lhornburg It's very close to the example given in the user manual. After a number of attempts I found out that double quotes were necessary so MMEM:STOR:DATA "INT:PulsedWF.arb" translates to: .WriteString("MMEM:STOR:DATA ""INT:PulsedWF.arb""") The same goes for the LOAD statement. Problems arise when I try to set the active waveform: If arbWaveform = wfArb.ARB_CONTINOUS Then .WriteString("MMEM:LOAD:DATA ""INT:ConstWF.arb""") .WriteString("SOURCE2:FUNCtion:ARBitrary ""INT:ConstWF.arb""") ElseIf arbWaveform = wfArb.ARB_PULSED Then .WriteString("MMEM:LOAD:DATA ""INT:PulsedWF.arb""") .WriteString("SOURCE2:FUNCtion:ARBitrary ""INT:PulsedWF.arb""") End If The .WriteString("SOURCE2:FUNCtion:ARBitrary ""INT:PulsedWF.arb""") generates an error. I think that I have tried all variations. Can you suggest a solution? Regards Mikkel |
|
|
|
你收到什么错误信息?
每个波形中有多少个点? 以上来自于谷歌翻译 以下为原文 What error message are you receiving? How many points are in each waveform? |
|
|
|
只有小组成员才能发言,加入小组>>
1221 浏览 0 评论
2346 浏览 1 评论
2155 浏览 1 评论
2021 浏览 5 评论
2900 浏览 3 评论
964浏览 1评论
关于Keysight x1149 Boundary Scan Analyzer
700浏览 0评论
N5230C用“CALC:MARK:BWID?”获取Bwid,Cent,Q,Loss失败,请问大佬们怎么解决呀
801浏览 0评论
1223浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-22 14:36 , Processed in 1.383603 second(s), Total 83, Slave 66 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号