如何使用 Labview 关闭输出发生器 Agilent

发布于 2024-12-10 19:47:35 字数 117 浏览 0 评论 0原文

我有一个 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

青朷 2024-12-17 19:47:35

大多数安捷伦设备都实现 SCPI 命令集 (安捷伦 SCPI 学习页面)。您需要的具体命令取决于您的仪器。

在不了解仪器的情况下,很难确切地说出您要做什么,但一般来说,您会:

  1. 使用 GPIB、USB、RS232 或以太网以物理方式连接到仪器。
  2. 使用 VISA 原语与仪器进行通信。
  3. 发送 OUTP ON 或 OUTP OFF 命令。
  4. (实际上,您也可以使用 VOLT 或 FREQ 等命令来控制电压和频率。)

查找仪器的文档以了解具体命令。正确的文档通常在标题中包含“程序员手册”或“用户手册”之类的内容。

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:

  1. Physically connect to the instrument using GPIB, USB, RS232, or Ethernet.
  2. Communicate to the instrument using the VISA primitives.
  3. Send the OUTP ON or OUTP OFF command.
  4. (You can actually use commands like VOLT or FREQ to control voltage and frequency, as well.)

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.

不乱于心 2024-12-17 19:47:35

如果您想提供型号,我可以具体说明。一般来说,一旦设备处于远程状态,您就向其发送输出打开或输出关闭命令。如何执行此操作取决于接口(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.

梦萦几度 2024-12-17 19:47:35

是的,您需要知道需要什么命令来关闭发生器或禁用输出(您的意思是使其变为 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.

只有一腔孤勇 2024-12-17 19:47:35

我可以用VI的Labview解决我的问题(查看帮助的Labview)

输出启用

和我把我的程序放在芬兰语执行该 VI 时。

这样,发电机将继续运行,仅输出被禁用。

这就是我想做的一切。

I can solve my problem with VI's Labview called (view help's Labview)

OutputEnable

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文