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 12 1617
..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******** ******@TK2MSFTN GP10.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
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
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******** ******@TK2MSFTN GP10.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
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
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*****@hotmai l.com> wrote in message
news:%2******** **********@TK2M SFTNGP12.phx.gb l... .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******** ******@TK2MSFTN GP10.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 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
Hi Terry
It is more the general technique I am after, rather than specifics.
I don't think I can easily be less vague, although I can provide further
details and answer specific questions if it helps.
The requirement, if you like, is to automate control of the external
equipment in a runtime configurable way. I already have a set of classes
that can be used to control the equipment. Now, I am looking for an elegant
way to automate that control from [perhaps] a script file, probably using
xml.
The sticky part is translating something I de-serialize from the file into a
series of 'instructions' that my classes can understand as commands for the
external equipment, including timing and scheduling.
I just occurs to me that perhaps what I am after is a pattern. A suitable
pattern for this scenario might set me on the right road.
Charles
"One Handed Man ( OHM - Terry Burns )" <news.microsoft .com> wrote in message
news:eI******** ********@TK2MSF TNGP10.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******** ******@TK2MSFTN GP10.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 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
Well, the Command pattern could work for something like this.
I would question if .NET is the environment that you want, however. You
are speaking of real-time control. I am not sure that .NET is a good
choice for a RTOS (Real-Time Operating System).
HTH
David
"Charles Law" <bl***@nowhere. com> wrote in message
news:et******** ******@TK2MSFTN GP09.phx.gbl: Hi Terry
It is more the general technique I am after, rather than specifics.
I don't think I can easily be less vague, although I can provide further details and answer specific questions if it helps.
The requirement, if you like, is to automate control of the external equipment in a runtime configurable way. I already have a set of classes that can be used to control the equipment. Now, I am looking for an elegant way to automate that control from [perhaps] a script file, probably using xml.
The sticky part is translating something I de-serialize from the file into a series of 'instructions' that my classes can understand as commands for the external equipment, including timing and scheduling.
I just occurs to me that perhaps what I am after is a pattern. A suitable pattern for this scenario might set me on the right road.
Charles
"One Handed Man ( OHM - Terry Burns )" <news.microsoft .com> wrote in message news:eI******** ********@TK2MSF TNGP10.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******** ******@TK2MSFTN GP10.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 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
Hi David
I will look up the Command pattern. Thanks.
I am not too worried about .NETs real-time credentials at the moment, as the
critical thing about the timing is in fact sequence. Times will be in
numbers of seconds for actions to complete, so I will experiment with
raising the priority of worker threads if I need to. However, I take your
point on board.
Charles
"David Williams , VB.NET MVP" <da************ ********@earthl ink.net> wrote
in message news:uv******** *****@TK2MSFTNG P11.phx.gbl... Well, the Command pattern could work for something like this.
I would question if .NET is the environment that you want, however. You are speaking of real-time control. I am not sure that .NET is a good choice for a RTOS (Real-Time Operating System).
HTH
David
"Charles Law" <bl***@nowhere. com> wrote in message news:et******** ******@TK2MSFTN GP09.phx.gbl: Hi Terry
It is more the general technique I am after, rather than specifics.
I don't think I can easily be less vague, although I can provide further details and answer specific questions if it helps.
The requirement, if you like, is to automate control of the external equipment in a runtime configurable way. I already have a set of classes that can be used to control the equipment. Now, I am looking for an elegant way to automate that control from [perhaps] a script file, probably using xml.
The sticky part is translating something I de-serialize from the file
into a series of 'instructions' that my classes can understand as commands for the external equipment, including timing and scheduling.
I just occurs to me that perhaps what I am after is a pattern. A suitable pattern for this scenario might set me on the right road.
Charles
"One Handed Man ( OHM - Terry Burns )" <news.microsoft .com> wrote in message news:eI******** ********@TK2MSF TNGP10.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******** ******@TK2MSFTN GP10.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 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 > >
I see; providing the control is only in one direction then using XML is an
excellent way to do it. Each node could be a scheduled event which could be
repeating or single instance with the attributes to the node providing the
target and the command verb and parameters. You then write a windows service
which creates the event objects as windows processes. The service keeps
check on the status of the XML file and checks to see if the parameters and
lifetime of the process has been altered, is in service etc and makes
appropriate changes.
However, if there are dependencies between control process event, these need
to be synchronised somehow.
Just my thoughts, hope they may help in some small way.
--
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:et******** ********@TK2MSF TNGP09.phx.gbl. .. Hi Terry
It is more the general technique I am after, rather than specifics.
I don't think I can easily be less vague, although I can provide further details and answer specific questions if it helps.
The requirement, if you like, is to automate control of the external equipment in a runtime configurable way. I already have a set of classes that can be used to control the equipment. Now, I am looking for an
elegant way to automate that control from [perhaps] a script file, probably using xml.
The sticky part is translating something I de-serialize from the file into
a series of 'instructions' that my classes can understand as commands for
the external equipment, including timing and scheduling.
I just occurs to me that perhaps what I am after is a pattern. A suitable pattern for this scenario might set me on the right road.
Charles
"One Handed Man ( OHM - Terry Burns )" <news.microsoft .com> wrote in
message news:eI******** ********@TK2MSF TNGP10.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******** ******@TK2MSFTN GP10.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 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
Yes, indeed helpful. Along with the Command pattern suggestion I think this
could be a good way to go.
Charles
[One instinctively knows when a thing is right]
"One Handed Man ( OHM - Terry Burns )" <news.microsoft .com> wrote in message
news:ew******** ******@TK2MSFTN GP09.phx.gbl... I see; providing the control is only in one direction then using XML is an excellent way to do it. Each node could be a scheduled event which could
be repeating or single instance with the attributes to the node providing the target and the command verb and parameters. You then write a windows
service which creates the event objects as windows processes. The service keeps check on the status of the XML file and checks to see if the parameters
and lifetime of the process has been altered, is in service etc and makes appropriate changes.
However, if there are dependencies between control process event, these
need to be synchronised somehow.
Just my thoughts, hope they may help in some small way.
--
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:et******** ********@TK2MSF TNGP09.phx.gbl. .. Hi Terry
It is more the general technique I am after, rather than specifics.
I don't think I can easily be less vague, although I can provide further details and answer specific questions if it helps.
The requirement, if you like, is to automate control of the external equipment in a runtime configurable way. I already have a set of classes that can be used to control the equipment. Now, I am looking for an elegant way to automate that control from [perhaps] a script file, probably
using xml.
The sticky part is translating something I de-serialize from the file
into a series of 'instructions' that my classes can understand as commands for the external equipment, including timing and scheduling.
I just occurs to me that perhaps what I am after is a pattern. A
suitable pattern for this scenario might set me on the right road.
Charles
"One Handed Man ( OHM - Terry Burns )" <news.microsoft .com> wrote in message news:eI******** ********@TK2MSF TNGP10.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******** ******@TK2MSFTN GP10.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 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,
What methods of communication is available to the equipment ? TCP/IP?
Does the equipment connect through a hub to a lan?
The mfg should provide some info - like "if you send "X" signal - the
equipment wil do 'so-n-so' does the equip have a network card? can you
telnet to it?
This sounds interesting. but mo info
you said the equip does all the voltage changing - depending on the signal
you send to it - and that equipment talks to (controls) other equipment -
Sounds like a distributed control system (DCS) - common to PLCs and some
Instrumentation
Fisher Controls, Allen Bradley, Modicon are a few of the players
"Charles Law" <bl***@nowhere. com> wrote in message
news:uB******** ******@TK2MSFTN GP10.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
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
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system ( http://www.grisoft.com).
Version: 6.0.732 / Virus Database: 486 - Release Date: 7/29/2004 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Charles Law |
last post by:
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.
|
by: moodyman13 |
last post by:
Hi all,
Hoping someone can help me. I'm using WSH to automatically map a network drive when someone opens a webpage. Below are the codes
<HTML>
<Body>
<script language="VBScript" type="text/vbscript">
Option Explicit
On Error Resume Next
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
| |
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |