使用脚本来驱动软件操作 [英] Using Script to Drive Software Operation

查看:56
本文介绍了使用脚本来驱动软件操作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是一个模糊的问题,但我刚开始这个,并且

想知道是否有人知道从哪里开始。


我有一个控制一些外部设备的程序。它以各种风格发送消息,以便设备打开和关闭信号,以及

改变电压等等。


附加到这个外部设备,是另一件设备,它可以响应信号和电压的这些变化。


我需要做的是自动化我的程序打开和关闭这些信号的方式,并改变外部设备的电压。我还要

需要这样做,它可以配置而无需更改

源代码。


我的第一个想法是针对我解​​释和使用的某种脚本

来确定我的程序必须采取的操作。该脚本需要足够灵活,以允许我指定控制哪些信号,实时

时间,设置的电压以及它们应该在什么时间段内

改变。它还需要允许我在给定的时间范围内监控外部设备的状态,以确定操作是否成功




这就是我所拥有的。这种类型的应用程序对于任何人都很熟悉吗?有没有人对如何解决这个问题有任何建议?

一些脚本的例子可以使这种类型的操作成为可能吗?


正如我所说,现阶段有点模糊,这可能不是最好的问题,所以如果有人知道的话哪里我会更好地询问

也会有所帮助。否则,欢迎任何指示。


TIA


Charles

This is a bit of a vague question, but I am just starting on this, and
wonder if anyone has ideas of where to start.

I have a program that controls some external equipment. It sends messages in
various flavours to cause the equipment to turn signals on and off, and
change voltages and such like.

Attached to this external equipment, is another piece of equipment that
responds to these changes in signals and voltages.

What I need to do is automate the way in which my program turns these
signals on and off, and changes voltages in the external equipment. I also
need to do it in such a way that it is configurable without changes to
source code.

My first thoughts are towards some kind of script that I interpret and use
to determine what actions my program must take. The script would need to be
flexible enough to allow me to specify what signals are controlled, in real
time, and what voltages are set and over what time period they should
change. It would also need to allow me to monitor status from the external
equipment in a given time frame to determine if actions had been successful
or not.

That is as far as I have got. Is this type of application familiar to
anyone, and does anyone have any suggestions regarding how to go about this?
Some examples of scripts that make this type of operation possible?

As I say, it is a bit vague at this stage, and this is probably not the very
best place to be asking, so if anyone knows where I would be better asking
that would be helpful too. Otherwise, any pointers welcome.

TIA

Charles

推荐答案

..网络很好,但这并不意味着你将它用于一切。咨询您的

设备供应商,他们可能会建议您使用哪些编程语言

将利用他们的设备。


chanmm


" Charles Law" < BL *** @ nowhere.com>在消息中写道

新闻:uB ************** @ TK2MSFTNGP10.phx.gbl ...
..Net is good but that doesn''t mean you use it for everything. Consult your
equipment supplier they maybe able to advice you what programming languages
will take advantages of their equipment.

chanmm

"Charles Law" <bl***@nowhere.com> wrote in message
news:uB**************@TK2MSFTNGP10.phx.gbl...
这是一点点一个模糊的问题,但我刚刚开始这个,并且想知道是否有人知道从哪里开始。

我有一个控制一些外部设备的程序。它以各种方式发送消息
,使设备打开和关闭信号,并改变电压等。

连接到这个外部设备,是另一块
响应信号和电压变化的设备。

我需要做的是自动化我的程序打开和关闭这些信号的方式,并改变电压在外部设备中。我也需要这样做才能在不改变源代码的情况下进行配置。

我的第一个想法是针对我解​​释和使用的某种脚本
确定我的程序必须采取的操作。脚本需要
足够灵活,允许我指定控制的信号,实时
,设置的电压以及它们应该在什么时间段内改变。它还需要允许我在给定的时间范围内监控来自外部设备的状态,以确定行动是否成功是否为


