background image

Page 2

DetectIRQ

This function suspends the thread that it was called from and waits for an IRQ to occur on the IRQ

number that was passed to 

InitIRQ. DetectIRQ 

will return immediately, however, if an IRQ occured

anytime before the 

DetectIRQ 

call, as long as an IRQ number was initialized with 

InitIRQ.

Otherwise, 

DetectIRQ 

will not return until an IRQ occurs. If the program 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 IRQ number, FALSE if

no IRQ was initialized before the call. There are no parameters.

SendEOI

This function sends an end of interrupt message to the VxD. It must be called after an IRQ is

detected of the interrupt will remain in the system. The return result is TRUE if the EOI message

was successfully sent, FALSE if not. There are no parameters.

Addendum: 00650-144-1A

Содержание PCI-WDT 500

Страница 1: ...Model PCI WDT 500 501 Product Manual MANUAL NUMBER 00650 144 1B...

Страница 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: ...emperature Measurement 7 Change of State 7 Fan Speed 7 Buzzer 7 Opto Isolated Outputs 7 Status Register 8 Utility Software 8 Chapter 3 Option Selection 11 Relay Enable Disable 11 Screw Terminals 11 LE...

Страница 9: ...gramming 28 Reading and Loading The Counters 29 List of Figures Figure 1 Block Diagram 9 Figure 2 WDG50x Option Selection Map 12 List of Tables Table 1 Buzzer operation requires configuring Counter 2...

Страница 10: ...installation process will create several directories on your hard disk If you accept the instal lation defaults the following structure will exist From the diskette titled PCI WDGCSM PCIWDGCSM Root o...

Страница 11: ...uilder 1 0 See Section 5 of this manual for more information Four functions are provided unsigned int InPortB unsigned int BaseAddress unsigned int InPort unsigned int BaseAddress void OutPortB unsign...

Страница 12: ...t You may need to remove a backplate first 5 Inspect for proper fit of the card and tighten screws Make sure that the card mounting bracket is properly screwed into place and that there is a positive...

Страница 13: ...Connections Connections are made via a 25 pin connector on the card mounting bracket Also there is a six terminal terminal block Signal assignments are listed in Section 6 of this manual To ensure tha...

Страница 14: ...the watchdog will continuously reset the computer The more frequently the watchdog is prompted and shorter watchdog time selected the less time a faulty computer has to cause dam age The method used...

Страница 15: ...ave shareable ability The system assigns the IRQ level when the card is installed There are several outputs from the watchdog circuit as listed below See Section 6 for pinout a Double pole double thro...

Страница 16: ...18 ISOIN0 Pins 19 and 20 ISOIN1 are opto isolated and reported in the Status Register The change of state also generates an IRQ interrupt request Fan Speed This function is usable only in computers wh...

Страница 17: ...upply undervoltage Active low BD7 IRQ generated Active low Utility Software Utility software is provided on the diskette with the PCI WDT50x card This software includes a SETUP EXE an illustrated setu...

Страница 18: ...Manual Number 00650 144 1 Page 9 1 R W H 6 K D G H G D U H D V D U H I H D W X U H V R I W K H 3 7 LJXUH ORFN LDJUDP 8 V H U P D V X S S O D Q G L Q V W D O O D W W K L V S R L Q W...

Страница 19: ...Manual Number 00650 144 1 Page 10 PCI WDT 500 501 Manual This page intentionally left blank...

Страница 20: ...d if a jumper is placed between the two right hand posts the relay is energized during reset watchdog timeout If you desire to use the relay output then the jumper should be placed between the right h...

Страница 21: ...erminals A connector for an external or onboard LED is provided at two solder pads labeled J2 The output is limited by a 470 ohm resistor in series with a 5V output This output is only active if the b...

Страница 22: ...that has been assigned run the pro vided PCIFind EXE utility program Alternatively some operating systems Windows95 and WindowsNT 5 0 can be queried to deter mine which resources were assigned In the...

Страница 23: ...Manual Number 00650 144 1 Page 14 PCI WDT 500 501 Manual This page intentionally left blank...

