realbasic-nug
[Top] [All Lists]

Re: Using the LPT Port for robotics

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Using the LPT Port for robotics
From: "German W. Bauer" <germanbauer at earthlink dot net>
Date: Sun, 30 Apr 2006 17:36:55 -0700
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <20060430222625 dot 28F75190FB0 at jareth dot dreamhost dot com>
Or check out Aaron Ballman's instructions at:
http://www.aaronballman.com/programming/REALbasic/InpOut32RB.php

Basically it makes use of a very common DLL which you can easily talk to from RB. He's even got all the necessary wrapped in a nice RB module.

Cheers,
+ G


On Apr 30, 2006, at 3:26 PM, joe at strout dot net wrote:

Jonathon Bevar wrote:

Ok, here's the deal my old Rapid-Q compiler could use the old QuickBasic commands of INP and OUTP to control the LPT or Parallel port with. I need
to know the following:

1> Can RB do that or is there some class or plug in that I need to use with
it?.

I believe that LPT is just a serial port. So the Serial class would speak to that. I don't think RB has direct support for the Parallel port, but if I'm wrong, hopefully somebody with more experience in Windows will correct me.

2> Or, is there a Serial Port version out there I could use without much
fuss or muss?

Version of what? I'm not sure what you're asking here. RB has had serial support built-in since prehistoric times.

3> Or, is there someone that has got a USB solution to this age old question
of the OLD and Tired out LPT and Serial ports?

On the Mac, we (who do robotics-type stuff) frequently need to control serial devices from machines that have only USB ports. Keyspan makes good USB-to-serial converters; I imagine these would work well on a PC too.

HTH,
- Joe

--
Joe Strout -- joe at strout dot net
Available for custom REALbasic programming or instruction.

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>