Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / GUI / July 2005

Tip: Looking for answers? Try searching our database.

Timed Event in windows file?  (batch possibly?)

Thread view: 
ratedr1@aol.com - 18 Jul 2005 17:01 GMT
Is it possible to add a timer/timed event in a batch or txt file?

for example.  I have written a program that sends information to a
computerized induction furnace through a rs port.  here is what I have
in the txt file

1,amps,50
1,hon

what the above does is sets the heating element to 50 amps, and then
turns the heating element on (hon).  In this program I can have a timer
to set how long it will run the heat for with an item like this:
1,timer,30  (setting the timer to 30 seconds).  however...what I am
REALLY trying to accomplish, is to have it do something like the
following, but the program cannot

1,amps,50
1,hon
1,timer,30
1,hoff
1,amps,300
1,hon
1,timer,30

The above would set the amps to 50 and30 seconds, then turn off and
immediately set the amps to 300 and 30 seconds.  the prog cannot do
that...so is there a way to have the actual text or batch file, use the
computers timer to send programs at a timed point?  like the computer
would send the first part of the program, then after 30 seconds, it
would send the second part of it.  that would accomplish what I want,
but I cannot.  I can do it manually, but that is not what I want to
do...less thinking for my employees is what I need

thanks in advance
scott
Andrew Thompson - 18 Jul 2005 17:08 GMT
> Is it possible to add a timer/timed event in a batch or txt file?

Possibly, but why would you ask on a Java GUI group?

Instead, you might try an appropriate group..
<http://groups-beta.google.com/group/comp.windows.misc>

Signature

Andrew Thompson
physci.org 1point1c.org javasaver.com lensescapes.com athompson.info
See You On Some Other Channel



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.