background image

Chapter X: XXXXX

Page 1

            ADDENDUM

  IRQGEN.VXD  and  Win32IRQ.DLL

IRQGEN.VXD

Description

IRQGEN.VXD is a Virtual Device Driver, or VxD, for Windows95. Together with

Win32IRQ.DLL, it allows a program to easily respond to hardware interrupt requests, or IRQs.

Installation

To install IRQGEN.VXD, copy it to C:\Windows\System. If your hard drive has a letter other than

C, substitute the appropriate letter. It is not necessary to reboot your system prior to using

IRQGEN.VXD.

Win32IRQ.DLL

Description

Win32IRQ.DLL is a Dynamic Link Library, of DLL, for Windows95. It provides a simple interface

to IRQGEN.VXD, allowing a program to easily respond to hardware interrupts. Three functions are

exported by Win32IRQ.DLL: 

InitIRQ,, Detect IRQ, 

and 

SendEOI.

 To use these functions in a

program, they must first be inported. In Pascal, the necessary lines would be:

function InitIRQ (MyIRQ:  Byte) : Boolean; stdcall;external 'Win32IRQ.dll'

index 1;

function DetectIRQ:  Boolean; stdcall; external "Win32IRQ.dll"index 2;

function SendEOI:  Boolean; stdcall; external "Win32IRQ.dll" index 3;

In C, the library file Win32IRQ.lib must first be linked to the program. This is accomplished by

adding it to the project or editing the makefile. The following lines would then create the prototypes

for the DLL functions:

extern "c" _declspec (dllimport) bool pascal InitIRQ (unsigned char MyIRQ);

extern "c" _declspec (dllimport) bool pascal DetectIRQ (void);

extern "c" _declspec (dllimport) bool pascal SendEOI (void) ;

InitIRQ

This function performs the initialization required to detect IRQs. It must be called before

DetectIRQ

and 

SendEOI

 can be called, although calling those functions first will only cause them to

return a value of FALSE. The function's sole parameter is an unsigned 8-bit value containing the

IRQ number to monitor. The return result is TRUE if initialization was compledted successfully,

FALSE if not.

Addendum: 00650-010-6B

© 1998, Industrial Computer Source, 6260 Sequence Drive,  San Diego, CA 92121-2720. All rights reserved.

Содержание RB-24

Страница 1: ...Model RB 24 Product Manual MANUAL NUMBER 00650 130 2B...

Страница 2: ...ual in our online Support Library Thank you The information in this document is provided for reference only ICS Advent does not assume any liability arising from the application or use of the informat...

Страница 3: ...Page iv This page intentionally left blank...

Страница 4: ...ts which are not in an as new and re saleable condition are not eligible for credit return and will be returned to the customer Limited Warranty Effective April 1 1998 all products carry a 2 year limi...

Страница 5: ...made by various manufacturers in performing warranty repairs and building replacement products If ICS Advent repairs or replaces a product its warranty term is not extended ICSAdvent will normally re...

Страница 6: ...Cautions and Warnings are accented with triangular symbols The exclamation symbol is used in all cautions and warnings to help alert you to the important instructions The lightning flash symbol is us...

Страница 7: ...Page viii This page intentionally left blank...

Страница 8: ...Page ix Table of Contents Chapter 1 Installation 1 1 Chapter 2 Functional Description 2 1 Chapter 3 Connector Pin Assignments 3 1 Chapter 4 Specifications 4 1 Current Revision 2B December 2000...

Страница 9: ...Page x This page intentionally left blank...

Страница 10: ...niques be used cable conected to ground at the aperture of the digital I O card that will provide signals twisted pair wiring etc Power Connections Connector J3 is provided for easy application of 5 V...

Страница 11: ...Manual Number 00650 130 2 Page 1 2 RB 24 Manual RB 24 Layout...

Страница 12: ...ith each relay glows when that relay is actuated SPDT Form C relays are standard but DPDT Form C relays are an available option The relays used are UL recognized non latching polarized units designed...

Страница 13: ...as follows 10 OUT H313 H80 Sets the ports to use as outputs 20 OUT H310 1 Activates Port A bit 0 Relay 0 30 OUT H311 16 Activates Port B bit 4 Relay 21 Alternatively any parallel TTL compatible source...

Страница 14: ...computer The mating connectors are a type AMP 1 746285 0 or equivalent 50 pins or type AMP 745242 1 37 pins for insulation displacement flat cables or Cannon DC37 S 37 pins for soldered connections P...

Страница 15: ...ons for the 37 pin connector are as follows 3 1 66 10 17 3 1 66 10 17 1RW 8VHG 1RW 8VHG 1RW 8VHG 1RW 8VHG 5HOD LJLWDO RPPRQ 5HOD 5HOD 5HOD 5HOD 5HOD 5HOD 5HOD 5HOD 5HOD 5HOD 5HOD 5HOD 5HOD 5HOD LJLWDO...

Страница 16: ...ety practice should be followed if AC voltages are to be switched by the relays Actuate Time nominal voltage 6 milliseconds max including bounce Release Time nominal voltage 8 milliseconds max includi...

Страница 17: ...Manual Number 00650 130 2 Page 4 2 RB 24 Manual Environmental Operating Temperature Range 0o to 60o C Storage Temperature Range 50o to 120o C Humidity 45 to 85 RH non condensing...

Страница 18: ...ternal Win32IRQ dll index 1 function DetectIRQ Boolean stdcall external Win32IRQ dll index 2 function SendEOI Boolean stdcall external Win32IRQ dll index 3 In C the library file Win32IRQ lib must firs...

Страница 19: ...ogram needs to continue running while waithing for DetectIRQ a separate thread should be spawned from which to call DetectIRQ The return result is TRUE if an IRQ was successfully detected on the given...

Страница 20: ...N61000 4 3 1995RadiatedRFFieldImmunity EN61000 4 4 1995EFTImmunityforACandI OLines EN 60950 1992 Safety of InformationTechnology Equipment Thetechnicaldocumentationrequiredtodemonstratethisproductmeet...

Отзывы: