Home > Software engineering >  How to read the VB6.0 by use ISA interface card data
How to read the VB6.0 by use ISA interface card data

Time:10-21

Background: unit of old equipment modification, used in the industrial control, control card is unit yourself ISA interface card, now the old man walked in the past, leaving only a few ISA card address, call me now to write software,
I using vb6.0 by use at ordinary times, for convenience, the ISA interface seems to belong to an external extension bus, now want to directly using vb to read out the corresponding address of data, or to write an address data,
Such as an address on the ISA card is 03 e1, I need to use vb to the address on the number of (16) read out, o master action, thank you!!!!
One month left, I know can read directly, using VC has a function has learned to VC, but a month with unfamiliar language to write a program or is not likely to... So there's no way to only expect the VB can read it out, once again thanked!
Or can use the API to achieve

CodePudding user response:

With the WinDriver this development kit, it supports using VB, VC language writing, speaking, reading and writing, such as ISA driver,

WinDriver is a generic driver actually, itself as an agent, and your program through access hardware and its interaction, so as to avoid writing drive yourself,

http://wenku.baidu.com/view/3a3d0903b52acfc789ebc9fb.html

CodePudding user response:

reference 1st floor caozhy response:
with the WinDriver this development kit, it supports using VB, VC language writing, speaking, reading and writing, such as ISA driver,

WinDriver is a generic driver actually, itself as an agent, and your program through access hardware and its interaction, so as to avoid writing drive yourself,

http://wenku.baidu.com/view/3a3d0903b52acfc789ebc9fb.html


There are ways to avoid using windriver? Mainly is used, the above link is an overview, is there any point in detail steps?

CodePudding user response:

refer to the second floor shengjiajian response:
Quote: refer to 1st floor caozhy response:

With the WinDriver this development kit, it supports using VB, VC language writing, speaking, reading and writing, such as ISA driver,

WinDriver is a generic driver actually, itself as an agent, and your program through access hardware and its interaction, so as to avoid writing drive yourself,

http://wenku.baidu.com/view/3a3d0903b52acfc789ebc9fb.html


There are ways to avoid using windriver? Mainly is used, the above link is an overview, is there any point in detail steps?


Using WinDriver is not write drivers can learn the most short time fool the easiest way to do, if you for performance reasons, or feel level is too high, use the ready-made prostitute his reputation, drive you directly using DDK to write well,

CodePudding user response:

Well, the ISA raised? Have the address easily? Recommend you a dynamic link library files, it can be very convenient for the direct manipulation of IO:
http://download.csdn.net/detail/veron_04/1709933

CodePudding user response:

WinIO. Sys

CodePudding user response:

I'm in industrial control, preferred with VB, the operation of the ISA bus interface card operating system is under WIN98 operating system, and then use lee teacher wrote about VB6 operation directly address the dynamic library file is ok, is very simple,


The Attribute VB_Name="vbio"
'Copyright (c) 1997-2000 Hai Li, Zeal SoftStudio.
'
E-Mail:[email protected]'http://www.zealsoftstudio.com (English)
'the (Chinese)
http://www.nease.net/~zealsoft/
Option Explicit
Declare Sub Outport Lib "vbio32. DLL" (ByVal portID As an Integer, ByVal nByte As Integer)
Declare Sub OutportW Lib "vbio32. DLL" (ByVal portID As an Integer, ByVal nWord As Integer)
Declare Sub OutportD Lib "vbio32. DLL" (ByVal portID As an Integer, ByVal dwDWord As Long)
Declare the Function Inport Lib "vbio32. DLL" (ByVal portID As Integer) As an Integer
Declare the Function InportW Lib "vbio32. DLL" (ByVal portID As Integer) As an Integer
Declare the Function InportD Lib "vbio32. DLL" (ByVal portID As Integer) As Long
Declare the Function IsWinNT Lib "vbio32. DLL () As a Boolean
Declare the Function GetLPTPortAddress Lib "vbio32. DLL" (ByVal portID As Integer) As an Integer
Declare the Function GetBiosName Lib "vbio32. DLL" (ByVal sName As String) As an Integer
Declare the Function GetBiosCopyright Lib "vbio32. DLL" (ByVal sCopyright As String) As an Integer
Declare the Function GetBiosSerialNumber Lib "vbio32. DLL" (ByVal sSerialNumber As String) As an Integer
Declare the Function GetBiosDate Lib "vbio32. DLL" (ByVal sDate As String) As an Integer


Have the address you can use to download the above, thank lee teacher for us to make outstanding contributions,


  • Related