如何使用 Labview 关闭输出发生器 Agilent
我有一个 VI 可以控制安捷伦输出发生器的电压和频率,我想知道如何激活/停用输出,因为我不想手动执行此操作。我想这样做,以便当VI完成运行时,生成器被关闭或者至少输出被禁用。
有什么帮助或建议吗?提前致谢
I have a VI that controls the voltage and frequency of the output's generator Agilent, and I would like to know how to activate / deactivate the output, since I don't want to have to do this manually. I want to do this so that when the VI finishes running, the generator is turned off or at least the output is disabled.
Any help or suggestions? Thanks in advance
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
大多数安捷伦设备都实现 SCPI 命令集 (安捷伦 SCPI 学习页面)。您需要的具体命令取决于您的仪器。
在不了解仪器的情况下,很难确切地说出您要做什么,但一般来说,您会:
查找仪器的文档以了解具体命令。正确的文档通常在标题中包含“程序员手册”或“用户手册”之类的内容。
Most Agilent equipment implements the SCPI command set (Agilent's SCPI learning page). The specific commands you need depend on your instrument.
Without knowing the instrument, it's a little harder to say exactly what you would do, but in general, you would:
Look up the documentation for your instrument to know the specific commands. The correct document will typically have something like "Programmer's Manual" or "User's Manual" in the title.
如果您想提供型号,我可以具体说明。一般来说,一旦设备处于远程状态,您就向其发送输出打开或输出关闭命令。如何执行此操作取决于接口(GPID、RS232、LXI 等)以及您是否使用标准命令,甚至可能下载现成的 VI。 (安捷伦为其仪器提供了大量 VI 集)。
如果您还没有解决,请评论您的型号和您正在使用的接口类型,我会更具体。
If you'd like to include a model number, I can be specific. Generally speaking though once you have the unit in a remote state you send it a output on or output off command. How you do so is dependent on interface (GPID, RS232, LXI, etc) and whether you use standard commands or possibly even download a ready made VI. (Agilent provides a lot of VI sets for their instruments).
If you haven't gotten it resolve already, please comment with your Model number and the type of interface you are using and I'll be more specific.
是的,您需要知道需要什么命令来关闭发生器或禁用输出(您的意思是使其变为 0V?)。如果您知道这一点,则只需将代码置于关闭状态,或者退出应用程序即可。
Yes, you would need to know what commands are required to turn the generator off or disable the output (you mean make it 0V?). If you know that, then just place the code in your shutdown state or however you exit out of your application.
我可以用VI的Labview解决我的问题(查看帮助的Labview)
和我把我的程序放在芬兰语执行该 VI 时。
这样,发电机将继续运行,仅输出被禁用。
这就是我想做的一切。
I can solve my problem with VI's Labview called (view help's Labview)
and I put my program that when finnish execute that VI.
With this, the generator continues on, only the output is disabled.
That's is all that I want to do.