![]() |
![]() |
| PortIO Hardware OCX |
What is PortIO Hardware OLE OCX?
OverviewThe PortIO custom control was designed to facilitate direct hardware interfacing tasks from high level languages running under Windows 3.1 or Win95 operating systems. The PortIO OCX control enables software developers working with Visual Basic 4 (16/32 bit), or other OLE control enabled containers, to directly read from or write to any 65,536 possible I/O port addresses. Simple I/OAdditional PortIO OCX flexibility allows the user to select, through control properties, the type of data transfer: 8, 16 or 32 bit. The software has been carefully designed to include methods for simple input and output commands for quick and easy hardware interfacing. This can be done with just a few lines of code and without extensive development effort. Programmers familiar with the old QBasic statements like OUT and INP will find it comforting to see it implemented here with similar syntax and functionality. Handshake I/OMore sophisticated features include the Wait method with time-out capability. This method triggers the WaitTimeOut event in case an acknowledge signal from the external hardware was not received within a user specified WaitTime property time frame. Detection of specific I/O port bits being set or cleared is possible through the use of special purpose AND and XOR register properties.Input on Acknowledge I/OSimilarly, another set of properties and events is available for periodic monitoring of any I/O port for a specific data bit pattern. If enabled, the CheckPort event is triggered upon detection of a specific data pattern. Data pattern detection is again accomplished through the use of special AND and XOR property registers and the CheckPort event enabling CheckTime property.Data Arrays I/OSome of the most powerful PortIO software capabilities available are array manipulation methods: the OutputArray and InputArray methods. The OutputArray method takes as arguments two arrays: one containing address(es), and the other containing data values. The InputArray method take addresses array argument and returns an array of acquired data values. The fastest way to send or to receive a lot of sequential data to/from a single or multiple I/O ports is to use these two methods.Take your pick -- 16 or 32-bitThe PortIO custom control provides access to your machine I/O ports in two environments: 16-bit Windows 3.1 and 32-bit Windows 95. Two separate PortIO OCX files are provided for this purpose: PortIO16.OCX and PortIO32.OCX. *Note: 32 bit data I/O is available only in PortIO32.OCX control designed to work in Win95 operating system. Search HALLoGRAM || Request More Information CALL TOLL FREE 1-866-340-3404 |
| ©Copyright 1999
HALLoGRAM Publishing, Aurora CO. All Rights Reserved. All products mentioned in this site are trademarks of their respective owners. dmcakegrim |