× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Hmm, I don't know if that sounds like a candidate for hardwiring to the
'400.  You say it has an interface box -- I suppose it depends on the
type.  In the past, I have written bisync, async, and IP interfaces that
all work successfully on an AS/400, and I'm sure there are other types I
haven't seen.  I find that the sockets interfaces are easier and handier
than async and bisync.

At 04:53 PM 9/18/02, Mark A. Manske wrote:
the "switch" will be a PCI card in the windows box hooked up-to the
interface
box that the scanner is connected to, along with a read eye, and a rely to
turn off the power to the conveyor system to stop it in case of a mis-scan -

OK - talk to the switch directly - OK, being just dangerous on PC hardware,
is this possible (will this get into the IP address and the DMA/IRQ/and
other
acronyms that I don't even know any longer)  the pci card sends a signal to
the relay too if no barcode scanned in 3 seconds -

Just hoping I understand and you understand where I am trying to get to...

thanks, you are getting me to think even harder.

Mark

-----Original Message-----
From: rpg400-l-admin@midrange.com [mailto:rpg400-l-admin@midrange.com]On
Behalf Of Rich Duzenbury
Sent: Wednesday, September 18, 2002 4:41 PM
To: rpg400-l@midrange.com
Subject: Re: api/socket solution to talk to a PC


Sockets are not difficult.  Scott Klement has an online tutorial deal -
http://klement.dstorm.net at
http://klement.dstorm.net/rpg/socktut/index.html

The famous RPG redbook 'who knew' or 'sorcerer's guide' has some code.

Personally, I'd skip talking to a winblows machine, and talk to the switch
directly, if possible.

At 04:24 PM 9/18/02, you wrote:
>I am out on a limb here - and desperate for a quick study -
>
>Here is the scenario -
>
>On V5R1, ile/rpg running, I want it to talk to a PC Visual basic program
>running on the same PC as the 5250 emulation program is -
>will have three copies of rpg running, but only one pc will have the VB
>program on it,
>
>The VB program will be written by a company to control a switch to turn off
>a conveyer
>when my RPG program does not say it was a valid/good scan (bad customer
>number/order# ect.)
>or time out due to reading eye being out of alignment -
>
>my question is this ---
>
>What the heck am I trying to do (api/socket programming or play space
>invaders)
>and if so, where can I learn how to do this by the end of the week???
>
>I love putting my foot in my mouth before I look up how to do something -
>
>Thanks for the advice and help
>
>
>Mark A. Manske
>Fleming CSD - Plymouth Division
>Sr. Project Lead
>Phone      (763) 545-3700 extension 273
>Web Site  http://www.minter-weisman.com
>E-Mail      mailto:mmanske@minter-weisman.com
>
>
>
>
>_______________________________________________
>This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list
>To post a message email: RPG400-L@midrange.com
>To subscribe, unsubscribe, or change list options,
>visit: http://lists.midrange.com/cgi-bin/listinfo/rpg400-l
>or email: RPG400-L-request@midrange.com
>Before posting, please take a moment to review the archives
>at http://archive.midrange.com/rpg400-l.

Regards,
Rich

_______________________________________________
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list
To post a message email: RPG400-L@midrange.com
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/cgi-bin/listinfo/rpg400-l
or email: RPG400-L-request@midrange.com
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@midrange.com
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/cgi-bin/listinfo/rpg400-l
or email: RPG400-L-request@midrange.com
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.
Regards,
Rich



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.