Страница 24: ...A e s a B 2 r e t n u o C d a e R 2 r e t n u o C o t e t i r W 3 s s e r d d A e s a B r e t s i g e R l o r t n o C d a e R r e t s i g e R l o r t n o C o t e t i r W 4 s s e r d d A e s a B r e t...

Страница 25: ...Active low BD1 Temperature good Active high BD2 Isolated Input 0 status Same as input BD3 Isolated Input 1 status Same as input BD4 Fan good Active high BD5 Power Supply overvoltage Active low BD6 Po...

Страница 26: ...m the counters In summary Disable Watchdog Read BASE 7 Program CTR0 for Mode 3 See Appendix A Program CTR1 for Mode 2 See Appendix A Load CTR0 1 with reset delay See Appendix A Enable Watchdog Write B...

Страница 27: ...tine would prompt the watchdog under normal conditions and the ISR running in the background would only prompt the watchdog if the foreground routine failed to do so The ISR noting that the foreground...

Страница 28: ...REQUIRED modes CtrMode 1 2 CtrMode 2 1 LoadCtr 0 1 1 is full load value long reset and high granular LoadCtr 1 10 END End set_counter VAR read_back BYTE loop WORD ch CHAR BEGIN clrscr writeln Pascal...

Страница 29: ...oject similar to the sample provided or else modify your existing project file and include the GBL file File Add File Once this has been done VisualBASIC will be enhanced with the addition of the foll...

Страница 30: ...signed numbers wherein data are stored in two s complement form All bit patterns must be converted to and from this two s complement form if meaningful display is required Otherwise values returned f...

Страница 31: ...Manual Number 00650 144 1 Page 22 PCI WDT 500 501 Manual This page intentionally left blank...

Страница 32: ...e t a l o s I o t p O 8 d e l b a n E r e t n u o C 9 x a m A 1 d e s u f n U C D V 5 0 1 C D V 5 1 1 C D V 5 2 1 C D V 5 3 1 d e l b a n e G O D W e l i h w e v a W e r a u q S z H K 8 0 2 0 3 1 4 1...

Страница 33: ...o L e v i t c A t u p t u O g o d h c t a W L T T l a n i m r e T d n 2 d n u o r G l a n i m r e T d r 3 h g i H e v i t c A t u p t u O g o d h c t a W L T T l a n i m r e T h t 4 r e w o P e v i r...

Страница 34: ...Q and status register indication at 122 F and above 3 Temp Sensor 8 bit ADC LSB 0 7 F factory adjustable 4 Fan Speed IRQ and status register indication whenever tachometer output drops below 50pps cus...

Страница 35: ...Manual Number 00650 144 1 Page 26 PCI WDT 500 501 Manual This page intentionally left blank...

Страница 36: ...dcall 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 m...

Страница 37: ...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...

Страница 38: ...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...

Страница 39: ...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...

Страница 40: ...s high until a new count is loaded into the counter A trigger enables the counter to start decrementing This mode is commonly used for event counting with counter 0 Mode 1 Retriggerable One Shot The o...

Страница 41: ...ments by two for the total loaded count then reloads and decre ments by two for the second part of the waveform Mode 4 Software Triggered Strobe This mode sets the output high and when the count is lo...

Страница 42: ...R 0 W R 2 M 1 M 0 M D C B SC0 and SC1 These bits select the counter that the control byte is destined for 1 C S 0 C S n o i t c n u F 0 0 0 r e t n u o C m a r g o r P 0 1 1 r e t n u o C m a r g o r...

Страница 43: ...W R 2 M 1 M 0 M D C B OUT Current state of counter output pin NC Null count This indicates when the last count loaded into the counter register has actually been loaded into the counter itself The ex...

Страница 44: ...ESD Immunity EN61000 4 3 1995RadiatedRFFieldImmunity EN61000 4 4 1995EFTImmunityforACandI OLines EN 60950 1992 Safety of InformationTechnology Equipment Thetechnicaldocumentationrequiredtodemonstratet...

Отзывы: