RPG communicate with USB device?

110 pts.
Tags:
AS/400
Client Access Express
i5/OS
RPG
RPGLE
USB
Can an RPG program running in a 5250 session on a pc communicate with a USB device on that pc? I've used sockets to communicate with devices on the network, but never with a device without an IP address. thanks, rick metzger

Software/Hardware used:
rpgiv on i5os v5r4, client access express, windows xp
ASKED: July 19, 2010  1:42 PM
UPDATED: July 20, 2010  12:34 PM

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Discuss This Question: 2  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • TomLiotta
    I can imagine a USB device that included programming that acted as a proxy server. The proxy would install/activate when the device was activated on the PC. Communication with the proxy could be via sockets. However, the only reasonable source of information on whether such a function was included with the device and on how to make use of it would be the vendor of the device. I also can imagine that a USB drive might be presented to the Windows network as a shared directory. That could allow a RPG program to communicate through the usual /QNTC file system. Tom
    125,585 pointsBadges:
    report
  • RickMe
    Tom, thanks for those ideas. i'll investigate both. fyi, the particular device i'm working with is a National Instruments NI USB-2008 data collection device, which will be attached to a plc on our production floor. the plc sends various data streams to this collection device to signal the occurrence of various events on the machine. thanks again, rick
    110 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following