
Need help with I/O Programming MS-Visual Basic
M.A.X,
I invite you to visit my site: http://www.boondog.com
There is a complete tutorial on this subject. Free downloads and
step-by-step instructions on how this is done. Screen shot GIF files too.
I'd appreciate any feedback.
Sincerely,
Paul Oh
Boondog Automation
Quote:
> Dear reader,
> As former user of MS-Quick Basic 4.5 i was used to program I/O with INP and
> OUT instructions.
> Can somebody tell me how to do this with MS-Visual Basic using enterprise
> version 5.0?
> Quick Basic example.
> Output;
> OUT &H311,1 Adressing (via computerboard in pc-slot and connected
> in- or outputcards bij flatcable)
> OUT &H310,255 8-bit data to output card (eight channels low (0V))
> OUT &H311,0 Close the output card
> Input;
> OUT &H311,10 Adressing
> X=INP(&H310) Read the 8-channel input in X
> OUT &H311,0 Close the input card
> Please send suggestions or solutions to;
> TNX!!!!
---------------------------------------------------------------------------
-
Paul Oh
PhD Candidate
Columbia University
Dept of Mechanical Engineering
Center for Research in Intelligent Systems
http://www.cs.columbia.edu/~paul
----------------------------------------------------------------------------