It certainly is possible, but will be very hardware dependent (what
is the light connected to). May be best to ask this on the midrange-l
list, even though you may want an rpg solution, this gets into hardware
devices. I've done rpg talking to timeclocks and even opening door locks
(access control). If you can find an "ascii" device to control the light,
or something talking with ip sockets pgm, you can do it with rpg.
jim franz
----- Original Message ----- From: "Kim Spears" <kspears@xxxxxxxxxx>
To: <rpg400-l@xxxxxxxxxxxx>
Sent: Thursday, March 08, 2007 12:11 PM
Subject: The light comes on...


I first wish to thank everyone that helped me with "I need faster SQL".
The issue is still not resolved, but I feel that I cannot go further
without getting my SQL Performance Monitor working.  I am working with
IBM to straighten that out.

I have a new issue.  I am building an application that evaluates a
number of conditions and if at the end there is a condition of
sufficient severity an engineering manager must deal with the situation.
Currently the technician that is running the tests turns on a flashing
light if the condition is serious and a manager must deal with the
situation and then travel some distance to turn off the light.  I would
like to automate the light process.  How can I turn a light on and off
from the iSeries based on a condition?

What hardware would I need?  Simple is best.

I may need to determine if the light is already on or off before I act.
Depends on if I can simply send an explicit on or off to the device.

Thanks in advance,

Kim Spears

-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Michael Ryan
Sent: Thursday, March 08, 2007 10:54 AM
To: RPG programming on the AS400 / iSeries
Subject: Re: Ok here is a challenge

Or...just say "That's not possible"...and make him prove it.

On 3/8/07, Rory Hewitt <roryhewitt@xxxxxxxxx> wrote:
Doug,

Probably a separate question is why the guy's doing this? Is he a
jerk? Is he looking for glory? is he trying to show he's 'better' than

you (or anyone else)?

Frankly, if someone I worked with tried the "I bet you can't figure
out how I can do this!" line, I'd ignore him. Or hit him.

Rory


On 3/8/07, Doug Palme <dpalme@xxxxxxxxxxx> wrote:
>
> Ok ok :) I think what he was wanting the others to do was to take
> the time to find a solution, I know he plans on presenting his
> suggestions at the next staff meeting next month.
>
>
> -----Original Message-----
> From: rpg400-l-bounces@xxxxxxxxxxxx
> [mailto:rpg400-l-bounces@xxxxxxxxxxxx]
> On Behalf Of M.Effenberg@xxxxxxxxxxxx
> Sent: Thursday, March 08, 2007 1:38 AM
> To: RPG programming on the AS400 / iSeries
> Subject: Re: Ok here is a challenge
>
> btw: I know a way to make gold from marshmallows
>
>
> ...now I want you guys to find out how.
> Please give me the complete process description with a pre filled
> patent application until saturday.
> --
> This is the RPG programming on the AS400 / iSeries (RPG400-L)
> mailing list To post a message email: RPG400-L@xxxxxxxxxxxx To
> subscribe, unsubscribe, or change list options,
> visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
> or email: RPG400-L-request@xxxxxxxxxxxx Before posting, please take
> a moment to review the archives at
> http://archive.midrange.com/rpg400-l.
>
>
>
>
>
>
>
> ********************************************************************
> ******** This transmission may contain information that is
> privileged, Confidential and/or exempt from disclosure under
> applicable law.
> If you are not the intended recipient, you are hereby notified that
> any disclosure, copying, distribution, or use of the information
> contained herein (including any reliance thereon) is STRICTLY
> PROHIBITED. If you received this transmission in error, please
> immediately contact the sender and destroy the material in its
> entirety, whether in electronic or hard copy format. Thank you.
>
> ********************************************************************
> ********
>
> --
> This is the RPG programming on the AS400 / iSeries (RPG400-L)
> mailing list To post a message email: RPG400-L@xxxxxxxxxxxx To
> subscribe, unsubscribe, or change list options,
> visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
> or email: RPG400-L-request@xxxxxxxxxxxx Before posting, please take
> a moment to review the archives at
> http://archive.midrange.com/rpg400-l.
>
>


--

Rory Hewitt

http://www.linkedin.com/in/roryhewitt
--
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing
list To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx Before posting, please take a
moment to review the archives at http://archive.midrange.com/rpg400-l.


--
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing
list To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
http://archive.midrange.com/rpg400-l.


--
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.