Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to use "OUT port, byte" command from quikbasic in visual basic 5

Status
Not open for further replies.

musalk

Programmer
Oct 30, 2001
33
DK
I'm making a light control pult wich is gona use an ISA or LPT port. I can esay write it in Quik Basic, but i want it to be in a win32 app.

My problem is that the code:
OUT [port], [bit (0 - (if LPT 255))]
not is in Virsul Basic 5
Please help me find the code to controle a port in bit or byte to Visual Basic 5!

 
In general, using system ports / assigned resources for discrete I/O is a poor choice. There are numerous vendors who have specialized hardware for "PC" I/O. Many are used in Labratory and automated facillities. While there are many options, most of these come with software for the specific interface and allow read for input values and write for the outputs. Most vendors have numerous options for the mix of 'channels' within an interface, and have beginner/sample systems which are quite inexpensive.

MichaelRed
m.red@att.net

There is never time to do it right but there is always time to do it over
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top