完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
我花了最后一个半小时搜索文档和这个论坛,我还没有找到任何东西。
我正在使用E8267D矢量信号发生器,并且我有一个相当长的突发波形文件加载到设备中。 文件完全从仪器运行大约需要4秒钟。 我正在使用外部软件使用SCPI telnet接口自动触发此设备。 但我无法在我的软件中保持多个线程同步,我希望有一些我可以在设备上查询的寄存器,它可以指示文件何时运行。 我唯一的选择是在我估计的4秒内进行外部等待吗? 我更倾向于轮询寄存器(甚至使用仪器上的事件)来知道我何时需要在处理中执行下一步。 有没有我能读的状态寄存器会告诉我这个? 谢谢。 以上来自于谷歌翻译 以下为原文 I have spent the last hour and a half searching the documentation and this forum, and I have not found anything. I am using a E8267D vector signal generator, and I have a rather long bursted waveform file loaded into the unit. It takes about 4 seconds for the file to run completely out of the instrument. I am using external software to automate the triggering of this device using the SCPI telnet interface. But I am having trouble keeping multiple threads in my software synchronized, and I was hoping there is some register that I can query on the device that would indicate when the file is done being run. Is my only option to do an external wait for my estimated 4 seconds? I would much rather poll a register (or even use an event off the instrument) to know when I need to do the next step in my processing. Is there any status register that I can read that will tell me this? Thanks. |
|
相关推荐
1个回答
|
|
嗨 - 有两种方法可以进行: - 1)使用* OPC?
当所有待处理操作完成时,它将查询返回标准事件状态寄存器中的ASCII字符1。 2)使用触发类型门。 使用门控触发模式时,该命令选择门的有效状态(门极性)。 当门控信号处于无效状态时,外部触发信号中断回放。 当外部控制信号返回活动状态时,重放开始。 LOW和HIGH选择对应于外部触发信号的低和高状态。 LOW当触发信号变为低电平(激活状态)时,波形播放停止,当触发信号变为高电平时,波形播放重新开始(非激活状态)。 HIGH当触发信号变为高电平(激活状态)时,波形播放停止,当触发信号变为低电平时(非激活状态),波形播放重新开始。 例如,选择HIGH时,激活状态发生在触发信号的高电平期间。 当活动状态发生时,ESG在最后播放的采样点停止波形回放,然后在非活动状态发生时在下一个采样点重新开始播放以下是命令: - [:SOURce]:RADio:CDMA:ARB: TRIGger:TYPE:GATE:ACTive LOW | HIGH [:SOURce]:RADIO:CDMA:ARB:TRIGger:TYPE:GATE:ACTive? 问候 - 以上来自于谷歌翻译 以下为原文 Hi - There are two methods to proceed:- 1) Using the *OPC? where it will query returns the ASCII character 1 in the Standard Event Status Register when all pending operations have finished. 2) Using Trigger type Gate. This command selects the active state (gate polarity) of the gate while using the gating trigger mode. An external trigger signal interrupts the playback while the gating signal is in the inactive state. Playback resumes when the external control signal returns to the active state. The LOW and HIGH selections correspond to the low and high states of an external trigger signal. LOW The waveform playback stops when the trigger signal goes low (active state) and restarts when the trigger signal goes high (inactive state). HIGH The waveform playback stops when the trigger signal goes high (active state) and restarts when the trigger signal goes low (inactive state). For example, when you select HIGH, the active state occurs during the high of the trigger signal. When the active state occurs, the ESG stops the waveform playback at the last played sample point, then restarts the playback at the next sample point when the inactive state occurs Here are the commands:- [:SOURce]:RADio:CDMA:ARB:TRIGger:TYPE:GATE:ACTive LOW|HIGH [:SOURce]:RADio:CDMA:ARB:TRIGger:TYPE:GATE:ACTive? Regards - |
|
|
|
只有小组成员才能发言,加入小组>>
2097 浏览 1 评论
1854 浏览 1 评论
1713 浏览 5 评论
2579 浏览 3 评论
将设备连接到PC并通过asic格式读取数据然后我的网络分析仪挂起
1559 浏览 4 评论
502浏览 1评论
关于Keysight x1149 Boundary Scan Analyzer
363浏览 0评论
1411浏览 0评论
N5230C用“CALC:MARK:BWID?”获取Bwid,Cent,Q,Loss失败,请问大佬们怎么解决呀
272浏览 0评论
2257浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-4-24 19:57 , Processed in 0.903497 second(s), Total 44, Slave 38 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号