这就是我有。
任何人都熟悉这种类型的应用程序,有没有人对如何进行
这个有任何建议?一些脚本的例子可以使这种类型的操作成为可能吗?

正如我所说,在这个阶段它有点模糊,这可能不是
最好的地方,所以,如果有人知道我会更好地询问
这也会有所帮助。否则,欢迎任何指示。

TIA

Charles
This is a bit of a vague question, but I am just starting on this, and
wonder if anyone has ideas of where to start.

I have a program that controls some external equipment. It sends messages in various flavours to cause the equipment to turn signals on and off, and
change voltages and such like.

Attached to this external equipment, is another piece of equipment that
responds to these changes in signals and voltages.

What I need to do is automate the way in which my program turns these
signals on and off, and changes voltages in the external equipment. I also
need to do it in such a way that it is configurable without changes to
source code.

My first thoughts are towards some kind of script that I interpret and use
to determine what actions my program must take. The script would need to be flexible enough to allow me to specify what signals are controlled, in real time, and what voltages are set and over what time period they should
change. It would also need to allow me to monitor status from the external
equipment in a given time frame to determine if actions had been successful or not.

That is as far as I have got. Is this type of application familiar to
anyone, and does anyone have any suggestions regarding how to go about this? Some examples of scripts that make this type of operation possible?

As I say, it is a bit vague at this stage, and this is probably not the very best place to be asking, so if anyone knows where I would be better asking
that would be helpful too. Otherwise, any pointers welcome.

TIA

Charles



它也是vaugue,你需要有一个更明确的要求。


-


OHM(Terry Burns)

。 。 。单手人。 。


当你不知道自己在做什么时,过得很快


Charles Law < BL *** @ nowhere.com>在消息中写道

新闻:uB ************** @ TK2MSFTNGP10.phx.gbl ...
It is too vaugue, you need to have a more defined requirement.

--

OHM ( Terry Burns )
. . . One-Handed-Man . . .

Time flies when you don''t know what you''re doing

"Charles Law" <bl***@nowhere.com> wrote in message
news:uB**************@TK2MSFTNGP10.phx.gbl...
这是一点点一个模糊的问题,但我刚刚开始这个,并且想知道是否有人知道从哪里开始。

我有一个控制一些外部设备的程序。它以各种方式发送消息
,使设备打开和关闭信号,并改变电压等。

连接到这个外部设备,是另一块
响应信号和电压变化的设备。

我需要做的是自动化我的程序打开和关闭这些信号的方式,并改变电压在外部设备中。我也需要这样做才能在不改变源代码的情况下进行配置。

我的第一个想法是针对我解​​释和使用的某种脚本
确定我的程序必须采取的操作。脚本需要
足够灵活,允许我指定控制的信号,实时
,设置的电压以及它们应该在什么时间段内改变。它还需要允许我在给定的时间范围内监控来自外部设备的状态,以确定行动是否成功是否为


这就是我有。
任何人都熟悉这种类型的应用程序,有没有人对如何进行
这个有任何建议?一些脚本的例子可以使这种类型的操作成为可能吗?

正如我所说,在这个阶段它有点模糊,这可能不是
最好的地方,所以,如果有人知道我会更好地询问
这也会有所帮助。否则,欢迎任何指示。

TIA

Charles
This is a bit of a vague question, but I am just starting on this, and
wonder if anyone has ideas of where to start.

I have a program that controls some external equipment. It sends messages in various flavours to cause the equipment to turn signals on and off, and
change voltages and such like.

Attached to this external equipment, is another piece of equipment that
responds to these changes in signals and voltages.

What I need to do is automate the way in which my program turns these
signals on and off, and changes voltages in the external equipment. I also
need to do it in such a way that it is configurable without changes to
source code.

My first thoughts are towards some kind of script that I interpret and use
to determine what actions my program must take. The script would need to be flexible enough to allow me to specify what signals are controlled, in real time, and what voltages are set and over what time period they should
change. It would also need to allow me to monitor status from the external
equipment in a given time frame to determine if actions had been successful or not.

That is as far as I have got. Is this type of application familiar to
anyone, and does anyone have any suggestions regarding how to go about this? Some examples of scripts that make this type of operation possible?

As I say, it is a bit vague at this stage, and this is probably not the very best place to be asking, so if anyone knows where I would be better asking
that would be helpful too. Otherwise, any pointers welcome.

TIA

Charles






该设备由我正在使用的公司生产,并且是定制的,

所以这个特定工作没有工具。这就是他们想要我做的事情。


Charles

" chanmmn" < CH ***** @ hotmail.com>在消息中写道

news:%2 ****************** @ TK2MSFTNGP12.phx.gbl ...
Hi

The equipment is produced by the company I am working with, and is bespoke,
so there are no tools already for this particular job. That is what they
want me to do.

Charles
"chanmmn" <ch*****@hotmail.com> wrote in message
news:%2******************@TK2MSFTNGP12.phx.gbl...
.Net很好,但这并不意味着你将它用于一切。咨询您的
设备供应商,他们可能会告诉您什么编程
语言将利用他们的设备。

chanmm

Charles Law < BL *** @ nowhere.com>在消息中写道
新闻:uB ************** @ TK2MSFTNGP10.phx.gbl ...
.Net is good but that doesn''t mean you use it for everything. Consult your
equipment supplier they maybe able to advice you what programming languages will take advantages of their equipment.

chanmm

"Charles Law" <bl***@nowhere.com> wrote in message
news:uB**************@TK2MSFTNGP10.phx.gbl...
这是一个模糊的问题,但我刚刚开始这个,并且想知道是否有人知道从哪里开始。

我有一个控制一些外部设备的程序。它在
This is a bit of a vague question, but I am just starting on this, and
wonder if anyone has ideas of where to start.

I have a program that controls some external equipment. It sends messages
各种风格中发送
消息
in
,以使设备打开和关闭信号,并改变电压等等。 />
连接到这个外部设备,是另一个设备,它可以响应信号和电压的这些变化。

我需要做的是自动化我的程序打开和关闭这些信号,并改变外部设备的电压。我
various flavours to cause the equipment to turn signals on and off, and
change voltages and such like.

Attached to this external equipment, is another piece of equipment that
responds to these changes in signals and voltages.

What I need to do is automate the way in which my program turns these
signals on and off, and changes voltages in the external equipment. I



也需要这样做才能配置它而无需更改源代码。

我的第一个想法是针对我解​​释的某种脚本,
用于确定我的程序必须采取的操作。该脚本需要


also need to do it in such a way that it is configurable without changes to
source code.

My first thoughts are towards some kind of script that I interpret and use to determine what actions my program must take. The script would need to


足够灵活,允许我指定控制哪些信号,在
flexible enough to allow me to specify what signals are controlled, in


real


real

时间,设定的电压以及应该在什么时间段内改变。它还需要允许我在给定的时间范围内监视来自
外部设备的状态,以确定是否已成功
time, and what voltages are set and over what time period they should
change. It would also need to allow me to monitor status from the external equipment in a given time frame to determine if actions had been


成功

。 br />
这就是我所拥有的。这种类型的应用是否对任何人都熟悉,有没有人对如何进行有任何建议
or not.

That is as far as I have got. Is this type of application familiar to
anyone, and does anyone have any suggestions regarding how to go about


这个?

制作此类型的脚本的一些示例操作可能吗?

正如我所说,现阶段有点模糊,这可能不是
Some examples of scripts that make this type of operation possible?

As I say, it is a bit vague at this stage, and this is probably not the


非常

最佳位置要问,所以如果有人知道我会更好,
要求这也会有所帮助。否则,欢迎任何指示。

TIA

Charles
best place to be asking, so if anyone knows where I would be better asking that would be helpful too. Otherwise, any pointers welcome.

TIA

Charles




这篇关于使用脚本来驱动软件操作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